Recent 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
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 am seeking advice on using CYSPP to connect to an iOS app.
What I Am Doing
- EZ-Serial has been installed on CYBT-483039-EVAL board
- CYBT-483039-EVAL board is connected via USB serial port to PC
- PC app is emulating a BLE device that will use a CYBT device
- iOS app connects to CYSPP service
- iOS app sends dumpbinfile command to CYSPP device
- PC app, in response to dumpbinfile, returns number of bytes it is about to send, then dumps contents of a binary log file by sending binary data directly to CYBT-483039-EVAL board, appending a CRC32
- iOS app received data over CYSPP Unacknowledged Data Characteristic
All is good most of the time.
Intermittently, the iOS app does not receive the expected number of bytes. Data loss is more common on a larger 3 MiB file than a 7 kB file.
Questions:
1) Is problem because I am sending data to CYBT-483039-EVAL over PC USB serial without using any API commands?
2) For reliability do I need to use both the Acknowledged Data characteristic and RX Flow characteristic ?
3) How can send binary data to CYBT-483039-EVAL board, over the USB serial connection, to the Acknowledged Data characteristic and use RX Flow characteristic ?
When I send data to CYBT-483039-EVAL over PC USB serial, it appears by default, to send using Unacknowledged Data Characteristic.
Thank you for your help,
-Ed
Show Less
Hello,
I have questions about operation of HID Device.
I tried to test with two of laptops, it is different to operate on HID connection each laptops.
The SW information and test process are as below.
SW Information
- Chipset & EVK : CYW20706 & F1DC2076 EVB (made in F1media)
- WICED SDK version : WCIED 6.2.1
- Test application : HID Device
Test Process
- Connect from Windows PC to F1DC2706(CYW20706)
- Send the HID data.
- Result
#1) it seems that enter to sniff mode normally
Notebook (LG - 15U560)
- manufacturer : Intel Corporation
- F/W version : HCI 8.4096 / LMP 8.4096
- Driver provider : Intel Corporation
- Driver date : 2017-04-07
- Driver version : 19.60.0.3
#2) it seems that enter to sniff mode, but its connect/disconnect to SDP and RFCOMM repeatly,
and also enter/exit sniff mode repeatly by connect/disconnect.
Notebook (LG –15ZD980-GX50K)
- Manufacturer : Intel Corporation
- F/W version : HCI 8.256 / LMP 8.256
- Driver provider : Intel Corporation
- Driver date : 2017-05-04
- Driver version : 20.60.0.4
Snoop Log
- refer to attatched files. its name is written name of laptop.
Why is the different each for laptops? Does it problem of compability?
Or, am i missed anything that need to set?
I want to know why is the different to operate on HID connection.
Please, could you help me anybody who know?
Show Less
I have faced MIC(Message Integrity Check) error for LE connection. I can see same issue on following link, could you help how to resolve?
For more information, please refer to the following.
https://community.infineon.com/t5/Studio-Bluetooth/Bug-report-Connection-Terminated-Due-to-MIC-Failure-0x3d-WICED-6/td-p/245462
https://community.infineon.com/t5/Studio-Bluetooth/Bug-report-BLE-cant-reconnect-to-a-bonded-device/m-p/35458#M163
1. Test environment
1) H/W
- Local H/W : CYW920706WCDEVAL
- Peer device :
> LG Stylus2
>> Android version 7.0
>> BR/EDR public BD address : DO:13:FD:50:F8:C8
> HUAWEL P9 lite. (Model number : HUAWEL VNS-L22)
>> Android version 7.0
2) S/W
- SDK : ModusToolBox 2.3 and LE_Hello_sensor application
- SDK LIB : Wiced_btsdk baselib release v3.0.0
- Peer Apps : LightBlue, local developed BLE application.
2. Test procedure
- Step 1. Hello_sensor build & download
- Step 2. Pairing with android phone.
- Step 3. Connection success.
- Step 4. Remote disconnect after pairing success.
- Step 5. Start connection from andoid phone.
- Step 6. Link connection fail due to MIC error. (error code 0x3d)
3. Test Results
- I tested other BLE peripheral with two android phones and it works well. (No MIC error)
- CYW920706WCDEVAL works fine with iphone, and other many android phone.
- HCI fail : HCI_Encryption_Change event status code 0x3d. (mic error)
5. attached log file.
- mic_error_app_log.txt : application log with MIC error.
- mic_error_btspy.txt : MIC error with CYW920706WCDEVAL and LG android phone.
- no_mic_with_iphone.txt : No MIC error with CYW920706WCDEVAL and iphone.
Thanks.
Show LessCypress_FOTA_release-v3.1.0 or btsdk-peer-apps-ota-master OtaUpgrade 프로젝트 진행
Cypress PuriCare Mask기기 제품 등록중 file load성공후 Upgrade 버튼 클릭시 "Invalid WICED OFU services" 메세지 발생
otaService, otaControlPoint, otaControlData 모두 nil
var isWicedOfuSeviceValid: Bool {
return otaService != nil && otaControlPoint != nil && otaControlData != nil
}
if !activePeripheral!.isWicedOfuSeviceValid {
self.appendLog("Invalid WICED OFU services")
return
}
해당 값들이 세팅안된 이유를 살펴 보다 보니
peripheral.services 빈배열로 되어있어서 더이상 진행이 안되고 있습니다.
AOS 샘플앱에서는 Cypress 펌웨어 업데이트 성공된 제품입니다.
안되는 이유가 있을까요?
수정된 버전을 받고 싶습니다.
Show LessHello, i have found the sent HID data is repeated side on peer device when the HID connection is established.
SW Information
- Chipset & EVK : CYW20706 & F1DC2076 EVB (made in F1media)
- WICED SDK version : WCIED 6.2.1
- Test application : HID Device
Test Process
- Connect from Windows PC to F1DC2706(CYW20706)
- Send the HID data as below.
#1) "123456789012"
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00 } // 3
...
...
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
#2) "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "1" "2"
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00 } // 3
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
...
...
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
Case of Windows PCs are as below.
- Notebook (SAMSUNG - NT500R5W-XD5S) > occured
- Manufacturer : Qualcomm Atheros Communications
- F/W version : HCI 8.0 / LMP 8.602
- Driver provider : Qualcomm Atheros Communications
- Driver date : 2019-01-24
- Driver version : 10.0.0.825
- Notebook (SAMSUNG - NT900X5Y-A59WA) > occured
- Manufacturer : Intel Corporation
- F/W version : HCI 8.256 / LMP 8.256
- Driver provider : Intel Corporation
- Driver date : 2020-06-29
- Driver version : 21.110.0.3
- Notebook (SAMSUNG - NT910S5P-KD5S) > don`t occured
- Manufacturer : Intel Corporation
- F/W version : HCI 7.0 / LMP 7.602
- Driver provider : Intel Corporation
- Driver date : 2018-06-27
- Driver version : 10.0.0.714
- PC (BT dongle) > don`t occured
- Manufacturer : Cambridge Silicon Radio Ltd.
- F/W version: HCI 6.8891 / LMP 6.8891
- Driver provider : Microsoft
- Driver date : 2006-06-21
- Driver version : 10.0.19041.1202
- Notebook (LG - 15U560) > don`t occured
- Manufacturer : Intel Corporation
- F/W version : HCI 8.4096 / LMP 8.4096
- Driver provider : Intel Corporation
- Driver date : 2017-04-07
- Driver version : 19.60.0.3
and snoop log is as below.
- case of normal as "123456789012"
1700 2021-12-17 06:57:36.212273 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1701 2021-12-17 06:57:36.212357 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1702 2021-12-17 06:57:36.212377 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 3
1703 2021-12-17 06:57:36.212422 host controller HCI_CMD 8 Sent Write Link Policy Settings
1704 2021-12-17 06:57:36.214685 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1705 2021-12-17 06:57:36.225738 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 4
1706 2021-12-17 06:57:36.250707 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 5
1707 2021-12-17 06:57:36.275727 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 6
1708 2021-12-17 06:57:36.300886 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 7
1709 2021-12-17 06:57:36.327073 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 8
1710 2021-12-17 06:57:36.350916 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 9
1711 2021-12-17 06:57:36.375785 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 0
1712 2021-12-17 06:57:36.400766 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1713 2021-12-17 06:57:36.425917 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1714 2021-12-17 06:57:36.450808 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1715 2021-12-17 06:57:36.475917 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1716 2021-12-17 06:57:36.500728 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - ENTER
1717 2021-12-17 06:57:36.501870 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
- case of occurred repeating like "1234555555555555556789012"
1724 2021-12-17 06:58:01.752072 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1725 2021-12-17 06:58:01.752140 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1726 2021-12-17 06:58:01.752166 host controller HCI_CMD 8 Sent Write Link Policy Settings
1727 2021-12-17 06:58:01.752182 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 3
1728 2021-12-17 06:58:01.752220 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 4
1729 2021-12-17 06:58:01.752295 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 5
1730 2021-12-17 06:58:01.753650 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1731 2021-12-17 06:58:01.753691 host controller HCI_CMD 6 Sent Exit Sniff Mode
1732 2021-12-17 06:58:01.755650 controller host HCI_EVT 7 Rcvd Command Status (Exit Sniff Mode)
1733 2021-12-17 06:58:02.257789 host controller HCI_CMD 8 Sent Write Link Policy Settings
1734 2021-12-17 06:58:02.259647 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1735 2021-12-17 06:58:02.693200 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 6
1736 2021-12-17 06:58:02.693639 controller host HCI_EVT 9 Rcvd Mode Change
1737 2021-12-17 06:58:02.698302 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 7
1738 2021-12-17 06:58:02.698332 host controller HCI_CMD 8 Sent Write Link Policy Settings
1739 2021-12-17 06:58:02.699650 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1740 2021-12-17 06:58:02.700816 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 8
1741 2021-12-17 06:58:02.702054 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 9
1742 2021-12-17 06:58:02.703308 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 0
1743 2021-12-17 06:58:02.704559 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1744 2021-12-17 06:58:02.705807 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1745 2021-12-17 06:58:02.707053 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1746 2021-12-17 06:58:02.708302 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1747 2021-12-17 06:58:02.709557 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - ENTER
1748 2021-12-17 06:58:02.710803 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
Is the repeated HID data related to sniff mode?
Why repeating HID data different for each PC?
Could you help me anybody, please?
Show Less
Hi,
I found this post in the forum about issues with scan response packages:
I'm also using the CYBT-343026-01 but with newer firmware: 1.2.29
Complete response from module on /qfv: @R,002C,/QFV,0000,E=01021D1D,S=05020016,P=0103,H=D1
Now when my peripheral advertises exactly 7 bytes (flags + incomplete service list) and my scan response does not exceed 24 bytes (<=31 bytes in total) I will see a scan response event with Type = 4 and the complete local name data.
But if the advertising has more then 7 bytes (flags + incomplete service list + tx power level) and the scan response stays at 24 bytes (complete local name) I will receive a scan response event with type 4 but it does not contain the complete local name.
I will add a wireshark log to show you, that the advertisement and scan response of the peripheral is correct.
Has the issue in the above linked thread been fixed in version 1.2.29?
When will the fix be available?
Best regards
Alex
Show LessHi ALL:
I'm trying to compiling the '20706-A2_Bluetooth' exampel project for CYBT-343026-EVAL following the guide document(AN223400)using with WICED-Studio-6.2.
But there occurs some errors:
Symbol 'errno' could not be resolved;
Symbol 'optarg' could not be resolved;
Symbol 'optind'could not be resolved;
How to resolve them?
I'm appreciate if someone can help me figure out these. Tks!
Show LessHi,
I am running the A2DP sink example on CYBT-343026-EVAL board. I play a 48kHz (sample rate) test audio file from a Pixel 4A android device.
The oscilloscope show the I2S word select signal to always be at 44.1kHz. I enabled android developer options, and sure enough this is the only sample rate that is selectable (i.e. not grayed out).
It seems that the 48kHz cannot be negotiated.
Any suggestion on how to make the 48kHz available? I would expect this to work after reading KBA228409 and this page https://community.cypress.com/t5/Resource-Library/A2DP-Sink-Example-on-CYW20706/ta-p/246388.
Thanks, Davide
Show Less