hdmi mxc_cec_test.out function is not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hdmi mxc_cec_test.out function is not working

2,524 Views
weikeng-jimmy
Contributor III

Hi SIr,

We would test HDMI CEC function. I open the Device Drivers > MXC HDMI CEC support.
We would use mxc_cec_test.out to get version and poweroff TV. But nothing is happen.
The message as below.

./mxc_cec_test.out
Start CEC testing!
sleep for ready!
  Try to get CEC Version !
------------------------->   Power off TV   <-----------------------
end of test!

My BSP is L3.0.35.4.1 . Test environment is Sabre-SD board.

Can you help me how to use the test function ! Thanks!

0 Kudos
12 Replies

1,644 Views
jimmychan
NXP TechSupport
NXP TechSupport

mxc_cec_test is not a complete code.

0 Kudos

1,644 Views
YixingKong
Senior Contributor IV

Jimmy, it is suggestive that you ask the customer to create DI next time in i.MX Community where the information could be shared by everyone.

Regards,

Yixing

0 Kudos

1,644 Views
yuming_lin
Contributor II

Hi Yixing Kong:

I am following the issue always. Please help to check it.

Thanks~

Yuming

0 Kudos

1,644 Views
YixingKong
Senior Contributor IV

Jimmy, this DI had been closed. If you still have questions please let me know.

Regards,

Yixing

0 Kudos

1,644 Views
weikeng-jimmy
Contributor III

Hi JIMMY,

According to "i.MX_6Dual6Quad_Linux_Reference_Manual.pdf" comes along with 4.1.0 Linux BSP-docs for MX6Q, in "chapter 11 HDMI", page 102, it said "$/unit_test/mxc_cec_test" can be used to simple verify HDMI CEC function, and it also said HDMI CEC will send Poweroff command to HDMI sink after execute the command.

This is really confusing, can "mxc_cec_test" do what it said in BSP reference manual? Or it's not a complete code?(so what's the purpose of this test command?) Could you please escalate this item to AE/R&D?

0 Kudos

1,644 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Default, the HDMI CEC was not enabled in kernel, you need enable it first in imx6_defconfig:

#

# MXC HDMI CEC (Consumer Electronics Control) support

#

# CONFIG_MXC_HDMI_CEC is not set

And you also need make sure the TV supports HDMI CEC.

0 Kudos

1,644 Views
weikeng-jimmy
Contributor III

Hi Qiang,

My kernel had CEC  config setting as below.

#

# MXC HDMI CEC (Consumer Electronics Control) support

#

CONFIG_MXC_HDMI_CEC=y

And I found the CEC waveform not match HDMI-CEC spec. The HDMI CEC spec describe the start bit must be 3.5 ~ 3.9 ms . But we are only 2.793 ms.

The attachment file is imx6 CEC waveform.cec.bmp

0 Kudos

1,644 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Jimmy, did you measure it on SabreSD or customer's board?

From HDMI side, I haven't found any setting to adjust this timing.

0 Kudos

1,644 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Jimmy, on SabreSD, we had measured the CEC signal, the start bit is about 3.6ms, which board are you used for the test?

Can you attach detail waveform?

0 Kudos

1,643 Views
weikeng-jimmy
Contributor III

My BSP is Linux version L3.0.35_4.1.0 And test platform is Sabre-SD board.
The attach file is waveform for first command.   --> Try to get CEC Version !IMAG0444.jpg

0 Kudos

1,644 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

I'm not sure where there will be different result in your side and my side, do you check on other SabreSD board?

0 Kudos

1,643 Views
weikeng-jimmy
Contributor III

Can you give me your workable SDP board version ?

My SDP number : SCH27392 REV C3

0 Kudos