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: TMS570LS0432: ADC: HalCoGen Code sets reserved bit in ADGxxSEL registers

Part Number: TMS570LS0432
Other Parts Discussed in Thread: HALCOGEN

Hello,

I made some test on the TMS570LS0432 and I found a mistake in SPNU517C in Figures 16-48, 16-49 and 16-50 and in Tables 16-34, 16-35 and 16-36.

To launch an acquisition on channel 16, 17, 20 and 21, one needs to set bits 16, 17, 20 and 21 in ADxxSEL register.

The HalCoGen generated code is correct, but the following statement is not correct:

ADG1SEL[15]  --- ADIN[21]

ADG1SEL[14]  --- ADIN[20]

ADG1SEL[13]  --- ADIN[17]

ADG1SEL[12]  --- ADIN[16]

and shall be replaced by:

ADG1SEL[21]  --- ADIN[21]

ADG1SEL[20]  --- ADIN[20]

ADG1SEL[17]  --- ADIN[17]

ADG1SEL[16]  --- ADIN[16].

Best regards.