Skip to main content
Associate
May 29, 2024
Solved

Núcleo-H755zi spi with NRF24L01

  • May 29, 2024
  • 1 reply
  • 1714 views

I'm trying to use Núcleo H7 spi 1 to send a message via radio with NRF24L01, the code using HAL worked perfectly on an Stm32F103 but when i try adapting it to the Núcleo it just don't work. Can somebody help me up?

IMG-20240529-WA0005.jpg

The SPI clock is 100MHz , the core clock is 400Mhz

IMG-20240529-WA0004.jpg

Best answer by Pavel A.

SPI in STM32H7 family is quite different from F1 so it's not a surprise that code for F1 does not work.

Please review SPI examples in the STM32H7 "cube" package and try some of them with a scope. Then you will have a good idea how to adapt your code to H7.

1 reply

Pavel A.
Pavel A.Best answer
Super User
May 29, 2024

SPI in STM32H7 family is quite different from F1 so it's not a surprise that code for F1 does not work.

Please review SPI examples in the STM32H7 "cube" package and try some of them with a scope. Then you will have a good idea how to adapt your code to H7.

Associate
May 29, 2024

Ok, Thanks