Search found 5 matches
- Wed Aug 23, 2017 12:15 pm
- Forum: STM32 Support
- Topic: STM32F405RG ADC injected sequence length of 2 only converts first channel
- Replies: 2
- Views: 4422
Re: STM32F405RG ADC injected sequence length of 2 only converts first channel
Solved. The ADCs need to have SCAN mode enabled.
- Mon Aug 21, 2017 5:07 pm
- Forum: STM32 Support
- Topic: STM32F405RG ADC injected sequence length of 2 only converts first channel
- Replies: 2
- Views: 4422
STM32F405RG ADC injected sequence length of 2 only converts first channel
Hello all,
I'm using the triple ADC injected simultaneous only mode, and am trying to convert 2 channels on each ADC. The conversion is triggered by Timer 1 TRGO, and I've enabled the injected end of conversion (JEOC) interrupt successfully on ADC1.
The ISR checks ADC1's status register for the ...
I'm using the triple ADC injected simultaneous only mode, and am trying to convert 2 channels on each ADC. The conversion is triggered by Timer 1 TRGO, and I've enabled the injected end of conversion (JEOC) interrupt successfully on ADC1.
The ISR checks ADC1's status register for the ...
- Sat Aug 05, 2017 5:10 pm
- Forum: STM32 Support
- Topic: Unknown vector causing unhandled exception
- Replies: 3
- Views: 2582
Re: Unknown vector causing unhandled exception
I've renamed my ISR to CH_IRQ_HANDLER(Vector88) from CH_IRQ_HANDLER(STM32_ADC_HANDLER) and the problem has gone away. STM32_ADC_HANDLER should be defined as Vector88 in stm32_registry.h, but something might have gone wrong somewhere.
- Sat Aug 05, 2017 2:29 pm
- Forum: STM32 Support
- Topic: Unknown vector causing unhandled exception
- Replies: 3
- Views: 2582
Re: Unknown vector causing unhandled exception
Hello Giovanni,
Thank you for the prompt response.
I'm not sure about how the vectors are handled internally, but since different vector handlers are called when different non-weak handlers are made available, I'm not sure which vector I should even be looking into.
The vector I'm expecting is ...
Thank you for the prompt response.
I'm not sure about how the vectors are handled internally, but since different vector handlers are called when different non-weak handlers are made available, I'm not sure which vector I should even be looking into.
The vector I'm expecting is ...
- Sat Aug 05, 2017 9:27 am
- Forum: STM32 Support
- Topic: Unknown vector causing unhandled exception
- Replies: 3
- Views: 2582
Unknown vector causing unhandled exception
Quick information: I am using a custom STM32F405RGT6 board, chibios176 with ChibiStudio Preview 19, writing in a combination of C and C++, using ST Link V2 for debugging.
I am attempting to configure ADC1 and ADC2 in Dual Mode Injected Simultaneous Only, to be triggered by TIM1 CC4. I haven't ...
I am attempting to configure ADC1 and ADC2 in Dual Mode Injected Simultaneous Only, to be triggered by TIM1 CC4. I haven't ...