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

About I2S data acquisition and processing

I have a digital microphone chip, it has the CLK, DATA, LR_SEL three pins, now I will pick up the three pin nrf5283 three pin is as follows: CLK connectionI2S_CONFIG_SCK_PIN pin, DATA connection I2S_CONFIG_SDIN_PIN pin , LR_SEL grounding line, adopt the I2S SDK11 routines, collect DATA the results are as follows:

1: 007f/ffff, expected: cafd/caff

1: ffff/ffff, expected: cafd/caff

1: 007f/ffff, expected: cafd/caff

1: 007f/ffff, expected: cafd/caff

1: 0001/ffff, expected: cafd/caff

1: 001f/ffff, expected: cafd/caff

1: 0000/0003, expected: cafd/caff

1: 0001/ffff, expected: cafd/caff

1: ffff/ffff, expected: cafd/caff

1: 0007/ffff, expected: cafd/caff

Questions as follows:

1、 if there is a problem, the hardware connection

2、I think through digital voice of microphone will collect data into the DB value, like sound meter, don't know what do you have a good algorithm to collected data into the DB value

3、 I2S routines m_buffer_rx and actual_sample_l what specific refers to the data?My data operation which data need to use?

4、Whether I2S_CONFIG_LRCK_PIN pin connection does not need.

Related