Hello
Q1 reply:
ADC0 internal_4 channel is mapped to the BATS monitor, which is a 1:9 scaled down VSUP.
To measure this it is also necessary to set BSUAE and BSUSE in the BATE register.
ADC0 internal_1 can also be mapped to the VREG bandgap voltage.
ADC0 and ADC1 channels internal_3 are mapped to the 1:5 scaled GDU DC link voltage (HD).
The bootstrap voltage cannot be directly measured on chip.
Q2 reply:
Calibration must be done by the user
The application note AN3624 which was written for S12X still basically applies for S12Z.
The temperature sensors are mapped to the ADC channels as shown in RM Table 1-7 and 1-8.
The temperature slope is given in Table B-1.
Q3: I am not a freemaster expert, so can't comment.
Q4 reply:
By default the 12-bit values are left justified in a 16-bit field.
They can be configured as right-justified by the DJM bit.