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
Hi igor,
Got it , thank you very much.
Best regards,
Kenny
Hi Kenny
in general debugging could be done starting with drivers
described in Linux Manual in documentation on
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
Hi all,
Please ignore this question since I had found hardware issue on my platform.
Thanks,
Kenny