cancel
Showing results for 
Search instead for 
Did you mean: 

i was trying interrupt on PA0 and PB5 pins on stm32f103c8 board(with cubemx generated code),but when triggered square wave impulse on B5 the along with ISR of EXTI9_5_IRQHandler the isr of A0 also getting executed EXTI0_IRQHandler.

Sjose.2
Associate II

.No jumper wires are involved direct probe connection from signal generator is used(siganls are generating fine cross verified with oscilloscope).Tried checking up with oscilloscope on A0 pin,while giving trigger wave to B5,no changes are seen on A0 pin.Then also isr gettting executed but the vise versa didnt happen.

Tried with stm32l152 discovery board the same thing there also the wrong isr are also getting executed.(0th and 5th pin of different ports but).When checked the EXTI->PR REGISTER while in debugging mode ,The bits of 0,1,5 are set when trigger wave given to pin 5.Even though the pin1 nor its interrupts settings are not intialized its also getting set.

Spend almost two days till now debugging this issue, any help will be thank full.Till now tried F1 and L1 SERIES both are having issue

1 REPLY 1

> Tried checking up with oscilloscope on A0 pin,while giving trigger wave to B5,no changes are seen on A0 pin

EXTI is asynchronous, i.e. it is capable of capturing pulses lasting a few ns. Is your oscilloscope good enough to capture those?

Try connecting PA0 directly to GND while "giving trigger wave" to PB5. Still EXTI0 triggered?

JW