Dear all,
I am a bit confused of the statement in the TRM SPNU563–May 2014 on the page 320:
• Temperature sensor 1's output is multiplexed with AD1IN[31].
• Temperature sensor 2's output is multiplexed with AD2IN[31].
• Temperature sensor 3's output is multiplexed with AD2IN[30].
I understood that AD2 has up to 24 channels - yes, 16 of them are shared with AD1 but this is not a topic right now. What about above mentioned indexes [31] and [30] of the AD2.
Furthermore, I have got the same results within generated code by HalCoGen 4.05.01 for both following settings:
- tab "PINMUX -> Special Pin Muxing": checked-in the option "Enable Temp Sensor 1" only
- tab "PINMUX -> Special Pin Muxing": checked-in the options "Enable Temp Sensor 1" and "Enable Temp Sensor 2" and "Enable Temp Sensor 3"
The generated results:
pinMuxReg->PINMUX[174] &= 0XFEFFFFFFU;
PINMUX_TEMP1_ENABLE(ON);
PINMUX_TEMP2_ENABLE(OFF);
PINMUX_TEMP3_ENABLE(OFF);
pinMuxReg->PINMUX[174] &= 0XFEFFFFFFU;
PINMUX_TEMP1_ENABLE(ON);
PINMUX_TEMP2_ENABLE(ON);
PINMUX_TEMP3_ENABLE(ON);
Please may you explain those results - I would not have expected the same ones ;-) But maybe I have missed some important issue...
Thanks a lot,
Best regards,
Jiri