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 connected a logic analyzer and step-by-step solved my (stupid) mistakes. The biggest issue was that there was no clock signal. This was caused by addressing the wrong SPI module. So the timing issues and the SPI issues are solved, but... After the reset I read the first two bytes 0x00 and 0x82. According the spec the first byte should be ignored and the second byte is the length and hould be smaller than 31. I expect the DeviiceStartedEvent. Any suggestions? Is it possible to add a picture to comments?

Reply
  • I connected a logic analyzer and step-by-step solved my (stupid) mistakes. The biggest issue was that there was no clock signal. This was caused by addressing the wrong SPI module. So the timing issues and the SPI issues are solved, but... After the reset I read the first two bytes 0x00 and 0x82. According the spec the first byte should be ignored and the second byte is the length and hould be smaller than 31. I expect the DeviiceStartedEvent. Any suggestions? Is it possible to add a picture to comments?

Children
No Data
Related