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/TMS320F28069: TMS320F28069

Part Number: TMS320F28069

Tool/software: Code Composer Studio

hi,

I am using TMS320F28069 development board. In development board  i am using SCI-A module receiving through Interrupt method getting interrupt properly. With same Initialization using in my custom board i am not getting interrupt, I tried polling method that is working fine.  And also checked the GPIO28 it is working fine(as output) . What are the reasons for not getting interrupt(SCIARX) in custom board? please reply to issue.......,i also checked SCI-B module working fine in interrupt method.

with regards

P M Manoj Kumar.

  • Manoj,

    If the code is working properly on our development board and not your custom board, then this might be a hardware issue. Which development board are you using - controlCARD or LaunchPad? I suggest comparing our schematic to your custom board schematic. Also, GPIO28 should be set as SCIRXDA, which is an input (not output). Likewise, GPIO29 should be set as SCITXDA, which is an output. Did you include the needed transceivers on your board?

    - Ken
  • hi Ken,

    I am Using ControlCARD. In my custom board transceiver IC is available i.e, ADM3491(RS-422). I also checked  with oscilloscope both RX and TX levels are fine that is working fine. I have a doubt in GPIO configuration after selecting MUX's, GPIO Direction is required or not. even though code is working in development board, and i will check once my schematics.

    thank you Ken,

    with regards,

    P M Manoj Kumar

  • Hi,

    Today i observed one more thing that is SCI-B module clock disabling SCI-A module Interrupt is working fine. In my Code i am using both modules SCI-A and SCI-B , what is the reason ?

    with regards,
    P M Manoj Kumar
  • P M Manoj,

    When the pin is set for SCI the direction configuration is not necessary. The direction is only needed for GPIO. If I understand you correctly, you are using both SCI-A and SCI-B. When both module clocks are enabled, you have an issue with SCI-A interrupt, but when you disable SCI-B, SCI-A interrupt works properly. Do I understand this correctly? If so, check for an interrupt conflict.

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

    - Ken
  • Hi Ken,

    Both SCI-A & SCI-B both are same group in PIE Module, so how to check interrupt conflict?

    With Regards,
    P M Manoj Kumar.
  • P M Manoj,

    For each SCI-A and SCI-B I wanted to make sure that you have:

    SCI-A:
    PieCtrlRegs.PIEIER9.bit.INTx1 = 1;
    PieCtrlRegs.PIEIER9.bit.INTx2 = 1;
    IER |= 0x0100;

    SCI-B:
    PieCtrlRegs.PIEIER9.bit.INTx3 = 1;
    PieCtrlRegs.PIEIER9.bit.INTx4 = 1;
    IER |= 0x0100;

    And that you did not have an accidental copy and paste error. Could you please provide additional information, such as a snippet of the code?

    - Ken