SPI comunication in STM32H743ZI (continuous clock on SPI ).
Hi all,
I am using SPI protocol on STM32H7 for interfacing with external ADC . STM32H7 is acting as master and ADC as slave . SPI clock i am using is at 40 Mhz. spi clock is getting disabled after 25-30 clock cycles. i want continuous clock for this application for capturing data from ADC. otherwise i am missing ADC converted values in receiver buffer .
So i filled SPI control registers 2 TSER and TSIZE with value 0xFFFE.
and i also enabled TIFREIE bit in interrupt enable register.
In interrupt handler of SPI i check for status of TSERF bit of SPI SR register if it is SET. i load TSER [31:16] of CR2 with 0xFFFF and clear the TSERF bit in IFCR register.
But still i am unable to get continuous clock on SPI.
Any solution to this is highly appreciated.
Regards,
Krishna .