|
C55XX CSL EXAMPLE
|
This test verifies the functionality of CSL INTC module. INTC module is used to configure and enable the interrupts available on the C5505/C5515 DSP.
This test verifies the INTC module using CSL SAR. SAR module on C5505/C5515 DSP is used to convert the voltage generated by the key pad available on the C5505/C5515 EVM to digital values. During the test C5505/C5515 EVM key pad button voltage is read using interrupts. SAR interrupts are configured and ISR is registered using INTC module APIs. SAR is configured and the data conversion is started using SAR_startConversion(). Interrupt is generated when there is a valid value in the SAR data register. Digital value is read from the SAR data register using the Interrupt Service Routine and is displayed in the CCS 'stdout' window. Generation of SAR interrupt will prove the functionality of INTC module.
Digital values corresponding to the button voltage will vary slightly depending on the system clock value. Below are the range of values for each button available on the C5505/C5515 EVM key pad.
No button pushed: 0x3fb - 0x3ff SHIFT: 0x230 - 0x238 STOP: 0x0 RWD: 0x20f - 0x216 MENU: 0x367 - 0x374 DN: 0x2bc - 0x2c6 SEL/PLAY: 0x1d3 - 0x1d8 UP: 0x24f - 0x258 REC: 0xd5 - 0xd8 FWD: 0x163 - 0x167 MODE: 0x30b - 0x316
NOTE: THIS TEST HAS BEEN DEVELOPED TO WORK WITH CHIP VERSIONS C5505 AND C5515. MAKE SURE THAT PROPER PROPER CHIP VERSION MACRO SHOULD IS DEFINED IN THE FILE c55xx_csl\inc\csl_general.h.
1.7.4