Studio Bluetooth Forum Discussions
When sending data from PC via USB serial port to CYSPP CYBT-483039-EVAL, it appears to be over-running the CYBT, without CYBT ever asserting PUART_RTS low.
- CYSPP CYBT-483039-EVAL is connected to iOS app using EZ-Serial BLE CYSPP
- Data is being sent using the Acknowledged Characteristic (101)
- PUART SW5 are all turned On
- After press reset switch on eval board, I see UART RTS pin Arduino J7-P6 go high on oscilloscope
- I set CYBT and flow control by sending following command to PUART from the PC.
-
"STU,B=1C200,D=8,F=1,P=0,S=1\r\n"
When PC starts sending file data to PUART over USB serial, I see the data being received on the iOS side, however, some data is missing.
I expected PUART RTS to be asserted low to prevent 3 MB of file data from over-running the CYBT, when sending data to PUART_RX ?
I do not see UART_RTS on pin Arduino J7-P6 being set low during the 3MB file transmission.
What are potential solutions to prevent data over-running when sending data to PUART RX for transmission to iOS device?
Thank you,
-Ed
Show Less
Hello,
I am using the CYBT-213043-mesh-2 kit and programmed the HCI_loop_back test. I open the clientcontrol and looks like BR/EDR is disabled. I tried using FIND_ME app but no luck.
I am looking to connect the CYBT-213043 to external devices making it discoverable for other devices to connect. Also, please let me know how to enable the diagnostic mode on this board.
Thanks!
Show Less- CYBT-483056-EVAL arrived from factory with latest EZ-Serial 1.0.10 installed.
- My CYBT device has reached the limit of four (4) bonded devices.
- I cannot bond with new devices before removing a device from the bond list.
- This issue is easily reproduced after Bluetooth Classic RFCOMM pairing to a CYBT-483056-02 device from a Windows or Android device.
- Multiple people, on multiple CYBT-483056-02 devices, using various pairing devices have reproduced this issue of not being able to delete bonds once a RFCOMM pairing has been made to the CYBT-483056-02 device.
# EZSerial 1.0.10 (build 21)
@E,0040,BOOT,E=01000A15,S=02072276,P=0100,H=E8,C=00,A=E6BF3B0F0C3C,T=01
@E,000E,ASC,S=03,R=01
Using smp_delete_bond (/BD, ID=7/2) does not work. After /BD command sent, a /QB command displays count is still 4.
Am I using the '/BD' command properly?
# Query bond list displays 4 devices bonded, 3 duplicates, 1 unique
/QB
@R,000E,/QB,0000,C=04
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01 // Win11
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01 // Win11
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01 // Win11
@E,0020,B,C=00,A=58CB523B58FA,T=FF,D=01 // Android Pixel 3A
# Remove address for Windows 11 bond
/BD,A=C403A8CF7884,T=FF
@R,000E,/BD,0403,C=04
# Remove address for Android Pixel 3A 11 bond
/BD,A=58CB523B58FA,T=FF
@R,000E,/BD,0403,C=04
# Query bond list is unchanged ??
/QB
@R,000E,/QB,0000,C=04
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01
@E,0020,B,C=00,A=58CB523B58FA,T=FF,D=01
I have tried:
- Removing a bonded device by using smp_delete_bond "/BD" and specifying a MAC address does not change bond list
- Factory reset "/RFAC" does NOT erase bonding
- Device reset does not erase bonding. This is correct expected behavior.
- Attempt to remove a bonded device by telling Windows or Android to forget the device does not change CYBT bond list
Re-flashing is not an option for clearing a bond list for our end customers.
Can you please recommend a working API method to remove bonded devices on CYBT-483056-02 modules?
Thank you,
-Ed
Show LessWhere can we get Old Versions of the WICED IDE SDK?
My goal is to delete bonding by reflashing. The smp_delete_bond command is not working for anyone on my team.
What I Tried Using WICED_MOD_Programmer
I am using Windows 11.
- I downloaded ezserial_CYBT-483056-02.hex
- WICED_MOD_Programmer does not have an option to select CYBT-483056-02 so I selected CYBT-483039-02 instead
- Selected UART Adapter board
- Selected DUT #1, Configure, and selected WICED HCUI UART (COM12), 115200, CTS, then Connect button
- Set Firmware File Path to ezserial_CYBT-483056-02.hex
- Checked "program BD Address" and checked "Gen a random address"
- When I press Program button it quickly failed
29-09-2022 11:11:06.204: ProgramManager: Selecting_DUT 1/8
29-09-2022 11:11:07.575: Prog[0]COM12 : Reset (COM12) Timeout!
29-09-2022 11:11:07.580: Prog[0]COM12 : Soft-Reset Fail COM12
29-09-2022 11:11:07.581: Prog[0]COM12 : Failed to reset on baudrate = 115200
29-09-2022 11:11:07.582: Prog[0]COM12 : Failed to reset DUT
29-09-2022 11:11:07.582: ProgramManager: ---->SetResult [1,1] = TestFailed
29-09-2022 11:11:07.613: ProgramManager: Selecting_DUT 2/8
29-09-2022 11:11:07.735: ProgramManager: Selecting_DUT 8/8
29-09-2022 11:11:07.818: WICEDModuleProg: Test program stopped.
29-09-2022 11:22:47.505: PortSetDlg[42]COM12DUT: 4 serial ports found.
29-09-2022 11:23:37.285: PortSetDlg[42]COM12DUT: Connected to "COM12 - WICED HCI UART (COM12)" (115200, RequestToSend)
WICED Studio programming of a CYBT-483056-EVAL does not seem to be a supported platform?
Thanks in advance,
-Ed
References:
- https://community.infineon.com/t5/Knowledge-Base-Articles/Programming-an-EZ-BT-WICED-Module-KBA223428/ta-p/254274
- https://community.infineon.com/t5/Knowledge-Base-Articles/WICED-Module-Programmer-User-Guide-KBA225060/ta-p/253337
Show Less
Hi,
I'm using Cypress Wiced studio IDE (V 6.2.1.2) for CYBT 343026-01 Bluetooth module. For my requirement, In the Wicked studio IDE, I'm using only spp.c file under 20706-A2_Bluetooth project. In this spp.c file, I'm using 'wiced_hal_puart_set_baudrate()' function for changing the Baudrate. By using this function, I'm able to change my Baudrate to 115200 and 57600 only. But if I change to 38400 or 19200 or 9600 values then the CYBT 343026-01 Bluetooth is not communicating through Uart. Please tell me the reason why it is communicating only for 115200 or 57600. I want it to work for lower Baud rate values also. so please tell me the solution for my problem
Show LessHi,
I am trying to build Bluetooth Classic Audio device.
I am using 20706 & 20735 boards. I'm a beginner with your boards and software tools.
I installed WICED Studio 6.6.1.1 on my Windows 10 machine.
When I connect both the dev boards, I see them listed in my ports on the device manager also.
On first-time execution of the IDE, it did not prompt me to select the default platform. Ideally, I'd like to select the 20735-B1_Bluetooth or 20706-A2_Bluetooth as mentioned on both the evaluation kits' user guides.
I only see "43xxx_Wi-Fi" listed in my Project Explorer window. I can't see either of the boards in the "WICED target selector" drop down either.
Please let me know how to make 20706 & 20735 show up in the target builder drop down and project explorer window.
My goal is to build and flash Bluetooth Classic HFP (HF & AG roles - not concurently) & A2DP (target and sink roles - not concurently) profiles on both of the eval kits i.e., 20706 & 20735
Show LessI want to receive the advertising signal of the surrounding iBeacon terminals, but when I execute wiced_bt_ble_observe(WICED_FALSE, 0, obv_callback), the information of the connected BT module (MAC address and advertising signal) is output.
The questions are summarized below.
When using the wiced_bt_ble_observe function,
- Why is the information of its own BT module (MAC address and advertising signal) output?
- Why is it scanned when the first argument is WICED_FALSE?
Also, if you have an example of using the wiced_bt_ble_observe function to receive the iBeacon device's advertised signal, I would appreciate it if you could provide the source code or project file.
<Development environment>
- Integrated development environment
- STM32CubeMX ver.6.5.0
- IAR Embedded workbench ver.9.30.1
- MCU: STM32H743XIH6
https://www.digikey.jp/en/products/detail/stmicroelectronics/STM32H743XIH6/7915906
- Wi-Fi/BT module: 1DX M.2 Module
https://www.embeddedartists.com/products/1dx-m-2-module/
- API
https://github.com/Infineon/bluetooth-freertos
<source code>
main.c (excerpt)
/* Configurate the Bluetotoh platform specific settings. */
cybt_platform_config_init(&bt_platform_config);
/* Initialize the Bluetooth controller and stack. */
wiced_result_t result = wiced_bt_stack_init(NULL, &wiced_bt_cfg_settings);
printf("%d\n", result);
-> 0 (WICED_BT_SUCCESS)
/* Get current scan state */
wiced_bt_ble_scan_type_t ble_scan_state;
ble_scan_state = wiced_bt_ble_get_current_scan_state();
printf("%d\n", ble_scan_state);
-> 2 (BTM_BLE_SCAN_TYPE_LOW_DUTY)
/* This function makes the device start or stop operating in the observer role. */
status_ble = wiced_bt_ble_observe(WICED_TRUE, 0, obv_callback);
printf("%d\n", status_ble);
-> 8105 (WRONG_MODE)
status_ble = wiced_bt_ble_observe(WICED_FALSE, 0, obv_callback);
printf("%d\n", status_ble);
-> 8100 (WICED_BT_PENDING)
status_ble = wiced_bt_ble_observe(WICED_TRUE, 0, obv_callback);
printf("%d\n", status_ble);
-> 8100 (WICED_BT_PENDING)
status_ble = wiced_bt_ble_observe(WICED_FALSE, 0, obv_callback);
-> MAC: 2B:88:A7:0C:8E:88: /* BT module's MAC Address */
-> Data: 94 D1 C4 9B 77 37 2D 85 19 CE E6 5C ...
printf("%d\n", status_ble);
-> 8100 (WICED_BT_PENDING)
When power is applied to a CYBT-483056-02 module as received from the factory, I expected to see the LightBlue mobile app discover "EZ-Serial". I do not see "EZ-Serial" peripheral.
1) Question: Should CYBT-483056-02 be expected to arrive from factory with EZ-Serial firmware installed ?
Should we plan to program CYBT with EZ-Serial firmware in manufacturing?
2) Does using Windows 10 OTA upgrade utility WsOtaUpgrade.exe, require EZ Serial to be pre-installed?
3) Does updating firmware locally through HCI UART, require EZ Serial to be pre-installed?
Thank you for your help,
-Ed
Show LessI suspect I am over-running the CYBT when sending data from the built-in USB virtual COM port. I tried using an oscilloscope, however, I see no signals changing on either J1 or the module solder pads pin 22 (UART_RTS_N) and 24 (UART_RXD ). I know CYBT is sending data because I can see it being received by iOS app. I must be doing something dumb, but cannot figure out how I am over-running the CYBT module from the PC sending USB serial.
What does On and Off states control for CYBT-483039-EVAL SW4 HCI UART?
Should these be On for using USB serial port, and Off for JI HCI UART connected to a FTDI TTL 3V USB cable?
What does setting SW4 to all Off do?
See attached picture of eval board?
Thank you,
-Ed
Show Less