This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

i2s How to get data .

Hi:

 How to get sine_table[] data,like this.

int16_t sine_table[]= {0,0,23170,23170,32767,32767,23170,0,0,-23170,-23170,-32768,-32768,-23170,-23170}; 

NRF_I2S->TXD.PTR=(uint32_t)&sine_table[0];
 NRF_I2S->RXTXD.MAXCNT=sizeof(sine_table)/sizeof(uint32_t);
 NRF_I2S->TASKS_START=1;  

I only have WAV files, such as tone.But I don't change it.

Parents Reply Children
Related