This section describes the simulation functions and points for caution on using the functions for the FAA when the selected microcontroller incorporates it.
The simulator simulates the functions of the RL78 instruction simulator and the following items.
For points for caution on the timer array unit, refer to the release note for the simulator that includes simulation of the peripheral functions of RL78 microcontrollers., |
When the DIVST bit in the FAADUC register is set to 1 so that the divider starts a division in the actual hardware, the operation will end in 16 clock cycles; the simulator promptly completes the division and generates the interrupt (INTMD). |
For the reference timing controller, when a free-running counter starts operation (FCCNT.FCEN = 1), it continues operating even if a break occurs on the CPU side or FAA side or both sides. The free-running counter stops operation when FCCNT.FCEN = 0 or FAAEN = 0. |
If a free-running counter in the section for generating the reference timing of the FAA is operated in the CPU program or the SFR panel with the following steps and the comparison value of the timing is small, an interrupt generated by the compare match with the timer may be ignored. |
In the steps above, an interrupt generated by the compare match with the timer is ignored if the operation of a free-running counter starts after step (b) and FCNT is counted up to 0xF before step (d). |
When FAAEN = 0, the simulator will access (read or write) the FAA instruction code memory and FAA data memory from the area to which the target resources have been assigned. |