STM32F407VG discovery SPI1 configuration/communication(nrf24l01+pa+lna) CMSIS
- May 3, 2020
- 6 replies
- 2038 views
Trying to setup communication between stm32f407VG discovery and nrf24l01 via SPI. It looks like reading data from registers is going fine, but there is trouble with writing to them because, doesn't matter if i write something to register or if I don't, it always shows same values, different for every register and not 0x00 or 0xFF. I've looked at Arduino library for nrf24l01 and my read/write register functions look same, so it looks like that the problem is with SPI configuration or transmission functions. I've tried to connect this chip to Arduino and it worked fine, so the chip is definitely not broken. Google didn't help much because there is almost no information about configuration of SPI on stm32f4, most info is about stm32f1 series. Any idea what might be wrong there?
