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.

TMS320F28023 , Piccolo Series

Other Parts Discussed in Thread: TMS320F28023

Hello Everyone,

A customer wants to use the TMS320F28023 chip but they would like to know if this device support a hardware.software LIN interface?

Considering SCI interface is one of the modules on board, the answer they are expecting is "hopefully yes", but they would like confirmation of this. Also if anyone can point me to relevant code example, API etc. With LIN implementation?, this would be great.

Regards,

S.Chatterjee

 

  • S,

    2802x series does not have hardware LIN.  You need to go to the 2803x series for that.  I suppose you could do the LIN bus in software using the SCI, but I believe there would be a lot of software overhead.  I am not familiar with this, as I've never done it.

    Regards,

    David

  • Sutirtha,

     Yes, you can emulate LIN using the SCI, but as Dave mentioned it involves a lot of software overhead. Depending on the application, it may not be feasible. Dedicated LIN hardware relieves CPU load.

    For a s/w implementation, tasks that would need to be taken care of by either a hardware timer module or a software timer:
        - Keep track of timeslots by master task (all nodes expecting a frame).
        - Detect start of a frame. A stream of zeroes for more than a 0x00 byte frame (9 zeros), usually 11 zeros threshold is used here.

    Customer may be better off with a hardware LIN.

  • Hi,

     Thanks for the info. Will  check it out with the customer.

     Thanks,

    Sutirtha

  •   A third party, D3 Engineering, did this for a customer. I believe the software LIN implementation consumed at least half the MIPS on a 60MHz F2802.

     

    Andy