2016-02-20 06:33 AM
Hello.
I am using a custom board with STM32F030R8 as my dev platform. I am using Uart2 to configure the board. The RX interrupt is enabled to receive data. i am using PD2 as a GPIO.When i enable peripheral clock to GPIOD, i am not getting uart rx interrupt but uart tx works fine. But when i do not enable the GPIOD peripheral clock everything works fine.I have no idea what is the problem here...Is there something i am missing here? #interrupt #stm32 #uart #gpiod2016-02-20 07:57 AM
Show the complete source that demonstrates this, and it might be more apparent why it is occurring.
2016-02-25 08:27 AM
Apologies for the late response..was caught up with some other stuff.
I suspect it to be a hardware issue. Here is the deal.a max-485 chip is connected via UART2. PD2 is connected to the control pins of the 485 chip, i.e driver output enable and receiver output enable. So when i enable the clk for GPIOD, i dont receive anything over the UART.