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/LAUNCHXL-F28069M: SCIA not working in TMS320F28069M

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: MOTORWARE

Tool/software: Code Composer Studio

How can I make it working? I've configured motorware18.0 project 'proj_lab13b.c' as explained in 'motorware_hal_tutorial' with interrupt. I implemented the echo back set up. But not getting any data. While debugging it is found that program control enter into SCI ISR once and returns a data '00'(in HEX). but after that it does not enter into SCI ISR. What should I do?

NB:- I'm using boostxl-drv8301rev.b. Position control works fine. ie. no issue with ADC interrupt preority change.

Thank you

  • Abdul,

    Typically, if you can enter an ISR once and cannot enter it again, the interrupt was not acknowledged.  Check your ISR to make sure it was acknowledged.

    For example, for TX:

    SciaRegs.SCIFFTX.bit.TXFFINTCLR=1;  // Clear SCI Interrupt flag
    PieCtrlRegs.PIEACK.all|=0x100;      // Issue PIE ACK

    And for RX:

    SciaRegs.SCIFFRX.bit.RXFFOVRCLR=1;   // Clear Overflow flag
    SciaRegs.SCIFFRX.bit.RXFFINTCLR=1;   // Clear Interrupt flag

    PieCtrlRegs.PIEACK.all|=0x100;       // Issue PIE ack

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken

  • Abdul,

    It's been a while since I have heard from you last. Therefore, I am assuming that my last reply resolved your issue and I will close this thread. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue. Thank you.

    - Ken

  • Ken,

    Sorry for the delay. Actually there is some problem while configuring SCIA on LaunchxlF28069M. So I tried with SCIB and it works fine.

    Thank you