Wireless Connectivity Forum Discussions
Browse the Community
AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos
AIROC™ Wi-Fi MCUs
AIROC™ Bluetooth
Featured Discussions
Hi Community,
We are testing Bluetooth Radio Receive on Infineon chip CYW54591 by the steps provided from the below document:
1. Installed ModusToolbox
2. Created an empty application project (haven't downloaded to the device).
3. Ran the wmbt tool from: "C:\Users\<username>\mtw\mtb_shared\wiced_btsdk\tools\btsdk-utils\<branch>\wmbt".
4. Below are the commands we used to test Bluetooth Radio Receive. But we couldn't get any statistics report as the document claimed "The WMBT reports connectionless Rx Test statistics every second."
C:\Users\aa\mtw\mtb_shared\wiced_btsdk\tools\btsdk-utils\release-v4.4.1\wmbt\bin\Windows>set MBT_BAUD_RATE=115200
C:\Users\aa\mtw\mtb_shared\wiced_btsdk\tools\btsdk-utils\release-v4.4.1\wmbt\bin\Windows>set TRANSPORT_MODE=0
C:\Users\aa\mtw\mtb_shared\wiced_btsdk\tools\btsdk-utils\release-v4.4.1\wmbt\bin\Windows>wmbt reset COM8
MBT_BAUD_RATE: 115200
TRANSPORT_MODE: 0 (HCI)
Opened COM8 at speed: 115200
Close Serial Bus
Opened COM8 at speed: 115200
Sending HCI Command:
0000 < 01 03 0C 00 >
Received HCI Event:
0000 < 04 0E 04 01 03 0C 00 >
Success
Close Serial Bus
C:\Users\aa\mtw\mtb_shared\wiced_btsdk\tools\btsdk-utils\release-v4.4.1\wmbt\bin\Windows>wmbt receive_only COM8 2402
MBT_BAUD_RATE: 115200
TRANSPORT_MODE: 0 (HCI)
Opened COM8 at speed: 115200
Close Serial Bus
Opened COM8 at speed: 115200
Sending HCI Command:
0000 < 01 2B FC 01 02 >
Received HCI Event:
0000 < 04 0E 04 01 2B FC 00 >
Success
Close Serial Bus
C:\Users\aa\mtw\mtb_shared\wiced_btsdk\tools\btsdk-utils\release-v4.4.1\wmbt\bin\Windows>wmbt radio_rx_test COM8 A0510B9D2618 2402 4 0 10 17
MBT_BAUD_RATE: 115200
TRANSPORT_MODE: 0 (HCI)
Opened COM8 at speed: 115200
Close Serial Bus
Opened COM8 at speed: 115200
Sending HCI Command:
0000 < 01 52 FC 0E 18 26 9D 0B 51 A0 E8 03 00 04 00 0A >
0010 < 11 00 >
Received HCI Event:
0000 < 04 0E 04 01 52 FC 00 >
Success
Radio RX Test is running. Press the Enter key to stop the test.
A key pressed. Stop the Radio Rx Test.
Close Serial Bus
Opened COM8 at speed: 115200
Sending HCI Command:
0000 < 01 03 0C 00 >
Received HCI Event:
>
Close Serial Bus
May I know how to get the Rx Test statistics report? Thank you
Show Less
Could anyone kindly point me to a current link to the CySmart Android source code. The links that I was able to locate seem broken.
Kind regards,
Ralph
Show LessReference design for BGT24ATR11, currently ready to use this chip for radar level meter.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AIROC-%E8%93%9D%E7%89%99/BGT24ATR11-%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E8%80%83%E8%AE%BE%E8%AE%A1-%E7%9B%AE%E5%89%8D%E5%87%86%E5%A4%87%E4%BD%BF%E7%94%A8%E6%AD%A4%E6%AC%BE%E8%8A%AF%E7%89%87%E5%81%9A%E9%9B%B7%E8%BE%BE%E6%B6%B2%E4%BD%8D%E8%AE%A1/td-p/740735
Show LessMy setup:
- ARM host processor running 5.15.67 Linux.
- Murata 1MW BT/Wi-Fi combo chip (BCM43455) over SDIO using OOB wakeup
- Wi-Fi firmware: version 7.45.265
- Using linux/hostapd patch sets from "cypress-fmac-v5.15.58-2023_0901"
Problem Summary:
My issue is that when I enable Wi-Fi on my board, Bluetooth audio performance becomes extremely poor - full of cracks and pops.
Extensive testing has shown that this issue occurs after a specific sequence of events:
1. Power on the board
2. modprobe brcmfmac
3. Start Bluetooth stack, connect to a headset device using HSP and establish SCO connection
4. Now, start wpa_supplicant and scan/connect to a 2.4 GHz AP - Audio distortion begins during scan.
Additional details:
I have already enabled some coexistence parameters in the NVRAM file:
btc_mode=1
btc_params8=0x4e20
btc_params1=0x7530
btc_params50=0x972c
The problem occurs with or without these parameters.
Also, I notice that if I remove the brcmfmac module and re-insert it between steps 3 and 4 above, the problem seems to go away, or at least become much less likely.
Possibly related issue:
My suspicion is that the 43455 is entering a state like it was in my other post from a couple years ago
Removing brcmfmac module impacts Bluetooth audio...
I have not tested to see if the above issue still exists. I have been avoiding module removal as a workaround.
Would Infineon be willing to investigate this issue?
Show LessHi
I want to us HID at cyw20706.
Based on the above question, an example exists for cyw20835.
I wonder if this example can be applied to cyw20706.
I was told at the time that it was not possible, is it the same now?
Thank you.
Regards,
DevRyan.
Show LessIn this specific situation, wpa_supplicant (wpa_cli) is used when the device which has CYW43455 1MW chip is in normal mode. When the device goes to deep sleep( linux goes suspend to RAM mode) 1MW chip goes to power-save mode.
My question is when the device is in the state above, can we use internal supplicant to offload gtk rekeying ? And is it possible that when the device is back to normal state to external and internal supplicant are used simultaneously?
Show LessHi-
I just finished install Eclipse IDE for Modustoolbox and followed
chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.infineon.com/dgdl/Infineon-AN238254-Getting_started_with_AIROC_CYW20829_Bluetooth_LE_on_ModusToolbox-ApplicationNotes-v02_00-EN.pdf?fileId=8ac78c8c8929aa4d018a3fe0cbc05aba
to create new BLE application.
Here is the error from "New Application" shown in Choose Board Support Package - Project Creator 2.20 Window.
Processing system manifest 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
Downloading super manifest file 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
Finished loading super manifest files from all sources
Finished download of file 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml'
WARNING:Error downloading 'https://modustoolbox.infineon.com/manifests/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml' -- Error transferring http://raw.githubusercontent.com/infineon/mtb-super-manifest/v2.X/mtb-super-manifest-fv2.xml - server replied: Service Unavailable
ERROR:all super manifests were invalid, no data loaded
ERROR:Manifest loading completed with error.
2 error(s), 1 warning(s)
Press "Retry" to try again.
But Retry doesn't help. Please provide advice on it.
Thanks!
Hui
Show Less
Hi
We recently started to play with the CYW20829 chip and are considering migrating a hardware application we originally built on the CYW20719B2 chip to it.
In porting code for a SPI NAND Memory chip over to the new 20829, we are having trouble mapping the WICED APIS to the CY_HAL API's and getting them to work.
We are not getting any errors from init, are using the default PINS on device configurator for the 20829, but we are getting fails on reading and writing using cy_hal_spi_slave_read, and cy_hal_spi_slave_write.
Here is a snippet from the 20719B2 Code that sets up the device and our attempt to migrate the equivalent code to 20829
Our code drives the CS pin High and Low before doing Read/Writes w/o issue on the 20719, but not sure we have the correct method figured out on the 20829
20719 INIT Code
wiced_hal_gpio_select_function(NAND_CS_PIN, WICED_GPIO);
wiced_hal_gpio_select_function(NAND_SCK_PIN, WICED_SPI_1_CLK);
wiced_hal_gpio_select_function(NAND_MOSI_PIN, WICED_SPI_1_MOSI);
wiced_hal_gpio_select_function(NAND_MISO_PIN, WICED_SPI_1_MISO);
wiced_hal_gpio_configure_pin(NAND_CS_PIN, GPIO_OUTPUT_ENABLE | GPIO_PULL_UP, GPIO_PIN_OUTPUT_HIGH);
wiced_hal_pspi_init(SPI1,FS_NAND_HW_SPI_CLK_FREQ / 2,SPI_MSB_FIRST,SPI_SS_ACTIVE_LOW,SPI_MODE_3);
20829 INIT Code
20719 Drive CS Up or Down
wiced_hal_gpio_set_pin_output(NAND_CS_PIN, GPIO_PIN_OUTPUT_LOW);
wiced_hal_gpio_set_pin_output(NAND_CS_PIN, GPIO_PIN_OUTPUT_HIGH);
20829 Drive CS Up or Down
We have tried both of these:
cyhal_gpio_toggle(CYBSP_SPI_CS);
or
cyhal_spi_slave_select_config(&mSPI,CYBSP_SPI_CS,CYHAL_SPI_SSEL_ACTIVE_LOW);
cyhal_spi_slave_select_config(&mSPI,CYBSP_SPI_CS,CYHAL_SPI_SSEL_ACTIVE_HIGH);
Our Read/Write Looks like this
20719
wiced_hal_pspi_rx_data(SPI1, NumBytes, pData);
wiced_hal_pspi_tx_data(SPI1, NumBytes, pData);
20829
cyhal_spi_slave_read(&mSPI,pData,&size,10);
cyhal_spi_slave_write(&mSPI,pData,&size,10);
Any help would be appreciated !!
Show Less
Looking for Smart Shoes with wireless charging solution.
The shoes are used to collect data measurement for the standing posture & weight distribution.
Show Less