Skip to main content
Visitor II
October 10, 2024
Solved

For CEC peripheral what kind of trigger can cause TXERR set to one

  • October 10, 2024
  • 2 replies
  • 1534 views

I am developing product using STM32H7A3 series MCU.

In my product we configure CEC peripheral on the MCU in order to use it.

I follow the steps mention in RM.

I conduct a CEC compliance test, and some error detected on CEC_ISR register.

My I know, what can cause the bit TXERR to become 1(meaning transmission error)?

----explanation in RM------

Bit 11 TXERR: Tx-error

In transmission mode, TXERR is set by hardware if the CEC initiator detects low impedance on the CEC line while it is released. TXERR aborts message transmission and clears TXSOM and TXEOM controls.

TXERR is cleared by software write at 1

------------------------------------

It mentions "low impedance detected" but what can cause the low impedance detected?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    It could be something related to your Hardware. Did you connect a 27k pull-up resistor on the CEC line?

    You can refer to the AN4066 "Developing an HDMI-CEC network using an STM32F0xx microcontroller " / Section 2 Hardware environment.

    And maybe also to inspire from STM320518-EVAL HDMI-CEC schematics from here:

    SofLit_0-1728555848642.png

    2 replies

    mƎALLEmAnswer
    Technical Moderator
    October 10, 2024

    Hello,

    It could be something related to your Hardware. Did you connect a 27k pull-up resistor on the CEC line?

    You can refer to the AN4066 "Developing an HDMI-CEC network using an STM32F0xx microcontroller " / Section 2 Hardware environment.

    And maybe also to inspire from STM320518-EVAL HDMI-CEC schematics from here:

    SofLit_0-1728555848642.png

    NRAML.1Author
    Visitor II
    October 15, 2024

    I had confirmed the circuit for CEC line. Yes, I connected the line with 27k pull up. 

    NRAML1_1-1728952298067.png

     

    Super User
    October 10, 2024

    @NRAML.1 wrote:

    what can cause the low impedance detected?


    A short circuit.

    Something actively driving the line.

    NRAML.1Author
    Visitor II
    October 15, 2024

    The test is to check CEC line can response correctly withing the limits of the specification.

    Test condition:

    Connect DUT(Our Product) HDMI out to TE(test equipment) HDMI in. Result are shown as below.

    NRAML1_2-1728953664468.png

    Do you have any idea what is going on. Thank you for the advice in advance.

     

    Technical Moderator
    October 15, 2024

    Hello @NRAML.1 ,

    Your request has been escalated to the ST Online Support Team for additional assistance.