AnsweredAssumed Answered

F303, nrf24l01 interfacing problems

Question asked by synic on Oct 29, 2014
Latest reply on Oct 31, 2014 by synic
I tried porting someone else's code here: to F3 (his is for the F1 family).

I'm using one of the cheap nrf24l01 breakouts and an stm32f3discovery board.

Here is my code, I tried to make it as minimal as possible to show you what problem I'm seeing:

The problem I'm seeing is in the nrf24_check() function.  After txbuf is written, and nrf_read_buf is called to read it back, txbuf and rxbuf don't match.  Instead of getting 0xA8, 0xA8, 0xA8, 0xA8, 0xA8 back I get 0xA8, 0xA8, 0, 0, 0xA8.

I'm trying to check the work with salaea logic, but I'm not sure what I'm looking for, it looks ok to me:


I'm not sure I'm setting the prescaler/speed correctly.  I'm using the HSI+PLL at 48MHz.