AnsweredAssumed Answered

TDM driver is not working on P1025rdb board

Question asked by Amanaganti VinodKumar on Aug 17, 2015
Latest reply on Aug 22, 2015 by Amanaganti VinodKumar

Hi supporting community.

 

We are working on TDM interface on P1025rdb board, with SDK1.3.2.

 

1>  Programmed QE with "fsl_qe_ucode_1021_10_A.bin" file.

2> Changed Device-tree file for internal-loopback mode

3> Provided external clock supply for  clock and sync for TDM_C interface (ce_pb6(frame sync), ce_pb11(clock)).

4> Compiled ucc_tdm_test.c as loadable module.

 

TDM probe is called and it is configured in loopback mode.

When ucc_tdm_test.ko module is loaded with loopback mode, it is writing data to TDM device, but got stuck in reading the data.

 

According to my understanding processor is not getting any interrupt from QE related TDM. Hence blocked in wait_event_interruptible function call inside ucc_tdm_read().

 

Please guide us in fixing the issue, as it is blocking further development.  Here I attached the used .dts file and the logs

 

Your help is appreciated.

We are working on TDM interface using P1025rdb board, with SDK1.3.2.

Programmed QE with "fsl_qe_ucode_1021_10_A.bin" file.
Changed Device-tree file for internal-loopback mode
Provided external clock supply for  clock and sync.
Compiled ucc_tdm_test.c as loadable module.

TDM probe is called and it is configured in loopback mode.
When ucc_tdm_test.ko module is loaded with loopback mode, it is writing data to TDM device, but got stuck in reading the data.

According to my understanding processor is not getting any interrupt from QE related TDM. Hence blocked in wait_event_interruptible function call inside ucc_tdm_read().

Original Attachment has been moved to: p1025rdb_32b.dts.zip

Original Attachment has been moved to: tdm_internal_loopback_logs.txt.zip

Outcomes