cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103R4 APB2 interfaces not working

spuri
Associate
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
1 REPLY 1
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 Up vote any posts that you find helpful, it shows what's working..