Hello all,I have serious problem with SPI2 on STM32H745 using interrupts.First I try system with polling:uint8_t Send(data)
{
*((uint8_t*)&SPI2->TXDR) = data;
while((SPI2->SR & SPI_SR_RXP) == 0)
{
}
return *((uint8_t*)&SPI2-...
Here are those oscilogramsI make manual CSN, send 3 bytesFirst is RXP polling. All correctNext is Changing interrupt control bit in ISR (IER = 0), 1 was byte sent, system stall repeating SPI interrupt routine multiple times! Totally unexpected.FInal ...
Because the code itself does not matter. (it is blocking ofcourse, waits RTOS signal)I disable interrupt enable control bit in ISR vector, but they still fire up? Is this correct way of MCU to operate (first time see such behaviour in my 15 year expe...
This is errata info about TXP:https://www.st.com/resource/en/errata_sheet/dm00530531-stm32h745747xig-and-stm32h755757xi-device-limitations-stmicroelectronics.pdf2.10.3 TXP interrupt occurring while disabled DescriptionSPI/I2S peripheral is set to its...