AnsweredAssumed Answered

Capture audio data fail by tinycap

Question asked by kenny chou on Nov 29, 2016
Latest reply on Nov 30, 2016 by kenny chou

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

Outcomes