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.

TMS320F28P550SJ: SCIA_TX pin state and pull-up behavior during SCI boot

Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: C2000WARE

Hi expert,

According to the Technical Reference Manual (Rev.D), Figure 4-5 (Overview of SCI Boot Function), it states that:
"Enable the SCIA TX and RX pin functionality and pullups on TX and RX"
However, I would like to clarify the actual behavior of the TX pin during SCI boot.

From C2000Ware boot ROM source (bootloader_sci.c), I can confirm that the RX pin has an explicit pull-up configuration:
GPIO_setPadConfig(gpioRx, GPIO_PIN_TYPE_PULLUP);
But I could not find similar explicit configuration for the TX pin.

In our hardware, we observe that:
- During SCI boot (before autobaud lock), TX line sometimes stays Low
- Adding an external pull-up resistor (10kohm) stabilizes the communication

Based on this, I would like to confirm the following:

1. During SCI boot, does Boot ROM explicitly enable internal pull-up on SCIA_TX pin?
2. If yes, what is the effective strength (resistance or equivalent behavior) of that pull-up?
3. At what point is SCIA_TX driven as an active push-pull UART output (Idle High)?
4. Before SCI TX output becomes active, what is the electrical state of the TX pin (Hi-Z, input, weak pull-up, etc.)?
5. Is external pull-up on TX recommended to guarantee stable SCI boot operation in some conditions?

Any clarification would be greatly appreciated.

Best regards,
Ibuki Endo

  • Hi Ibuki,

    For SCI on F28P55x, the module expects the RX line to be connected to a pull-up. For the TX pin, the F28P55x expects the connected RX pin of an external device to also be pulled up. However since there is a pul-up in the F28P55x GPIOs that can be enabled, you could just use this instead (this is likely what the TRM is referring to. There is some more information about this in this SCI FAQ.

    As you pointed out, it doesn't look like the code in the SCI bootloader enables the pull-up on the TX pin. By default, internal pull-ups are disabled on the device.

    I will try to get to the rest of your questions by next week.

    Best Regards,

    Delaney

  • Hi expert,

    Thank you for your reply.

    It was very helpful.

    I look forward to the remaining answers as well.

    Best regard,

    Ibuki Endo

  • Hi Ibuki,

    Please expect a response back next week.

    Best Regards,

    Delaney

  • Hi Ibuki,

    The expert on this is out of office until Jul 29th, please expect a delay in response and thank you very much for your patience

    Regards,

    Peter

  • Hi expert,

    I would like to follow up on this thread.

    The customer confirmed the following:

    • SCIA_TX remains low even when the RS-232 driver is disconnected.
    • SCIA_TX remains low until the autobaud response.
    • Adding a 10 kΩ pull-up resistor on SCIA_TX resolves the issue.

    Could you please provide any update on this investigation?

    Also, is there any way to enable the SCIA_TX pull-up through device/software configuration during SCI boot, without adding an external pull-up resistor?

    The customer is currently evaluating whether a hardware modification is required, so any update would be greatly appreciated.

    Best regards,
    Ibuki Endo

  • Thanks Ibuki for the additional infor/questions. Delaney will be back today to respond.

  • Hi expert,

    I would like to follow up on this topic.

    Could you please let us know if there are any updates on the investigation?

    The customer is waiting for the result to determine whether a hardware change is necessary.

    Thank you for your support.

    Best regards,
    Ibuki Endo

  • Hi Ibuki,

    Please allow me one more day to look into this, I am consulting another expert.

    Best Regards,

    Delaney

  • Hi Ibuki,

    Apologies for the long delay here. One correction from my earlier response, the SCI TX pin actually does get configured for pullup in the SCI_Boot() sequence. This line is after the autobaud lock and read of the received character. The TX IO is pulled up before transmitting the received character back out on TX line.

    We don't explicitly provide the resistance value of the internal pullups, but they can assume this is a very weak pullup (around 20k-50kohms). 

    Have they tried stepping through the SCI boot sequence with the symbols loaded to see the state on the TX pin at each point? You can use the instructions here to see how to load and step through the SCI boot symbols on the device. Technically you don't need to do anything with the flash kernel to test this, if you just want to send 'a' or 'A' to the SCI RX pin with an external device. 

    Best Regards,

    Delaney