cancel
Showing results for 
Search instead for 
Did you mean: 

Pa2 and Pa3 pins not working in stm32f030

sanjib
Associate III
Posted on June 30, 2014 at 07:25

I have configured simple USART transmit and receive interrupt....It is working fine with othe pins for e.g PB6 and PB7.....but if I used Pa2 and Pa3 it's is neither transmitting nor receiving....What may be the problem ......

I am attaching the file
3 REPLIES 3
raptorhal2
Lead
Posted on June 30, 2014 at 14:32

The code is initializing USART1, PA2 & 3 are for USART2

Cheers, Hal

sanjib
Associate III
Posted on June 30, 2014 at 14:38

but in data sheet it is mentioned for USART 1 as well ...why that so?

Posted on June 30, 2014 at 14:46

Read the manual more carefully, if you have an STM32F030x8 it's USART2, for x4 and x6 devices it's USART1

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