2024-05-21 04:43 AM
I spent many hours trying to make the SPI3 works through the use of the HAL but it was doing weird things (not clearing IRQ flag so ISR was continuously called).
Then I found that SPI3 is limited to a size of 1023.
I also found on this forum other people having the same problem with SPI3, so I think some improvement can be done:
- It would be great to have HAL function return an error when called with a too big size.
- On STM32CubeIDE SFRs, SPI3.SPI_CR2 should have a TSIZE[0:10] instead of [0:16]
- In RM0456 Rev 5 page 2924, I think "TSIZE cannot be set to 0xFFFF respective 0x3FFF value when CRC is enabled." is wrong (0x3FFF instead of 0x3FF, respective of what ?). I think something like this would be better "TSIZE cannot be set to 0xFFFF (0x3FF for limited feature) value when CRC is enabled.".
Solved! Go to Solution.
2024-05-28 02:32 AM - edited 2024-05-28 02:32 AM
Hello @nicolas,
Thank you for raising the issues.
I have raised the requests internally to be treated and fixed via the internal tickets:
Thank you for your contribution.
(PS: The ticket number is an internal tracking number and not accessible or usable by customers)
2024-05-28 02:32 AM - edited 2024-05-28 02:32 AM
Hello @nicolas,
Thank you for raising the issues.
I have raised the requests internally to be treated and fixed via the internal tickets:
Thank you for your contribution.
(PS: The ticket number is an internal tracking number and not accessible or usable by customers)