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.

TMS570LC4357: N2HET Emulated Serial Port

Part Number: TMS570LC4357

Dear Ti Team

I have read the following post:
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1504690/tms570ls0432-n2het-emulated-uart

image.png

I may need to use the N2HET1 to emulate three serial ports. Is this feasible? If serial ports are emulated on the N2HET1, can the other HET pins still be operated as regular I/O pins? (Using the gioSetBit function)

  • Hi Shuo,

    I may need to use the N2HET1 to emulate three serial ports. Is this feasible?

    No, it is not possible. This is because as mentioned in app note the instruction required for one UART is 21 and available time slots are 60 only, so if we try to use 3 UARTs then the total required instructions will become 63 and available time slots are just 60 and this will break time window and UART might misbahve.

    Here are the couple of options you can try:

    1. Use both HET's N2HET1 and N2HET2. Implement 2 UARTs on N2HET1 and other one UART on N2HET2.

    2. At lower baud rates more instances may become possible.

    If serial ports are emulated on the N2HET1, can the other HET pins still be operated as regular I/O pins? (Using the gioSetBit function)

    Yes, other HET pins still be operated as regular I/O pins. Because GPIO functionality of HET pins doesn't have any dependency over HET program/instructions.

    --
    Thanks & regards,
    Jagadish.

  • Hi,gundavarapu

    Thank you for your reply. This has resolved my issue. Should I encounter any further problems, I will consult you again. Thank you for your help.