Electrical Characteristics
MC9S12G Family Reference Manual Rev.1.27
1192 NXP Semiconductors
CPMUOSC
OSCE=1, External Square wave on EXTAL f
EXTAL
=4MHz,
V
IH
= 1.8V, V
IL
=0V
CPMURTI RTDEC=0, RTR[6:4]=111, RTR[3:0]=1111;
CPMUCOP WCOP=1, CR[2:0]=111
Table A-13. CPMU Configuration for Run/Wait and Full Stop Current Measurement
CPMU REGISTER Bit settings/Conditions
CPMUSYNR VCOFRQ[1:0]=01,SYNDIV[5:0] = 24
CPMUPOSTDIV POSTDIV[4:0]=0
CPMUCLKS PLLSEL=1
CPMUOSC
OSCE=0,
Reference clock for PLL is f
ref
=f
irc1m
trimmed to 1MHz
API settings for STOP current measurement
CPMUAPICTL APIEA=0, APIFE=1, APIE=0
CPMUAPITR trimmed to 10Khz
CPMUAPIRH/RL set to $FFFF
Table A-14. Peripheral Configurations for Run & Wait Current Measurement
Peripheral Configuration
MSCAN Configured to loop-back mode using a bit rate of 1Mbit/s
SPI
Configured to master mode, continuously transmit data
(0x55 or 0xAA) at 1Mbit/s
SCI
Configured into loop mode, continuously transmit data
(0x55) at speed of 57600 baud
PWM Configured to toggle its pins at the rate of 40kHz
ADC
The peripheral is configured to operate at its maximum
specified frequency and to continuously convert voltages on
all input channels in sequence.
Table A-12. CPMU Configuration for Pseudo Stop Current Measurement
CPMU REGISTER Bit settings/Conditions