Skip to main content
spuri
Associate
Sep 30, 2013 7:36 PM UTC
Question

STM32F103R4 APB2 interfaces not working

Posted on September 30, 2013 at 21:36

Hi 

My name is Salil and i am a product design engineer with EZ metrology.

We are currently using STM32F103R4 in one of our developing products. This product uses only one USART interface (that works) and simple GPIO interfaces for turining ON and OFF devices.

For some reason all interfaces on the APB2 Bus (including GPIOs) do not work. whereas USART 2 on APB1 bus works fine ( all APB1 bus peripherals work fine)

What could be the possible reason for this?

Please let me know if more information is needed

Regards

Salil

#stm32f103r4
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
Sep 30, 2013 7:50 PM UTC
Posted on September 30, 2013 at 21:50

Look at the code that initializes the PLL, and sets the SYSCLK and APB divisors. Then look at the code enabling the clocks on the assorted peripherals.

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