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.
Part Number: TMS320F280048C
Tool/software: Code Composer Studio
I am developing code to interface with an AD7988 using SPI. I have it working in the CPU. I would like to mode the code to CLA. Can anyone point me to an example that shows how to configure the SPI-A bus in the CLA.
// Configure SPI-A (AD7988 ADC for O2 Sensor) **********
GPIO_setPinConfig(GPIO_9_SPICLKA); //GPIO9
GPIO_setPinConfig(GPIO_8_SPISIMOA); //GPIO8
GPIO_setPinConfig(GPIO_10_SPISOMIA); //GPIO10
Steve,
I don't understand why you would want to configure the SPI in CLA.
Are you wanting to service your SPI transmit / receive interrupt using CLA task? If you are planning to service SPI transmit / receive interrupts using CLA, you need to configure DMA Channel trigger select register (DMACHSRCSELx register) using information provided in Table5-1. Configuration Options and you need to configure CLA. DId you check CLA example provided in C2000Ware?
Regards,
Manoj