TMS320F280049: Does CLA has Access to SPI in TMS320f280049M

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello All,

Does CLA has Access to SPI in TMS320f280049M. If YES please provide some example code.

I am trying to Access SPI_A through CLA in my application, is it Possible??

Thankyou 

  • Hi,

    The expert is currently out of office until after the holidays. Please expect a delay in response. Thank you for your patience.

    Best Regards,

    Aishwarya

  • Hello,

    Yes, the CLA on F28004x has SPI access. We don't have an example that uses both CLA and SPI together, however you should be able to follow one of the other examples where the CLA interfaces with a peripheral, like the CLA/EPWM example in the path: [C2000ware install]/driverlib/f28004x/examples/cla/cla_ex4_pwm_control. Just keep in mind that for driverlib functions, a .cla file can only call functions defined as inline in the driverlib source. Otherwise, you can do a HWREG access to the necessary SPI registers.

    Best Regards,

    Delaney