cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103ZD USART3 RXNE interrupt not working?

henk2
Associate II
Posted on December 23, 2013 at 11:59

Hi,

I made many applications using USART1 and 2 with and without using DMA. On behalf of making some setup mistake USART3 Rx seems not to react on received data. Transmit interrupts TXE and TC work fine. Valid data with valid baudrate is applied to USART3 RX-pin.

This is my setup:

- using default register values

- enable the alternate function io clock (APB2)

- enable the USART3 peripheral clock (APB1)

- set USART3 Tx pin to alternate function IO

- set USART3 Rx pin to input float

- define baudrate settings

- enable usart

- enable transmitter

- enable receiver

- enable USART3 NVIC interrupt

- enable USART3 RXNE interrupt

Receive interrupt RXNE is never entered.

Do I mis something?

Thanks,

Henk

1 REPLY 1
Posted on December 23, 2013 at 14:35

The list doesn't appear unreasonable, perhaps the implementation needs reviewing.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..