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.

TMS570LS1227: TMS570LS1227

Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN

Hi All,

My project based is based on Hercules TMS570LS1227 . I have to implement the Serial Communication based on interrupt mode. I have show the SCI API but not able to understand how to configure

and use SCI in interrupt mode. Its appreciable if  anyone share the sample code for SCI-RX and SCI-TX interrupt and procedure document.

Thanks,

Anil

Appreciable

  • Hello Anil,

    This thread is discussing implementation of the SCI Rx interrupt. The same approach can be used for the Tx interrupts.
    e2e.ti.com/.../351762

    Also, in the examples included with Halcogen, there are several examples that use interrupts. the process for setting up the interrupts should be very similar with respect to enabling in Halcogen, defining the function as an interrupt (using a pragma statement), enabling/disabling interrupts, etc. There is actual code in the C:\ti\Hercules\HALCoGen\v04.07.00\examples\TMS570LS12x_11x directory and you can see the step by step directions in the help content within Halcogen (help-->help topics-->emxamples)
  • Hello Chuck,

    I have checked example but its not based on interrupt. I have found some reference source code from this community and trying to use it.

    Following step taken

    1.  Enable the Driver

    2.  Enable the Rx AND Tx interrupt

    3. Data format

    4. SCI/LIN port

    5. VIM Channel (0-30) where LIN1 High Enabled

    6. Code used for testing RX and TX interrupt (Pls find the attached code )

      -> I have enabled the loopback mode for testing but not able to receive any data when received function called. Please check and let me suggest what is wrong with this code.

    Thanks,

    Anil

    7635.sys_main.c6242.scidriverHALCoG.docx

  • Hello Chuck,

    Awaiting for your reply ....

    Thanks,
    Anil