terrupt routine can be used to perform these two functions since the two codec sections
(A/D and D/A) are synchronous.
The time the DSP core spends on the decimation/compensation and interpolation/com-
pensation filters is a function of:
•
the antialiasing and reconstruction filter characteristics
•
the characteristic of the compensation that needs to be performed
•
the master DSP core clock speed
•
the number of registers that need to be saved and restored
•
the number and size of general tasks handled by the interrupt routine itself
Figure 6-39 shows an example of a flowchart for a long interrupt routine.
6 - 66
DSP PROGRAM FLOWCHART
DSP56156 ON-CHIP SIGMA/DELTA CODEC
MOTOROLA