This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS0432: ADC: HalCoGen Code sets reserved bit in ADGxxSEL registers

Part Number: TMS570LS0432
Other Parts Discussed in Thread: HALCOGEN,

Hello,

I wanted to initiate a conversion on channel 21 (ADIN[21]) in Group 1.

The HalCoGen generated code sets the 21th bit in the ADG1SEL register. 

I think this is an error since the G1_SEL field in the ADG1SEL register is only 16 bit and the other bits are reserved.

Am I right in the assumption that:

- To make a conversion of pin ADIN[21], bit 15 needs to be set in the ADG1SEL

- To make a conversion of pin ADIN[20], bit 14 needs to be set in the ADG1SEL

- and so on

Thanks for the answer