Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AIROC™ Bluetooth Forum Discussions

ericwelch
Level 1
First like received First reply posted 5 sign-ins
Level 1

We are developing an application that uses the CYBT-343151 module (with the CYW20706 radio) using Eclipse IDE for ModusToolbox.  In the circuit there is a separate MCU that communicates with the CYBT-343151 over the HCI UART.  Our initial development used the CYW920706 Dev Kit interfaced over its USB/Serial connection to a PC App.  We have gotten this far enough along that we now need to move to the real hardware.  Unfortunately, we find that the same app that works on the CYW920706 doesn’t work correctly on the CYBT-343151.  After loading it to flash (we verifying the CRC — so we know that the load process was successful) the running firmware sends out the following over the HCI UART:

Rx 940:  4d 21 40 4d 10 44 40 14 41 3c 40 60 1a 40 21 41 29 14 40 e2 40 08 40 04 41 29 04 4d 10 44 41 08 10 7d 64 d4 41 43 40 04 41 08 00 4d 10 44 41 20 42 51 05 e8 78 24 41 43 40 04 41 20 40 e2 40 3f 41 94 94 41 54 79 61 6f 6d cb 69 75 c3 5f 78 2b 41 60 4a 43 40 40 13 7c 73 64 bb 6e 5d f6 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 00 40 40 40 40 40 40 40 40 40 4d 10 43 40

  M!@MD@A<@`@!A)@@@A)MDA}dAC@AMDABQx$AC@A@@?AATyaomiu_x+A`JC@@|sdn]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@MC@A^C

and doesn't respond to any AIROC-HCI command.

Should we change the target in the Dev system from CYW92706WCDEVAL to the actual module?  The one we use isn’t available in the list of configuration options, but the following (all using the CYW20706A2) are: CYBT- 333047 343026 and 353027.

Any suggestion or comment is welcome.

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator 500 solutions authored 250 sign-ins 1000 replies posted
Moderator

I don't have a CYBT-343151 kit on my hand. So I am testing with the CYBT-343026 board. Here is what I am doing:

1. Create the demo RFCOMM_serial_port with CYW20706 kit bsp.

2. In the makefile, change the target to CYBT-343026: TARGET=CYBT-343026-EVAL

3. In the library manager, check the CYBT-343026-EVAL bsp and update.

Then I can successfully build and download the project to the CYBT-343026 kit. The CYBT-343151 module kit is same with CYBT-3430236. you can use the CYBT-343026 bsp and do as what I tested. Please notice that the default baudrate for the module kit is 115200 instead of 3000000.

View solution in original post

0 Likes
4 Replies
Owen_Zhang123
Moderator
Moderator 500 solutions authored 250 sign-ins 1000 replies posted
Moderator

Could you try to change it to the CYBT-343026 platform? The flash used in CYW20706 kit is different from that in module which may cause some problem.

0 Likes
ericwelch
Level 1
First like received First reply posted 5 sign-ins
Level 1

Thanks for the suggestion, but unfortunately making that change to the project prevents it from building.  The IDE complained of missing or incompatible libraries and other problems.  We also tried to recreate the entire project based on a corresponding example for the 343026.  Unfortunately there isn't a sample project for the 343026 that supports Classic Bluetooth with SPP over HCI, unless you know of one that isn't published in the usual way.

Having said that, is there another modification to our current 92076 project that could solve the incompatibility?  What exactly is the difference between the two platforms that could cause the problems that we are seeing?

thanks

Eric

0 Likes
Owen_Zhang123
Moderator
Moderator 500 solutions authored 250 sign-ins 1000 replies posted
Moderator

I don't have a CYBT-343151 kit on my hand. So I am testing with the CYBT-343026 board. Here is what I am doing:

1. Create the demo RFCOMM_serial_port with CYW20706 kit bsp.

2. In the makefile, change the target to CYBT-343026: TARGET=CYBT-343026-EVAL

3. In the library manager, check the CYBT-343026-EVAL bsp and update.

Then I can successfully build and download the project to the CYBT-343026 kit. The CYBT-343151 module kit is same with CYBT-3430236. you can use the CYBT-343026 bsp and do as what I tested. Please notice that the default baudrate for the module kit is 115200 instead of 3000000.

0 Likes
ericwelch
Level 1
First like received First reply posted 5 sign-ins
Level 1

That suggestion worked.  Thanks!  We have now made significant progress with the firmware on our external MCU talking to our app over HCI on the CYW20706.

0 Likes