Electronics > Microcontrollers

STM nuclo32-l32kc Timer1 internal clock and GPIO on pin PA12

(1/1)

conducteur:
Hi

I'm learning STM32 microcontrollers, and there's something that I don't really understand.
It seems that I can't assign Timer1 with an internal clock because I need PA12  as GPIO Output? 

I tried to find more details in the datasheets, but did not find it. I don't see why a GPIO pin blocks the use of this timer?

I want to use ch1 for input capture, but this is on a different pin then PA12 (PA8).

gamalot:
No, the internal clock will definitely not conflict with a GPIO pin. There will be conflicts only when you select an external clock source. For example, selecting ETR2 will conflict with PA12 set to GPIO output mode.

conducteur:
Oh thank you. I misunderstood the warning. It's seems logical that it only relates to the options in pink.....

thank you!

Navigation

[0] Message Index

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod