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
  • ok, as far as I can see Clock phase is ok (rising edge.)
    Frequency is supported (2MHz).
    I assume SpiClockIdleState = false means the clock polarity is zero -> ok.
    What data order do you have? this should be Least significant bit first.

    After resetting the nRF8001 you should wait for it to lower the RDYN line (this is valid after about 50ms (62ms according to ps)). Then pull REQN low and start clocking out the device started event.

Reply
  • ok, as far as I can see Clock phase is ok (rising edge.)
    Frequency is supported (2MHz).
    I assume SpiClockIdleState = false means the clock polarity is zero -> ok.
    What data order do you have? this should be Least significant bit first.

    After resetting the nRF8001 you should wait for it to lower the RDYN line (this is valid after about 50ms (62ms according to ps)). Then pull REQN low and start clocking out the device started event.

Children
No Data
Related