I guys, I need some advice please.
I have just ordered my Teensy 3.1 and would like to use it for a sound localisation project. I need to be able to sample multiple (probably 3 or 4) microphones simultaneously. I was thinking of using the following MEMS microphone: http://www.invensense.com/products/digital/ics-43432/ because it takes care of the analog/ADC part internally and outputs I2S.
I know that the Teensy 3.1 has a I2S pin, but I need to sample multiple simultaneously, so I suspect some bit banging is required. I was thinking of just connecting the MEMS I2S outputs to different pins on the same port and then reading in the entire port repeatedly. The part that I am not too sure about is the SCK pulse that I would supply to the MEMS.
I imagine I would just tie all of the SCK pins together and toggle it programatically from the Teensy?
I would like to sample the audio as fast as possible, if my calculations are correct to sample at 96KHz, I would need to read at a rate of(96K * 32 = approx 3MHz. Since this MEMS uses 32 bits per word (They seem to pad up the 24 bit sample resolution to 32 bits, not sure why). Is 3MHz attainable with the Teensy 3.1?
Once my buffer fills up I am going to flush this data to a raspberry pi 2 over UART before starting the read cycle again.
Any comments or suggestions would be most appreciated.
Thanks a mill
I have just ordered my Teensy 3.1 and would like to use it for a sound localisation project. I need to be able to sample multiple (probably 3 or 4) microphones simultaneously. I was thinking of using the following MEMS microphone: http://www.invensense.com/products/digital/ics-43432/ because it takes care of the analog/ADC part internally and outputs I2S.
I know that the Teensy 3.1 has a I2S pin, but I need to sample multiple simultaneously, so I suspect some bit banging is required. I was thinking of just connecting the MEMS I2S outputs to different pins on the same port and then reading in the entire port repeatedly. The part that I am not too sure about is the SCK pulse that I would supply to the MEMS.
I imagine I would just tie all of the SCK pins together and toggle it programatically from the Teensy?
I would like to sample the audio as fast as possible, if my calculations are correct to sample at 96KHz, I would need to read at a rate of(96K * 32 = approx 3MHz. Since this MEMS uses 32 bits per word (They seem to pad up the 24 bit sample resolution to 32 bits, not sure why). Is 3MHz attainable with the Teensy 3.1?
Once my buffer fills up I am going to flush this data to a raspberry pi 2 over UART before starting the read cycle again.
Any comments or suggestions would be most appreciated.
Thanks a mill