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.

HALCoGen SCI transmit interrupt generation error

Other Parts Discussed in Thread: HALCOGEN

Hi.

 

I'm using RM48HDK with HalCoGen3.01.

When I generate the SCI or LIN serial interrupt, it does'nt generate the transmit interrupt enable bit.

I post the sci.c source code.

 

    /** - set interrupt enable */    

scilinREG->SETINT = (0 << 26)  /* Framing error */                   

 | (0 << 25)  /* Overrun error */                    

| (0 << 24)  /* Pariry error */                    

 | (1 << 9)  /* Receive */                    

 | (0 << 1)  /* Wakeup */                    

 | (0);  /* Break detect */

 

Thank you

 

  • Seonqjin,

    Thanks for using our forum.

    I've replied to a similar question in the following thread:
    http://e2e.ti.com/support/microcontrollers/hercules/f/766/t/188037.aspx

    Can you check and try the code I've provided?

    Basically, SCI Transmit interrupt with Halcogen need to be used in conjunction with the sciSend routine provided by Halcogen.
    If you are trying to use HalCoGen just for the sci initialization, interrupt will not work.

    Please let me know if you need more details.

    Regards,

    Jean-Marc

  • Seonqjin,

    Could you let me know if your problem has been solved with my answer?

    If this is the case, could you mark it has "Verified Answer" so I can close this thread?

    Thanks and Regards,

    Jean-Marc