OS: Windows 10 64bit
SW: Segger Embedded Studio 5.10 nRF SDK 17.0.2 Softdevice S140
HW: nRF52833 2020.6
Hello,
I had found an example integrating the ble_app_uart example and the fatfs library to read data from an SD card and sent it via BLE notification posted by a member here Jørgen Holmefjord.
This example is made for the nRF52840 and SDK 16.0. I made the necessary changes to get it working on SDK 17.0.2 which is what I'm currently using. I've been able to successfully flash this example onto the nRF52840 and get data sent over from an SD card to a client. However, when trying to implement this example with an nRF52833, I'm having issues initializing the disk. I made all the necessary changes in my project (FLASH/RAM size,etc), and I'm able to compile and flash to the 52833. However, it seems to get stuck indefinitely when disk_initalization(0) is called in the fatfs_init function on line 23 in the main.c:
I'm wondering if it's an issue with my SPI instances in the sdk_config.h, but I'm not sure either way. I understand these are probably things I should be able to figure out on my own, but I've spent a lot of time on this and I'm not getting anywhere so I hope I'm not wasting anyone's time with this. If you can help me then I would really appreciate it, if not I understand and thank you for taking the time to look.
I'll include my current example below if it is of any help. Thank you.ble_app_uart_fatfs_52833.zip