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