Skip to main content
NRAML.1
Associate II
October 10, 2024
Solved

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

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.
mƎALLEm
mƎALLEmBest answer
ST 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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

6 replies

mƎALLEm
mƎALLEmBest answer
ST 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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
NRAML.1
NRAML.1Author
Associate 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

 

Andrew Neil
Super User
October 10, 2024

@NRAML.1 wrote:

what can cause the low impedance detected?


A short circuit.

Something actively driving the line.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
NRAML.1
NRAML.1Author
Associate 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.

 

mƎALLEm
ST Technical Moderator
October 15, 2024

Hello @NRAML.1 ,

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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.