Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
I have been using HALCOGEN to initialise the device peripherals, but i'm having trouble triggering an ADC measurement at the end of a PWM cycle.
I have configured PINMUX, PWM and ADC1 to use ePWM_A1 using HALCOGEN, but nothing was working until I cleared the SOC1A_SEL bit in PINMMR35[0], but I had to do this in code after the HALCONGEN init functions.
Is there a way to get HALCOGEN to clear the SOC1A_SEL bit?
Also the continual triggering from PWM doesn't work until I perform a single software trigger for the ADC group, is this related to the unusual init sequence I have ended up with due to the workaround mentioned above?
Thanks.