You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to read multi-channel I2S data for sound source localization. And I have 8 I2S microphones, using I2S0 on K210 to read them and met some issues:
I am wondering how to set the parameter "uint32_t channel_mask" correctly? Which is in function "void i2s_init(i2s_device_number_t device_num, i2s_transmit_t rxtx_mode, uint32_t channel_mask)"
I already checked the params' brief introcduction of i2s_init():
/**
Workarounds
Hi,
I want to read multi-channel I2S data for sound source localization. And I have 8 I2S microphones, using I2S0 on K210 to read them and met some issues:
I already checked the params' brief introcduction of i2s_init():
/**
*/
It seems that the parameter "channel_mask" will decide which channel work.
/**
*/
void i2s_rx_channel_config(i2s_device_number_t device_num,
i2s_channel_num_t channel_num,
i2s_word_length_t word_length,
i2s_word_select_cycles_t word_select_size,
i2s_fifo_threshold_t trigger_level,
i2s_work_mode_t word_mode);
Note that this function has a parameter "i2s_channel_num_t channel_num", it also seems to be related to channel selection.
How to set the param "channel_mask" in function "i2s_init()" and the param "channel_num" in function "i2s_rx_channel_config"? many thanks!
The text was updated successfully, but these errors were encountered: