Capture audio data fail by tinycap

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

Capture audio data fail by tinycap

1,220 Views
kennychou
Contributor I

Hi all,

I would like to use SSI 1 to capture audio data in I2S slave mode and format as below:

Capturing sample: 1 ch, 8000 hz, 16 bit

but got all zero data when using tinycap.

I found there is no data in SRXn but got data in RFCNTn,

please help to show me the way to debug it.

Dump registers of SSI 1:

STX0      REG 0 = 0       
STX1      REG 4 = 0       
SRX0      REG 8 = 0       
SRX1      REG c = 0       
SCR        REG 10 = 1115   
SISR       REG 14 = f013   
SIER       REG 18 = 1d035f7
STCR      REG 1c = 38d    
SRCR      REG 20 = 38d    
STCCR    REG 24 = e100   
SRCCR    REG 28 = e100   
SFCSR    REG 2c = b0ddc0dd
STR         REG 30 = 1103   
SOR         REG 34 = 0      
SACNT     REG 38 = 0      
SACADD  REG 3c = 0      
SACDAT   REG 40 = 0      
SATAG     REG 44 = 0      
STMSK     REG 48 = 0      
SRMSK     REG 4c = 0      
SACCST   REG 50 = 0      
SACCEN   REG 54 = 0      
SACCDIS  REG 58 = 0      

BR,

Kenny

0 Kudos
Reply
3 Replies

896 Views
kennychou
Contributor I

Hi igor,

Got it , thank you very much.

Best regards,

Kenny

0 Kudos
Reply

896 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kenny

in general debugging could be done starting with drivers

described in Linux Manual in documentation on

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

and AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors

http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf 

Best regards
igor

0 Kudos
Reply

896 Views
kennychou
Contributor I

Hi all,

Please ignore this question since I had found hardware issue on my platform.

Thanks,

Kenny

0 Kudos
Reply