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

stm32f373 nrf24l01+ Cannot set tx addr after flush_tx

Hi, I'm trying to adapt the stm32f4 library from:

link text

to run an nrf24l01+ with an stm32f373. After some initial SPI headaches, a lot is working. In the initialisation code a lot of stuff is being written to, and read back, with expected behaviour.

The odd thing is, I cannot set the tx address (and rx_addr_p0) after a FLUSH_TX has been sent. The flush is in the init code, and I have debugged it to the point where, before that line, I can set a tx address, but cannot afterwards.

Setting the rx_addr_p1 isn't affected and works fine.

Any ideas what I should look for in debugging this?

Thanks, Joe

Related