Question
USART: need CLOCK ticking all the time
Posted on December 08, 2012 at 04:37
The device I am trying to connect to via serial interface requires constant clock ticking. I have enabled USART clock with
USART_ClockInitTypeDef USART_ClockInitStructure; USART_ClockStructInit(&USART_ClockInitStructure); USART_ClockInitStructure.USART_Clock = USART_Clock_Enable; USART_ClockInit(USART2, &USART_ClockInitStructure); but it seems to be ticking only while transmitting data. Is it possible to have this clock ticking constantly? I do not see any related fields in USART_ClockInitTypeDef #usart