Hello,
I would like to ask if anyone has a working example of storing data in an SD Card using a QN9080-DK. The SD card module that I have is an Adafruit MicroSD Breakout Board.
My use case is:
I found the following tutorials but I haven't managed to make them work with the QN9080-DK:
What I have also tried is:
I followed the examples, the wiring is correct but there is no communication (in the case of Arduino (driver_examples/spi/interrupt_b2b_transfer) I don't even get any message).
The only thing that I've managed to implement is a communication via I2C (following driver_examples/i2c/interrupt_transfer with the Arduino MKR Zero but for some reason some data are lost (maybe due to speed as the Arduino has to retrieve data from the QN9080-DK via I2C and store them via SPI on its SD card module every 15ms).
Note: I can't use UART because I am already using them for communicating with other devices.
So, to summarize:
Thank you very much
Hello,
I would recommend you to check the available examples of SPI or I2C communication? do you have some frames examples of how are you sending the data through SPI with an oscilloscope or a logic analyzer that you can share?
How are you configuring the pinout of the QN9080 ?
Regards,
Estephania
Hi,
Sorry I don't have an oscilloscope or a logic analyzer. What I have done is:
SPI
--------------------------------------------------------------------------------------------------------------------
Tested SPI example with an Arduino UNO in driver_examples/spi/interrupt_b2b_transfer/master. The pins are:
QN9080-DK ARDUINO UNO
------------------------- -------------------------
MISO PA05 ----------> MISO D12
MOSI PA04 ----------> MOSI D11
SCK PA30 ----------> SCK D13
SSEL PA03 ----------> SS D10
The Arduino UNO acts as a slave but does not receive anything!
Hello,
It is hard to debug your issue without information , but we can try, are you sure that those two boards are working at the same frequency ?
Regards,
Estephania