Download 20-Sim code generation for ADSP-21990 EZ-KIT
Transcript
20-Sim code generation for ADSP-21990 EZ-KIT Get ADC Data Do Program Calculations Timer Adjustable Timer freq. Set DAC Data Wait for Timer signal Fig. 17: Example of program flow with Timer When a timer controlled program is run on the ADSP-21990 EZ-KIT, the program carries out the normal tasks (fetching data from ADC, calculating the system states and variables and sending output data to the DAC) and ends up in a ‘wait state’. In this ‘wait state’ the ADSP-21990 processor waits for the timer signal that starts the program to execute the next program cycle. Implementation This way of making the sample frequency of the ADSP-21990 EZ-KIT lite adjustable when running code generated by 20-Sim has not yet been implemented nor tested, so not much can be told about the effectiveness. The timer, however, is easier to implement then the interrupt generating PWM Unit. 68