
1996 Jul 02
19
Philips Semiconductors
Preliminary specification
High performance Compact
Disc-Recordable (CD-R) controller
SAA7390
Note
1.
16 : 2075 and 0 : 2067 are address frame offsets. The frame buffer organization is shown in Table 76.
CRC_RECALCULATE
Calculate CRC remainder buffer data, storing result in ECC RAM and updating
microprocessor status bit CRC_EQ0. Mode 2, Form 1 uses address 16 : 2075, or
0 : 2067; note 1
Prepares buffer for correction, calculates P and Q syndromes, and copies error flags
and CRC remainder from buffer to ECC RAM. The microprocessor status bits
PS_EQ0, QS_EQ0 and FLAGS_EQ0 are updated at the end of this operation.
1.
Copy header from buffer to ECC RAM (Mode 2, Form 1 only)
2.
Write to the buffer.
Not Mode 2, Form 1:
Address 0
→
0x00; Address 1 : 10
→
0xFF; Address 11
→
0x00;
Address 2068 : 2075
→
0x00
Mode 2, Form 1:
Address 0
→
0x00; Address 1 : 10
→
0xFF; Address 11 : 15
→
0x00
3.
Read header and frame data from buffer to calculate P and Q syndromes
psyn[0 : 85].s1, psyn[0 : 85].s0, qsyn[0 : 51].s1 and qsyn[0 : 51].s0, storing results
in ECC RAM
4.
Copy error flags from buffer to ECC RAM
5.
Copy CRC remainder from buffer to ECC RAM
6.
Update microprocessor status bits PS_EQ0, QS_EQ0 and FLAGS_EQ0.
CALCULATE_SYNDROME
S
COPY_RESULTS
Copies current ECC RAM contents to the buffer memory:
1.
2.
3.
4.
5.
Scan all P syndromes and perform P-syndrome calculation. The microprocessor status
bits PS_EQ0, QS_EQ0 and FLAGS_EQ0 are updated at the end of this operation.
Scan all Q syndromes and perform Q-syndrome calculation. The microprocessor
status bits PS_EQ0, QS_EQ0 and FLAGS_EQ0 are updated at the end of this
operation.
Read each exponent and log in the alpha ROM to the NUM_COR register. This
command may only be terminated by the ASSERT_ABORT command.
Read ECC RAM addresses 0 : 591 and copy to buffer addresses 0 : 591.
Read buffer addresses 0 : 591 and copy to ECC RAM addresses 0 : 591.
Copy header flags from ECC RAM to buffer (Mode 2, Form 1 only)
Copy error Flags from ECC RAM to buffer
Copy CRC remainder from ECC RAM to buffer
Copy P syndromes from ECC RAM to buffer
Copy Q syndromes from ECC RAM to buffer.
CORRECT_P_SYNDROME
S
CORRECT_Q_SYNDROME
S
TEST_ECC_ROM
TEST_ECC_RAM_READ
TEST_ECC_RAM_WRITE
COMMAND
DESCRIPTION