Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN,
Tool/software: Code Composer Studio
Hi, I created code to run an LS0432 development board ADC conversion process, with the HET1[08] providing an event trigger at 1kHz (PWM module, 50% duty). This was visible on a 'scope. Drivers created using HALCoGen 04.07.01. Analogue inputs were converted as required.
I then copied the relevant code into a different project using the TMS570LC4357 devboard with new set of HALCoGen drivers.
However, now, with no HET output stages enabled to drive, HET1[08] provides a 100KHz output, 400ns high period and HET1[10] provides 1KHz, high for 2.6us. HET outputs [8] and [10] should be producing 1KHz and 10KHz respectively at 50%.
Looking at ADC conversion results direct from the conversion results memory (SPNU563A–March 2018 para 22.2.1.9.2), I see values tagged with the channel number that I've enabled: the light-sensor on channel 9 varies with ambient so that's working, but whatever I set the ADC resolution to, it always provides 12-bit. This probably doesn't matter in my application but I thought that I'd seen the channel number is presented differently for 10bit versus 12-bit operation. However, I can't seem to get the event-triggered operation that I require (at 1KHz).
Am I missing a major setting that's different between the two boards? Both have the requisite drivers enabled, and Init code called.
Thanks