This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf8001 reset

BobLouwe.logicdataHi devs,

I'm setting up my own .NET mircro framework stack for the Adafruit nRF8001 Break Out board. When write the Reset port I do get an interrupt on the Ready port, but when I start reading from the SPI I getting all 0xFF. When I send a Test command (0x02, 0x01, 0x02) and put the REQN low (or REQ high) I do get the interrupt on the Ready port, but reading from the SPI gives me all 0x00.

I assume my SPI is not configured correctly, but I've read the documentation and it seems to be correct.

Thanks.

EDIT:

Capture file Reset and initial bytes

EDIT: Bob Louwe clock low.logicdata

Parents
  • I did some research on the SPI clock signal on .NET micro framework. There is a parameter on the SPI configuation that specifies to hold the line low or high between byte exchange. This parameter is not used for the initial state of the clock line. The default will let the initial state to high. What I did was sending a byte (f.e. 0x00) before the reset. I added to capture file. And now I get the DeviceStartedEvent with no prior strange data. Thanks. Problem solved!

Reply
  • I did some research on the SPI clock signal on .NET micro framework. There is a parameter on the SPI configuation that specifies to hold the line low or high between byte exchange. This parameter is not used for the initial state of the clock line. The default will let the initial state to high. What I did was sending a byte (f.e. 0x00) before the reset. I added to capture file. And now I get the DeviceStartedEvent with no prior strange data. Thanks. Problem solved!

Children
No Data
Related