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 ]
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, Jerome
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 ]