cancel
Showing results for 
Search instead for 
Did you mean: 

On an stm32L4 When you enable input capture on timer 16 it appears to join pins PB6 and PA6

PGood.1
Associate II

Ive setup PB6 as a GPIO_Output and Timer 16 and an input capture which uses PA6. It appears that if you set PA6 as an input capture it joins PA6 and PB6 internaly on the trace Chanel 0 is attached to PA6 Channel 2 is attached to PB3 (green LED) and Channel 3 is attached to PB6

9 REPLIES 9

STM32L432KB ? Please be specific about part and package

Did you solve your previous problem? https://community.st.com/s/question/0D53W00000RShlHSAT/timer-16-interupt-not-trigering-on-a-stm32l432

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

Double check the Net List thoroughly. Significantly more likely that one of the schematic nodes got misnamed or connected.

Check as simple GPIO, one as an Input and the other as an Output

Check an unpopulated board for continuity.

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

Im using a nucleo-l432kc with an 3.3 v arduino generating a pulse stream connected to PA6 or pin A5 on the Nucleo board

PGood.1
Associate II

Got the IRQ handler going by adding HAL_TIM_IC_Start_IT(&htim16, TIM_CHANNEL_1); in the main() function

Do you have the grounds commoned properly? Got some odd voltage levels on the traces.

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

Make sure solder bridge SB16 is removed.

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

0693W000006GgyOQAS.jpg

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

Close examination of the schematic shows SB16 and SB 18 short PA6-PB6 and PA7-PB7 not sure what the purpose of the jumpers are!!!!!!!!!!!!!!!!!

> not sure what the purpose of the jumpers are!!!!!!!!!!!!!!!!!

If only there were some sort of manual that the user could find this information within...

0693W000006Gh7aQAC.png

If you feel a post has answered your question, please click "Accept as Solution".