Hi
How to configure interrupts and test on Keystone I devices - C6678 ?
Would you provide a sample code to test on C6678 board?
Would you please run the test and show the output using CCS-Console?
Regards
Shankari G
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
How to configure interrupts and test on Keystone I devices - C6678 ?
Would you provide a sample code to test on C6678 board?
Would you please run the test and show the output using CCS-Console?
Regards
Shankari G
How to configure interrupts and test on Keystone I devices - C6678 ?
Pre-requisites:
1. Download and install "PROCESSOR-SDK-RTOS-C667x 06_03_00_106"
from https://software-dl.ti.com/processor-sdk-rtos/esd/C667x/latest/index_FDS.html
( Please install the SDK in the recommended path: C:\ti\)
2. Download and install CCS 9.3 , https://www.ti.com/tool/download/CCSTUDIO/9.3.0.00012
( Please install in the recommended path: C:\ti\)
3. Please download this document and have a look.
2502.Configuring Interrupts K1.pdf
Steps:
1. Create an empty project using CCS.
2. Include the files, cpintc_test.c and test_lnk.cmd to the project ( Location of files: - C:\ti\pdk_c667x_2_0_16\packages\ti\csl\example\cpintc ).
3. Do the necessary inclusion of library files and pre-defined symbols like below.
4. Build the project
================
5. How to load and run the sample code.
===============================
Follow the steps given in the video below.
5. Observe the outputs like below.
[C66xx_0] ************************************************** ****************** CPINTC Testing **************** ************************************************** Debug: GEM-INTC Configuration... Debug: GEM-INTC Configuration Completed Debug: CPINTC-0 Configuration... Debug: CPINTC-0 Configuration Completed *************************************** Testing the CSL API for CPINTC-0 **************************************** Debug: Testing Multiple System Interrupts... Debug: Testing Multiple System Interrupts Passed Debug: Testing Disable System Interrupt... Debug: Testing Disable System Interrupt Passed Debug: Testing Disable All Host Interrupt... Debug: Testing Disable All Host Interrupt Passed Debug: Testing spurious system Interrupt... Debug: Testing spurious system Interrupt Passed Debug: Testing disable host Interrupt... Debug: Testing disable host Interrupt Passed *************************************** CSL API testing for CPINTC-0 Completed **************************************** Debug: CPINTC-1 Configuration... Debug: CPINTC-1 Configuration Completed *************************************** Testing the CSL API for CPINTC-1 **************************************** Debug: Testing detection of system interrupts on CPINTC-1 Debug: Testing detection of system interrupts on CPINTC-1 Passed *************************************** CSL API testing for CPINTC-1 Completed **************************************** Debug: CPINTC-2 Configuration... Debug: CPINTC-2 Configuration Completed *********************************** Testing the CSL API for CPINTC-2 *********************************** Debug: Testing detection of system interrupts on CPINTC-2 Debug: Testing detection of system interrupts on CPINTC-2 Passed *************************************** CSL API testing for CPINTC-2 Completed **************************************** ************************************************** ************* CPINTC Testing Completed *********** **************************************************
Regards
Shankari G