query on WS configuration

By satyanaganlttscom , 25 May 2020

Hi Jin,
Thank you for the reply(please check this query thread Testing the ICS43434).

Are you using our EVBs to run the tests, or you built your own board?
i am using MSP432P4111 EVM board for testing the Acoustic sensor.

On the relationship of WS and CLK, are you following the timing diagram in the datasheet?
As i am connecting only one ICS34343(it is considered that the I2S communication is MONO communication),whether the toggling the WS for every 32 clock cycles is required?
in my schematic the WS and LR pins are directly connected to the GPIO’s of MSP432.
i am making the GPIO pins which are connected to low and testing.

LR is a striping pin. Use a resistor to connect to GND or VDD, depending on which level of WS you want to output data
With regards to this point, can you please share the exact connection, on how to connect to VDD or GND?
please share the resistor values, which i can use to connect the GND pin to LR, if possible please share the image with the connection.

On the relationship of WS and CLK, are you following the timing diagram in the datasheet?
with regards to this point, whether you are suggesting to use a timer which can toggle at every 32 clock pulses?
otherwise it is fine to make the GPIO pin connected to the WS to low always, so that i can expect output?

Your data is not clear to me. PCM data is presented in 2’s compliments
in my software code, my input buffer is declared with unsigned int, because of which my values are loaded with 255(0xff)

please consider this query with high priority, so that i can move forward with my testing.
Thank you,
Maniram

jijiang

5 years 9 months ago

Hi Maniram,

Are you using our EVBs to run the tests, or you built your own board?
I am using MSP432P4111 EVM board for testing the Acoustic sensor.

I really meant if you were using our flex EVB to run tests, or you soldered the microphone through an assembly process. There is always a risk when going through assembly due to the fact that contaminants can get into the acoustic port impacting microphone performance.

It has to be 32 clocks per WS level. Otherwise it would not work. Connect LR pin via a resistor to GND. This is a power on striping pin. Sample schematics is in datasheet. You can use a 10K Ohm. You can search for "PCM audio data" to find more details on how the format looks like. Assuming it is 16 bits, the first bit is a sign bit with 0 being positive, and 1 being negative. When this is no acoustic stimulus, you should get b'0000 0000 0000 0000. The highest possible data is b' 0111 1111 1111 1111. The most negative data would be b' 1000 0000 0000 0000

Hope this helps.

phpbb Post ID
38472
phpbb Topic ID
38471