Return to menu | Go to next page

System Program User's Manual

1. Guide

1.1 Description

Interrupt handling routine registration / reference operation

After booting from BOOT ROM, the master SH2 interrupt vector table is at the top of the work RAM, and the VBR (vector base register) points to this address.
The slave SH2 interrupt vector table is the top of work RAM + 400H, and the slave SH2 VBR points to that address.
The interrupt vectors (programmable) of each SH2 built-in module are assigned as shown in the table below by default. A dummy routine that does nothing is set in the vector table. (However, illegal instructions and address error exceptions are infinite loops.)
∙ FRT input capture interrupt is assigned for master-slave communication, and its initial priority is 15 (highest priority).
In the table below, the priority of each interrupt except FRT input capture interrupt is set to 0, and interrupts are not permitted.
∙ To change the interrupt priority of the built-in module, the contents of the interrupt control register must be changed as required by the application.

 Master SH2 vector initialization 
 Slave SH2 vector initialization 
 40H to SCU interrupt vector 
5FH (fixed by hardware)
 41H H blank In ** 
43H V Blank In
 60H SCI reception error 
61H SCI reception buffer full
62H SCI transmission buffer empty
63H SCI transmission end
* 64H FRT input capture
65H FRT compare match
66H FRT overflow
67H Not used
68H WDT interval
69H BSC compare match
6AH Not used
6BH Not used
6CH DMACH1 (Built-in SH2)
6DH DMACH0 (Built-in SH2)
6EH DIVU (Division)
6FH Not used
 60H SCI reception error 
61H SCI reception buffer full
62H SCI transmission buffer empty
63H SCI transmission end
* 64H FRT input capture
65H FRT compare match
66H FRT overflow
67H Unused
68H WDT interval
69H BSC compare match
6AH not used
6BH not used
6CH DMACH1 (with SH2)
6DH DMACH0 (with SH2)
6EH DIVU (divide)
6FH not used
TD>
* Slave> for master passing * Master> for slave passing
,,,,,,, IRL2, IRL6 level interrupt


Return to menu | Go to next page