![](http://datasheet.mmic.net.cn/330000/MB91F312A_datasheet_16438258/MB91F312A_18.png)
MB91310 Series
18
Restrictions
Common in the MB91310 series
(1) Clock Control Block
Take the oscillation stabilization wait time during Low level input to the INIT pin.
(2) Bit Search Module
The 0-detection data register (BSD0), 1-detection data register (BSD1), and transition-detection data register
(BSDC) are only word-accessible.
(3) I/O Port
Ports are accessed only in bytes.
(4) Low Power Consumption Mode
To enter the standby mode, use the synchronous standby mode (set with the SYNCS bit as bit 8 in the TBCR,
or time-base counter control register) and be sure to use the following sequence:
(LDI #value_of_standby, R0)
In addition, set the I-flag and the ILM and ICR registers to branch to an interrupt handler when the interrupt
handler triggers the microcontroller to return from the standby mode.
Please do not do the following when the monitor debugger is used.
Set a break point within the above array of instructions.
Single-step the above instructions.
(5) Pre-fetch
When accessing a prefetch-enabled little endian area, be sure to use word access (in 32-bit, word length) only.
Byte or half-word access results in wrong data read.
(6) Notes on the PS register
As the PS register is processed by some instructions in advance, exception handling below may cause the
interrupt handling routine to break when the debugger is used or the display contents of flags in the PS register
to be updated.
As the microcontroller is designed to carry out reprocessing correctly upon returning from such an EIT event, it
performs operations before and after the EIT as specified in either case.
1. The following operations are performed when (c) the instruction followed by a data event or a DIVOU/DIVOS
emulator menu instruction (a) receives a user interrupt or NMI or (b) breaks when single-stepped.
(LDI #_STCR, R12)
STB R0, @R12
: Write to standby control register (STCR)
LDUB @R12, R0
: STCR lead for synchronous standby
LDUB @R12, R0
: Dummy re-lead of STCR
: NOP
×
5 for timing adjustment
NOP
NOP
NOP
NOP
NOP