Question
STM32H753VIT6 SPI Receive interrupt as a master with FTDI's FT4222HQ-D
- I just want to connect STM32H753VIT6 with FT4222HQ-D using SPI.
- STM32 is a master, and FT4222 is a slave.
- i want to set that STM32 send a data first by polling and then receive a char data by interrupt.
- when i receive a data, i wanna have no buffer, just using receive date register(RXDR) and put that register's value into a variable.
- then i use that variable for my taste.
but Problem is
- now i'm using if(SPI2->SR & SPI_FLAG_RXWNE). but it seems not working.
- when it runs, TransmitReceive works but Receive_IT dosent work.
- and so many problem is on me.
- please give me a advice
many thanks!
