I've been reading a lot of things about BLE and I'm still not sure about what I can do with it. Is it possible to write and read the data of my BLE sensors, on a SD card ? It would simplify my project a lot if I could do that.
I read about the SPI bus already in used to assure the bluetooth connection, and in this case it would be legit to be unable to communicate with a SD card.
Thank you for your answer !
I don't know where I read it, I wasn't even sure if it was the bluetooth who used the SPI port, that's why I wanted to be sure about it.
The Arduino 33 BLE and BLE Sense have a radio peripheral on the nRF52840 MCU (inside the NINA-B3) which is connected internally via AHB and APB buses just like other peripherals on that chip. So, the radio is addressed via memory locations. This is all hidden by the library, so no need to worry about it. You can have a look at the block diagram of that chip in the datasheet.
You can find a link to the datasheet in the Arduino store under TECH SPECS.
On other Arduino's the radio module is separate from the MCU and then connected by external interfaces. The Arduino Nano 33 IoT has UART and SPI connected between the NINA-W10 module and the SAMD21.
I tried to write/read on my SD card with my BLE SENSE but without success. I took an example from the SD library and I removed a lot of the code because it didn't work fully and I wanted to see the problem. So here's the code.
It's just the initialization and even that doesn't work. My serial monitor does print "Initializing SD card..." but doesn't print anything else, as if it didn't go any further.