Using an SD Card on a nRF5340 DK with nfc connect 2.4.2 (Converting the sample fat_fs program)

I am trying to get a sd card reader to work on an nrf5340 DK using the latest sdk 2.4.2.  I have found several posts over the last few day that tells how to create the program using the only existing sample board and copying the nrf52840_blip overlay and creating a nrf5340 overlay however these are all old and the overlays look nothing like the ones that are now being created. Can anyone lead me in the right direction. Any help would be greatly appreciated. 

Parents
  • Hello,

    however these are all old and the overlays look nothing like the ones that are now being created.

    What do you mean by that? I would not agree with you, or you may specify some example.

    I can see the the overlay specified in the fat_fs sample. What is wrong with this?

    Are you talking about pinctrl? 

    If you don't specify pins using the pinctrl, then the default pins are assigned, and you should check in the compiled DTS.

    I would like to refer you to following resources:

    1) DevAcademy (Fundamental Course) Please complete lesson2 and lesson3

    2) Samples: Please consult the overlay files present in the latest NCS and Zephyr repository

    3) Zephyr Pinctrl: Please consult zephyr api as this is used to specify pin connections in ncs.

    BR, Naeem

  • After doing a lot of research since my post yes I am talking about where it has been moved to pinctrl in the tree.  My question is now do I need still need to copy the nrf52840_blip overlay and make no changes to it  to create a nrf5340 overlay and just change the pins in the pin control file? Is there anything else I would need to change?

Reply Children
Related