2024-09-04 04:40 AM
I have the following problem with my STM32H743:
I want to use the ADC3 for an injected conversion, but the ADC3 interrupt does not call the
This is what the SysTick_Handler looks like at the moment:
__irq void SysTick_Handler() {
volatile int ipsr = __get_IPSR();
if (ipsr == 15) {
// do the systick thing
} else if ((ipsr == 143) && (ADC3->ISR & ADC_ISR_JEOS)) {
ADC3->ISR = ADC_ISR_JEOS;
// do the ADC thing
}
}
Does anyone have an idea, what could cause this?
2024-09-04 06:17 AM
> ADC3->ISR = ADC_ISR_JEOS;
Put a breakpoint on this line and, when it gets hit, show the value of the SCB->ICSR register in a screenshot, along with SCB->VTOR and the relevant entries in there for the 15th and 143rd interrupt addresses.