ADC1, GPT1/14 Conflict on STM32F0
Posted: Tue Mar 22, 2016 7:33 am
Hi everyone,
I'm using ChibiOS 16.1.4, and the board I'm using is STM32F0 Discovery (STM32F051R8).
I was trying to use both ADC and GPT, but when I was trying to run adcStartConversion() and gptStartContinuous() for the following pairs, my program stopped working:
- ADCD1, GPTD1
- ADCD1, GPTD14
Since I'm using my GPTD3 for other use, and ST requires GPTD2 (when I tried to use GPTD2 st_lld.c raised an error during compilation), I don't know what else to do.
Has anyone run into the same issue? Any suggestion on what to do?
Thanks!
- Sam
I'm using ChibiOS 16.1.4, and the board I'm using is STM32F0 Discovery (STM32F051R8).
I was trying to use both ADC and GPT, but when I was trying to run adcStartConversion() and gptStartContinuous() for the following pairs, my program stopped working:
- ADCD1, GPTD1
- ADCD1, GPTD14
Since I'm using my GPTD3 for other use, and ST requires GPTD2 (when I tried to use GPTD2 st_lld.c raised an error during compilation), I don't know what else to do.
Has anyone run into the same issue? Any suggestion on what to do?
Thanks!
- Sam