2025-02-05 10:22 AM
Hello,
I'm working with the NUCLEO-H7S3L8 microcontroller and trying to transmit data using SPI, but I'm encountering an issue where the TXDR (Transmit Data Register) is not updating.
I have generated the code using STM32CubeIDE Version: 1.17.0 and SDK version STM32Cube_FW_H7RS_V1.1.0, keeping most of the settings default.
I would appreciate any insights or suggestions. Thanks in advance!
2025-02-05 10:40 AM
@aditya_prajapati wrote:
- TXDR register remains unchanged when writing data.
Questions:
- Why is the TXDR register not updating when writing data?
Beware that hardware registers are not just memory - is there any reason to believe that you should be able to read-back what you wrote to it ?
2025-02-05 10:53 PM
Yes, I understand that, but the main issue remains the same. SPI is working even when it is not in debug mode. Do you have any other suggestions as to why it’s not working? I was just trying to debug and understand why SPI is not functioning properly.
2025-02-06 8:35 PM
Apologies for miss typing. It's
"SPI is not working even when it is not in debug mode. Do you have any other suggestions as to why it’s not working?"