2008-12-31 09:53 AM
USART interrupt problem
2011-05-17 03:20 AM
my english is poor,maybe a little difficult to understand,I am sorry for that
here are my questions: which registers I have to config if I want to use the USART interrupt? I have configed these registers: Irq Set Enable reg--bit[39] //Enable the USART3 global interrupt USART_CR1 //Enable UE,TXE,TCIE,RXNEIE,TE,RE but the USART3 interrupt doesn't work Best Regards, Jerome2011-05-17 03:20 AM
Hi,
I recommand you to start with downloading the Examples for USART already available at ST Web site :o , keil web site or others ; This is very useful as a starting point for beginners in STM32 ;) Magigimix. [ This message was edited by: asterix.magigimix on 28-12-2007 16:03 ]2011-05-17 03:20 AM
thank you for your suggestion.I will try.
Jerome Zheng2011-05-17 03:20 AM
I am working on this part.
Need to do more things: 1. NVIC_Init(&NVIC_InitStructure); 2. USART_ITConfig(USART3, USART_IT_RXNE, ENABLE); [ This message was edited by: pinwu1 on 31-12-2007 23:24 ]