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.

CCS/TMS320F28335: how to interface SPI code to the main code

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hello,

I have an example code for serial DAC in TMS320F28335. But im not able to add SPI file as header. 

The error is showing as 

'"unresolved symbol _InitSpiaGpio, first referenced in ./28335_examplecode.obj". 

Can someone suggest a solution to this problem.

Thanks!

Priya

  • Hi Priya,

    InitSpiaGpio function is available in DSP2833x_Spi.c file. You need to include this file in the project.

    I did not quite understand what you meant by "im not able to add SPI file as header. ". This is a source file that needs to be included in the project like other c files in your project. You can simply drag and drop this file to the CCS project

    Regards,

    Veena