WICED™ Studio Forum Discussions
Browse the Community
Featured Discussions
text.format{('custom.tabs.no.results')}
Dear Infineon team,
I am trying to capture the raw data from four I2S microphones running with the CYW943907AEVAL1F (not planning to use a codec). I am using the API within wiced_audio.h (simplified code sample below), and would like to set up both I2S buses for receive. Looking at the API, I was assuming that I can use device IDs AUDIO_DEVICE_ID_I2S_0_ADC / AUDIO_DEVICE_ID_I2S_1_ADC to achieve this, but I have had no luck so far. In order to keep things simple, I have tried to get only one channel running first, with the following results (when calling wiced_audio_init()):
- AUDIO_DEVICE_ID_I2S_0_ADC - all setup succeeds, but mclk(J6.3)/bclk(J6.5)/lrclk(J6.6) lines do not toggle
- AUDIO_DEVICE_ID_I2S_1_ADC - all setup succeeds, but mclk(J6.26)/bclk(J6.29)/lrclk(J6.27) lines do not toggle
- AUDIO_DEVICE_ID_SPDIF_ADC - all setup succeeds, mclk(J6.3)/bclk(J6.5)/lrclk(J6.6) lines DO toggle
- AUDIO_DEVICE_ID_SPDIF_DAC - wiced_audio_init returns failure
Is there anything obvious I am missing in the way I am attempting to set up the I2S subsystem? This is my first foray into the WICED SDK and this chipset, so it is quite possible that I am missing something very basic.
I am using WICED Studio because MODUS Toolbox does not seem to support WiFi Direct (which my project also requires). From my forum searches, it seems WICED Studio SDK 6.x has stripped out previously available (SDK 5.x) audio examples, and all the download links to the 5.x version of the SDK seem to be broken, so I am a bit at wits end.
I appreciate any help/direction.
My project submake has
- GLOBAL_DEFINES += WICED_USE_AUDIO
My project application file is as follows:
// #define AUDIO_DEVICE AUDIO_DEVICE_ID_I2S_0_ADC // Does not activate any clock lines
// #define AUDIO_DEVICE AUDIO_DEVICE_ID_I2S_1_ADC // Does not activate any clock lines
#define AUDIO_DEVICE AUDIO_DEVICE_ID_SPDIF_ADC // Activates I2S_1 clock lines
// #define AUDIO_DEVICE AUDIO_DEVICE_ID_SPDIF_DAC // wiced_audio_init() returns failure
wiced_audio_session_ref mic_pair_1;
void application_start(void)
{
wiced_init();
/* The following call registers the I2S/SPDIF Audio devices */
if (platform_init_audio() != WICED_SUCCESS)
{
WPRINT_APP_INFO(("platform_init_audio FAILED\n"));
}
memset(&mic_pair_1, 0, sizeof(wiced_audio_session_ref));
if (wiced_audio_init(AUDIO_DEVICE_ID_I2S_0_ADC, &mic_pair_1, WICED_AUDIO_DEVICE_PERIOD_SIZE) != WICED_SUCCESS)
{
WPRINT_APP_INFO(("wiced_audio_init FAILED\n"));
}
if (wiced_audio_create_buffer(mic_pair_1, WICED_AUDIO_DEVICE_PERIOD_SIZE * 2, NULL, NULL) != WICED_SUCCESS)
{
WPRINT_APP_INFO(("wiced_audio_create_buffer FAILED\n"));
}
wiced_audio_config_t config;
// config.period_size = WICED_AUDIO_DEVICE_PERIOD_SIZE; /* Default set in wiced_audio.h */
config.sample_rate = 16000; /* See i2s_pll_config for list of all possible sample rates*/
config.bits_per_sample = 16; /* Assuming this is Data Bits, between 8-32, default 16. */
config.channels = 2;
config.frame_size = (config.bits_per_sample * config.channels) / 8;
config.volume = 100; /* Percent attenuation */
if (wiced_audio_configure(mic_pair_1, &config) != WICED_SUCCESS)
{
WPRINT_APP_INFO(("wiced_audio_configure FAILED\n"));
}
if (wiced_audio_start(mic_pair_1) != WICED_SUCCESS)
{
WPRINT_APP_INFO(("wiced_audio_start FAILED\n"));
}
WPRINT_APP_INFO(("Audio started\n"));
}
Show Less
Hi
Customer is developing with Murata 1GC on WICED.
They are sending with ux_device_class_cdc_acm_write. It is blocking.
It will stuck if other side close the port. Customer is looking for "ux_device_class_cdc_acm_write_with_callback" which is not available with WiCED.
Right now, it can only exit if they unplug the USB.
Thanks,
Show Less
Hello.
I have the sequent problem:
I have developed a board with CYW943907 and an FPGA.
I have to store FPGA configuration file (1.5Mbyte of size) in the external FLASH (8MByte of size).
I read WICED-Resource-Filesystem.pdf and I understand that I can put the FPGA configuration file in resources/apps/<MY_APP>/fpgaConfig.bin.
I can read fpgaConfig.bin with resource_get_readonly_buffer and I'm happy.
But my problem is that in the future it might be possibile to update this file but I cannot find any resource_write_readonly_buffer API to do this operation.
I'm not sure but I understand that OTA can only update APP and not resource.
Can some one help me ?
Show Less
Hello Infineon support team.
Our customer requests us AAC codec support for both A2DP/SINK and A2DP/SRC.
According to following thread, CYW20721 support AAC for A2DP/SINK. But no mention for A2DP/SRC.
https://community.infineon.com/t5/Studio-Bluetooth/Does-WICED-6-2-support-A2DP-AAC-codec-on-CYW20706-and-CYW20719/td-p/138910
https://community.infineon.com/t5/Bluetooth-SDK/The-kinds-of-bluetooth-audio-codec-of-CYW20721/td-p/245281
Please tell me which BT chip support AAC codec for both A2DP/SINK and A2DP/SRC.
Thanks,
Tayo
Hi Team,
I am using wiced_6.6 studio and we use BCM43362 chip, I need to understand How to identify mfg_firmware version number
There is bin file for that and I converted into hex array but In my project I need to print mfg firmware version number, So Where can I find mfg_firmware version number?
It would be great help to us If you could help for the same.
Thanks
Kaushal Panchal
I am using the CYW943907AEVAL1F and am trying to run the ping_ethernet snip
this is the result
WICED_core Initialized
Initialising NetX_Duo v5.12
Creating Packet pools
Ethernet MAC Address : 58:D5:0A:BF:54:51
ethernet: up
Obtaining IPv4 address via DHCP
starting
Platform CYW943907AEVAL1F initialised
=== EXCEPTION ===
Debug event (e.g. breakpoint)
DFSR : 0x00000000
DFAR : 0x00000000
IFSR : 0x00000002
IFAR : 0x004B4332
CPSR : 0x000001D7
R0 : 0x00000001
R1 : 0x12000000
R2 : 0x00000080
anyone any ideas at all ?
Show LessHi!
We have encountered an error in the http client library.
The expression in image #1 can cause the request (image #2) to be cleared when there is still data coming from the server.
As we understood this happens when the packet size is the same as the fragment size (response_info->total_remaining_length == fragment_available_data_length).
Is there any solution for this bug from the developers?
image #1
image #2
Show Less
Hi
I want to know whether BCM43362A2 will support WPA3 security in Wiced 6.6 SDK.
Hi Team,
I am upgrading Wiced_2.3 library to wiced_6.6 library, I used BCM9WCDUSI09 platform folder in wiced_2.3 library however I could not find this folder in wiced_6.6 library, Which one should I use in Wiced_6.6 library ? Below is some information about chips and controller
WLAN_CHIP := 43362
WLAN_CHIP_REVISION := A2
WLAN_CHIP_FAMILY := 43362
HOST_MCU:= STM32F2xx
Please help me where should I look for same, It would be great help for me If you guys could help me as soon as possible.
Thanks
Kaushal Panchal
Hi,
I have to upgrade the code from Wiced 2.3 to Wiced 6.6 in which I used Platform BCM9WCDUSI09.
In platform BCM9WCDUSI09 for WLAN BCM43362A2 is used, which is not available in Wiced 6.6.
Can I used old platform i.e BCM9WCDUSI09 in Wiced 6.6 with lates WLAN firmware 5.90.230.38.
If yes then how should I proceed further.