cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I need help in setting up a SPI3 communication with AT45DB161E flash memory using STM32H743II. My application gets stuck when trying to write/read data to the flash and I don't know why. Details and code can be found below. Thank you!

BJurc.1
Associate

More details on the topic:

  • I have a working application that runs with nuttx and is able to successfully configure SPI3 and read/write to the flash memory
  • I have compared the registers between my app(that doesn't work) and the application that runs with nuttx, the only difference is that my app doesn't have SR->SUSP flag ever set - don't know why and how
  • Notable SPI3 registers that I compared between the 2 apps and are the same: CR1, CR2, CFG1, CFG2
  • I am trying to make it work using the LL_SPI library
  • behavior detail is commented in the attached code snippet

Any sugestions are welcome, if this is posted wrong please redirect to proper section.

0 REPLIES 0