STM32H743 SPI2 waiting affects other RTOS tasks
Hello, this concerns CubeH7 1.1.0.
Simple app with 2 FreeRTOS tasks:
task #1 sends data continously via Ethernet
task #2 calls i.e.
int waiting_time=0x1000;
HAL_SPI_Receive(&hspi2,buf,10,waiting_time);
to receive 10 bytes or whatever.
Thers is no SPI client connected.
The first task is affected by the waiting time and waits as well, no RTOS behaviour anymore !
The delay depends on the waiting time.
This does not happen when using SPI3 (both are identical)
HAL_SPI_Receive(&hspi3,buf,10,waiting_time);
- Joerg -
