NUCLEO-H563ZI : Create an Free-RTOS project for full duplex SPI communication
Greetings,
STM32CubeIDE newbie user here!
I have the above eval board, and would like to jumper SPI-A (master) to another (different) eval board (slave),
and run full duplex SPI transfers.
I have played with the Example (SPI_FullDuplex_CommIT_Master), and having trouble making it work.
I have so many questions but will start with a few of my most urgent.
1) In the manual for the NUCLEO eval board it says,
SPI_A_SCK (PA5) is CN7 pin 10.
The readme.md under the project says
CN6 pin 10
I assume one of them is a typo?
2) All of the SPI example projects that I have perused, set the SPI_A interface as follows:
hspi1.Init.NSS = SPI_NSS_SOFT;
I assume this means that I have to use a GPIO for the SPI chip select?
Why don't the examples ever use HARD_OUTPUT, is there an issue with using this mode?
3) Have tried many times to create my own projects, and failed, mostly due to me lack of experience with
the CubeIDE.
Can someone suggest the correct procedure (please list all the steps) so that I can create
a new project for this eval board/microcontroller, which will result in the following:
- FreeRTOS (no bare metal)
- SPI-A Full Duplex driver installed
- UART3 driver installed (for printf)
4) Once a project has been instantiated, builds and executes, how can I add new files to the 'Src" directory
such that the IDE actually compiles them?
Thanks!
Ken

