- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
could anybody help me with configuring the I2S/PCM interface when using A2DP source? (like in the watch demo)
Thanks,
Jeroen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeroen,
Q) We want to put the I2S/PCM interface in slave mode (MCU = master) and change the sample frequency according to our system configuration.
Ans:
In the watch example, we are setting to UART
static tAV_APP_CB av_app_cb;
av_app_cb.audio_route = AUDIO_ROUTE_UART ;
(Referring to watch app )
For setting to I2S,
set av_app_cb.audio_route = AUDIO_ROUTE_I2S ;
Make sure while sending HCI_CONTROL_AUDIO_COMMAND_CONNECT you are setting route to I2S only
while calling wiced_audio_start function, set first argument to WICED_FALSE (mean is_master = WICED_FALSE)
you can set sampling frequency, while sending start you can update
or if you are already streaming you need to stop and start again with different freq.
av_app_cb.audio_sf = 'desired sampling frequency';
Could you please try the above settings?
Thanks & Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeroen,
Could you please confirm which chip you are using? Also please clarify what exactly /which parameters you want to configure for I2S/PCM.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anjana,
We are using the CW20706 (module CYBT-343026).
We want to put the I2C interface in slave mode (MCU = master) and change
the sample frequency b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(Sorry I pressed "send" by accident, my previous message was not complete
yet)
Hi Anjana,
We are using the CW20706 (module CYBT-343026).
We want to put the I2S/PCM interface in slave mode (MCU = master) and
change the sample frequency according to our system configuration.
We have 2 bluetooth modules on our product. If we configure the I2S/PCM
interface in the same way as we do on our other module (which has A2DP sink
and HFP functionality), the software crashes, even if we just try to read
it using "wiced_hal_get_pcm_config".
If you could tell us what the default settings are for the I2S/PCM
interface that would also be helpful.
Please treat this issue with highest priority because we are currently
blocked because of this issue.
Kind regards,
Jeroen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeroen,
Q) We want to put the I2S/PCM interface in slave mode (MCU = master) and change the sample frequency according to our system configuration.
Ans:
In the watch example, we are setting to UART
static tAV_APP_CB av_app_cb;
av_app_cb.audio_route = AUDIO_ROUTE_UART ;
(Referring to watch app )
For setting to I2S,
set av_app_cb.audio_route = AUDIO_ROUTE_I2S ;
Make sure while sending HCI_CONTROL_AUDIO_COMMAND_CONNECT you are setting route to I2S only
while calling wiced_audio_start function, set first argument to WICED_FALSE (mean is_master = WICED_FALSE)
you can set sampling frequency, while sending start you can update
or if you are already streaming you need to stop and start again with different freq.
av_app_cb.audio_sf = 'desired sampling frequency';
Could you please try the above settings?
Thanks & Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Which are the defaults pin to use for I2S? / How I can configure the I2S pin?
I tried to use I2S in master mode and configure the pin with the SuperMux GPIO Pin configuration but the pin stayed low.
Regards,
Thibaut.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi anpm
Is there any update on this? Could you give us some example code maybe
showing A2DP source with PCM/I2S?
Thanks,
Jeroen