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.

TMS570LS3137-HDK SCILIN NOT WORK (Second SCI)

Other Parts Discussed in Thread: HALCOGEN, TMS570LS3137

I can use SCI1 which is embeded ft232-usb.

I enabled SCI2 driver. I selected HET1 and SCI at PIN MUXING. Than i tried to send data same as SCI1. But no data sended....Even i read hercules sci article.

I need a working example about SCI2 which is on HET1_13 and HET1_06.

  • In TMS570LS3137 device you have SCI and LIN module. LIN can be used as SCI too in compatibility mode. Hence we have SCI and SCI2 ( LIN configured as SCI) in HALCoGen.

    In HALCoGen

    1) GUI we call SCI as SCI and in driver it is pointed as sciREG. This module pins are muxed with HET1, whose conflict has to be resolved in the pinMux tab.

    2) GUI we call SCILIN ( LIN configured as SCI) as SCI2 and in driver it is pointed as scilinREG. This is actually connected to the FT232-USB. Inorder to use SCI2 ( LIn configured as SCI) NO PINMUX is needed.

    Do you have working code for SCI2 ( Lin configured as SCI)? , you can find one in the HALCoGen help--> Help Topin --> Examples --> example_sci_uart_9600.c.

    THere is no difference between SCI and SCI2( LIN configured as SCI) interms of driver configuration other than the PinMux which is configured outside SCI driver.

    Regards
    Prathap

  • hmm..

    So i can use scilin.

    i found that example and plus pin muxing for sciREG. But it didnt work..

    het1_13 and het1_06 dont give me an signal.

    what is resolving conflict ?

  • What I meant "Resolving Conflict"  is to go to PINMUX tab and check only SCI if you are not using HET1. (or) If you are using HET1 then make sure you uncheck HET1_13 and HET1_06 in the N2 and W3 row so that SCI pins are selected.

    You can also see the moment HET1 and SCI are selected in PINMUX, in HALCoGen Output Window you see "New Conflict on Ball N2"  and New Conflict on Ball W3". Once you uncheck HET1_13 and HET1_06 in the N2 and W3 row, "Conflict cleared on Ball N2" and "Conflict cleared on Ball W3"