Dear all,
I have the following questions of DP512.
1. I would like to develop a power save mode in DP512. E.g. sleep-wake up periodically. Have DP512 any internal timer interrupt to do this?
2. How long can DP512 sleep and then wake up If I use a 16M oscillator.
Thanks a lot for your helping.
Hi,
Check the reference manual for the DP512:
9S12DP512_ZIP MC9S12DP512 Data Sheet and Reference Manual, zip format. Covers also the MC9S12DT512, MC9S12DJ512, and MC9S12A512
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12D&fpsp=1&tab=Documentation_Tab
.
especially check the S12MSCANV2.pdf in the folder
Three low-power modes: sleep, power down, and MSCAN enable
for instance for the MSCAN TX error counter register is readable only in sleep mode and in initialization mode. You can find in reference manual:
“Read: only when in Sleep Mode (SLPRQ=1 and SLPAK=1) or Initialization Mode (INITRQ=1 and
INITAK=1)”
The duration of sleep mode depends from your setting of interrupt - wake up.