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/TMS320F28379D: Assigning SCI port for CPU2

Part Number: TMS320F28379D


Tool/software: Code Composer Studio

Hello. 

I am working on assignment of SCIA port on CPU2. Please find the below attachment, where the assignment of SCIA port for CPU2 is done in CPU1.

Later in CPU2, I have assigned Baud rate, parity and stop bits for the SCIA port.

I am not able to get the ouput . I am checking output though register windows. Please help me find where have i gone wrong.

Thank you.

Best Regards,

Sindhu H

  • Hi Sindhu,

    Does this code work OK on CPU1?  As a general strategy, I'd recommend that you start with working example code on CPU1, then either modify the code to change the functionality or port the code to CPU2 and then retest.  Once you have a good working baseline again, you can make additional changes.  

    If you do see that this is working on CPU1 but not CPU2, definitely looking at the registers in the expressions window is a good place to start debug. 

    You can also find the address of the first register in the SCI register set, open it in the memory browser, and then save memory to file to dump out all of the peripheral registers.  You can then compare memory dumps between CPU1 and CPU2 to perhaps determine that some initialization isn't happening. 

  • Hi Sindhu,

    Any progress on getting this to work or better understanding the underlying issue?  

  • Hello Sir,

    Sorry for my late reply. Yes my problem is now resolved. I missed the statement of setting clock in CPU2 for SCIA.

    Thank you

  • Hi Sindhu,

    Thanks for updating on the root cause of the issue!