Chapter 6
ROM Correction
Setting ROM Correction
Table: 6.3.1 shows setting ROM correction.
Table:6.3.1 Setting ROM Correction
Checking the ROM correction control register (RCRCTR)
1
Check that the RCRCTR register is set to "0x00". When the RCRCTR register is set to "0x04"
(during ROM correction enabled status), reset ROM correction.
Set the ROM correction address register (RCRnAR) and the ROM correction data register
(RCRnDR) write enabled
2
Set the RCRnAR and the RCRnDR registers write enabled by writing "0x01" to the RCRCTR
register
Setting the RCRnAR register
Set the lower 20 bits of the first address subject to ROM correction and the value of the RCn-
3
CEN flag. Setting the RCnCEN flag of the RCRnAR register to "1" allows ROM correction for
the target channel to be enabled. To disable an unused channel, set the RCnCEN flag to "0".
Setting the RCRnDR register
4
Set 8- byte data used for ROM correction. Each byte of correction data must be set at bit posi-
tions of the RCRnDR register determined by the lower 3 bits of the address.
Setting ROM correction enabled
5
Set ROM correction enabled by writing "0x04" to the RCRCTR register .
63 56 55 48 47 40 39 32 31 24 23 16 15 8 7
RCRnDR
Resetting ROM Correction
Table: 6.3.2 shows resetting ROM correction.
Table:6.3.2 Resetting ROM Correction
Resetting ROM correction 1
1
Write "0x0C" to the ROM correction control register (RCRCTR) to enable ROM correction
mode clear (reset)
Resetting ROM correction 2
2
Write a "0x00" to the RCRCTR register to disable ROM correction
If it is necessary to make changes to settings when ROM correction is enabled ( when the RCRCTR register is
"0x04"), reset ROM correction once. Then, set ROM correction again.
VI - 12
ROM Correction Operation
Description
Figure:6.3.2 RCRnDR Register and Correction Data
Description
0
Correction data whose low-order 3 bits of address are x'0
Correction data whose low-order 3 bits of address are x'1
Correction data whose low-order 3 bits of address are x'2
Correction data whose low-order 3 bits of address are x'3
Correction data whose low-order 3 bits of address are x'4
Correction data whose low-order 3 bits of address are x'5
Correction data whose low-order 3 bits of address are x'6
Correction data whose low-order 3 bits of address are x'7
RCRCTR value
0x00
0x01
0x01
0x01
0x04
RCRCTR value
0x0C
0x00