Studio Bluetooth Forum Discussions
Hello,
I'm currently working with the CYBT-343026-01 Bluetooth module in my custom PCB design, using a dedicated MCU as the host. I've successfully sent the HCI_RESET command [01 03 0C 00] through HCI UART and received the expected response [04 0E 04 01 03 0C 00].
The goal is to establish Serial Port Profile (SPP) communication from MCU to PC via CYBT-343026-01. However, I am uncertain about the next steps for using the module, and I have the following questions:
- Should I enter the application mode or use Bluetooth HCI Mode Interface?
- How to enter the application mode? Should I follow one of the 2 sequences bellow?
Sequence 1:
- Generate application: Use the ModusToolbox to create the .hex file from the RFCOMM-SPP example.
- Program the module: Use WICED Module Programmer to program the module through a USB-to-UART bridge.
- Run the MCU: Start with “CTS is high after the reset” to “apply any stored configuration”
Sequence 2:
- Generate application: Use the ModusToolbox to create the .hex file from the RFCOMM-SPP example.
- Run the MCU: Start with CTS low after the reset to enter download mode
- Program the module: Follow the "Downloading an application to serial flash" procedure described in AIROC™ HCI UART Control Protocol.
I appreciate any guidance you can share. Thank you in advance for your assistance!
Show LessI have tried to load the hello sensor code to the CYW920735Q60EVB-01 board but my computer doesnot list it as a bluetooth device. I cannot find any device to pair. What should I do about this. Also, when I try to run the hello client code. it doesnot run. It says "The selection cannot be launched, there are no recent launches". I am new to this. can anyone explain how I can pair the device with my computer?
Show LessThis is my first electronics project i have to interface this module with a microcontroller through UART interface.
My first goal is to develop an application android for interfacing with the module and to make blinking on LED connected at the external PIC.
The problem is that i have no idea in how to start!
I have to install WICED STUDIO? I need a KIT or an evaluation board?
I have to write the firmware for the extern microcontroller or for the module??
I need quick help i am desperated.
Show LessCan the CYBT-353027-02 be used as an audio source, to work with A2DP sinks?
Are there any examples?
Are there any example projects implementing the CYBT-353027-02 for audio?
What stereo codec would be recommended?
Can the CYBT-353027-02 be used as a source to connect to generic headsets?
Thanks
Show Less
Keep getting those errors when connecting bonded Cysmart to CYW20719:
Status : Connection Terminated Due to MIC Failure (0x3d)
Encryption Status Event: bd ( 5a 10 0c ef 51 aa ) res 8109
The CYW20719 hardware is CYBT_413034_EVAL.
Clients are Samsung TAB E 7” and Tab A 8” tablets with Android 4.4.4, 5.0.1 and 6.0.1
This error happens:
- Always if I pair let say Cysmart client1 on Android device 1 and disconnect, then pair another let say Cysmart client2 on Android device 2 and disconnect, RESET the CYW20719, then when return back to device1 and try to connect to CYW20719 (on Cysmart button on the right side shows ‘Paired’) so just click on the name of the CYW20719 a.k.a ‘Hello’ to reconnect and always (100%) will get ‘Connection Terminated Due to MIC Failure (0x3d)’. So there is some logic to get error in this situation, because ‘hello_sensor’ code stores bonding info only for 1 bonding, but why this error will be MIC – isn’t MIC (message integrity check) something similar to CRC?
- Random – this is the most annoying problem, because it happens when only one Device is bonded and only this device trying to reconnect – sometimes connect, sometimes fail with the same MIC failure error (0x3d). And I tried plenty of different devices and Android OS versions: 4.4.4, 5.0.1, 6.0.1 and happened only with CYW20719.
So I already rise this problem couple months ago, but haven’t receive any solution (neither on any of the bugs I reported so far ☹ ), but at least:
Do you have some sniffer tool that could capture raw packets (incl. MIC) in the communication client <> server so to compare what is the difference when reconnecting go smooth and when fail?
Either there is something wrong on the Cypresses BT stack side or something in the timing parameters/syncs in the connection ☹ The only clue I could guess – slower processors with Android have more MIC failures than faster ones ☹ , but when I try reconnecting bonded CC2540 from TI, don’t have any problems neither with Cysmart, nor nRf Connect or other BLE Android clients on the same Android devices that fails with CYW20719 ☹
….
17:29:09.988 1 hello_sensor_management_cback: 17
17:29:09.992 1 Advertisement State Change: 0
17:29:09.992 1 ADV stop
17:29:09.994 RCVD [1] Event from HCI. Name: HCI_Encryption_Change (Hex Code: 0x08 Param Len: 4)
17:29:09.994 Status : Connection Terminated Due to MIC Failure (0x3d)
17:29:09.994 Connection Handle : 64 (0x0040)
17:29:09.994 Encryption Enable : 0 (0x00)
17:29:09.996 1 hello_sensor_management_cback: c
17:29:10.003 1 Encryption Status Event: bd ( 5a 10 0c ef 51 aa ) res 8109
17:29:10.007 1 encryp change bd ( 5a 10 0c ef 51 aa ) res: 8109
17:29:10.010 RCVD [1] Event from HCI. Name: HCI_Disconnection_Complete (Hex Code: 0x05 Param Len: 4)
17:29:10.010 Status : Success (0x00)
17:29:10.010 Connection Handle : 64 (0x0040)
17:29:10.010 Reason : 61 (0x3d)
17:29:10.010 Connection Terminated Due to MIC Failure
17:29:10.014 1 connection_down 5a 10 0c ef 51 aa conn_id:1 reason:61
…
Show LessHi
WICED platform: 6.0.0.43
Chip Platform: CYW20719-B1
Issue Description:
When invoke the wiced_bt_dev_get_bonded_devices() API, the always return 0x1FA7 error code, and the input value of *p_num_devices didn't been set to 0 even failed.
So doesn't this API really supported? If it's supported, how to fix this issue.
Thanks,
Dudley
Show LessHello 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
Hello
I would like to download the program for CYBT-353027-EVAL and I have installed the following
WICED Studio 6.6
WICED Smart SDK 2.2.3
Platform files for CYBT-353027
But it seems that the Platform files only support the old version of the project folder - 20706-A2_Bluetooth, I try to download the sample program Hello_Sensor under WICED Smart SDK and it will report an error (as shown in the picture).
Thanks
你好
我想对CYBT-353027-EVAL开发套件进行烧录,我安装了以下
- WICED Studio 6.6
- WICED Smart SDK 2.2.3
- Platform files for CYBT-353027
但貌似Platform files只支持老版本的项目文件夹 - 20706-A2_Bluetooth,我 在WICED Smart SDK 下尝试烧录示例程序Hello_Sensor就会报错(如图)。
请问有什么解决办法?
祝好
Yaodong
Show Less
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