AIROC™ Bluetooth Forum Discussions
We are developing a project using the CYBT-343151-02 (WITH CYW20706 inside) and we are having trouble getting Reset Recovery (with CTS High) to work. Previously we worked with the CYW920706WCDEVAL board but its Recovery SW3 was wired to the SPI2_MISO pin and that pin isn't brought out on the CYBT-343151. The data sheet lists a pin for this but includes the comment "No Connect (Used for on-module memory SPI interface for CYBT-343151-02)"
The attachment is a scope trace of the Reset Recovery with 3.3v Yellow, XRES Magenta, NRTS Green and NCTS Cyan. This reset happens about 1.7 sec after power on. After coming out of Reset the module behaves exactly the same as if CTS were low. The currently running firmware has apparently put the HCI UART into a bad state and the expected autobuad state that looks for the HCI Reset message doesn't work.
Any suggestion would be welcome.
Show LessHello,
I tried to connect CYW920736M2EVB-01 by USB UART.
but it was failed.
I searched to solve problems at this community what i had
and tried to follow solution. it was also failed.
I don't know what is problem.
Please give me solutions.
Thanks.
Error message is below
-------------------------------------
Started by GNU MCU Eclipse
Started by GNU MCU Eclipse
Open On-Chip Debugger 0.11.0+dev-4.3.0.1746 (2021-09-16-07:59)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
cortex_m reset_config sysresetreq
force hard breakpoints
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf155, serial=1C14177E01051400
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : KitProg3: FW version: 2.30.1155
Info : KitProg3: Pipelined transfers enabled
Info : VTarget = 3.316 V
Info : clock speed 10000 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'CYW20819A1.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Info : CYW20819A1.dap: powering down debug domain...
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Warn : Failed to power down Debug Domains
Hello community
I am quite new to working with Bluetooth Low Energy and now I am having some difficulties.
I want to connect with the standard profile (CYSPP) and the Acknowledged Data Characteristic Service. However, I never get a response from the Bluetooth module (see screenshot). It works with other apps from the Android Store, but not with mine. If anyone has any suggestions on what else I can try, I am of course open to it.
Thanks
Show Less
Hi~
I want to make a demo board with CYBT-3430260-01 EVAL board
I succeeded to import Audio headset application from CYW20706 BSP.
So, I can hear the music through CYBT-343026-01.
But I have faced the issue for the button function like as volume up&down and play&pause.
I found the button library in CYW20721 BSP.
I wonder If I can import those library included 'bt_hs_spk_lib' from CYW20721 to CYBT-343026-01
Many Thanks
BRs
Daniel Lim
Show Less
We are running firmware on the 20706 and need to setup a custom RFCOMM server (i.e. not SPP) that uses a 128-bit UUID. The only API we can see supports a 16-bit UUID. The 20706 is in a circuit with another MCU and they communicate over the HCI UART. The service supports the Apple MFi Bluetooth connection where the iAP2 stack runs in the other MCU. We understand that Cypress/Infineon has some sample code that supports this service type. We are MFi developers. Can we get a copy of this source code?
Show LessHi,
we are evaluating some Infineon BT chipsets & modules.
We use external BT stack, so we interface w/ the chipset/module via HCI port.
- CYW920706WCDEVAL: no problem at all. We power the board w/ recovery button pressed and then release. Module enters in HCI mode and w/ cybluetool we are able to send/receive HCI commands/events. Inquiry results are reported correctly.
- CYBT-343026-EVAL: we do the same steps. HCI commands/events are sent/received, but radio seems to be off. We don't have any result for inquiry, as you can see (I tried also to enable radio by mean of vendor specific command).
07/04/22 14:09:06.388 com21@115200 c> Enable_Radio
HCI Command
com21@115200
[34 FC 01 ]: 01
opcode = 0xFC34 (64564, "Enable_Radio")
Enable_Radio = 0x1 (1)
07/04/22 14:09:06.399 com21 <c Enable_Radio
HCI Command Complete Event
com21@115200
[0E 04 ]: 01 34 FC 00
event = 0x0E (14,"Command Complete")
Num_HCI_Command_Packets = 0x1 (1)
Command_Opcode = 0xFC34 (64564, "Enable_Radio")
Status = 0x0 (0, "Success")
07/04/22 14:09:09.725 com21@115200 c> Inquiry
HCI Command
com21@115200
[01 04 05 ]: 33 8B 9E 08 00
opcode = 0x0401 (1025, "Inquiry")
LAP = 0x9E8B33 (10390323)
Inquiry_Length = 0x8 (8, N * 1.28 sec, 0=infinite)
Num_Responses = 0x0 (0, 0=unlimited)
07/04/22 14:09:09.731 com21 <e Command Status
HCI Event
com21@115200
[0F 04 ]: 00 01 01 04
event = 0x0F (15,"Command Status")
Status = 0x0 (0, "Success")
Num_HCI_Command_Packets = 0x1 (1)
Command_Opcode = 0x401 (1025, "Inquiry")
07/04/22 14:09:19.972 com21 <e Inquiry Complete
HCI Event
com21@115200
[01 01 ]: 00
event = 0x01 (1,"Inquiry Complete")
Status = 0x0 (0, "Success")
Am I missing something? Why inquiry is not working on CYBT-343026-EVAL? The same topic was discussed here (https://community.infineon.com/t5/Studio-Bluetooth/hcd-file-for-BCM20706A2/m-p/118427) but no resolution was given.
Thank you for the support.
Best regards,
Alessandro
Hi. We need to use cybt-343026-01 as a regular bluetooth module on arm board.
Currently we upload empty Modus Toolbox project using patchram utility via HCI UART.
But scanning does not work. Neither 'hcitool scan' nor 'hcitool lescan' returns non-empty result.
Is there specific code should be added in project?
Show LessHi,
I want to generate an 8.192 MHz clock signal on the CYW20706EVAL board for my I2S audio codec (Digilent Pmod I2S2)
I want to perform bidirectional audio communication between the CYW20706EVAL(configured as an Audio gateway) and a Bluetooth headset. I successfully managed to get the two devices connected together.
I understand that in the Audio gateway configuration, the audio is automatically routed to the PCM/I2S pins of the CYW20706EVAL. I checked the pins using an oscilloscope, the SDOut pin shows that there is data present whenever I speak into the mic on the headset side, WS/LRCK/PCM_SYNC pin shows a freq = 16 kHz (cause I'm using Wideband Speech), BCK/PCM_CLK pin shows a freq = 512 kHz, however, in addition to these signals my audio codec (Digilent Pmod I2S2) requires a Master Clock of 8.192 MHz that corresponds with the Bit clock (BCK).
I tested it by providing an external clock signal of 8.192 MHz from an external source and the bidirectional audio communication worked perfectly.
I've identified two possible methods to generate the required master clock signal (8.192 MHz) from the CYW20706EVAL, which are PWM or Auxiliary clock and I've come across certain problems with each method.
PWM problem - I can only generate signals up to 5 MHz and above 10 MHz and nothing in between
ACLK problem - I'm unable to get any clock output signal on any of the GPIO pins P32, P36 and P33, P37 for ACLK0 and ACLK1 clocks respectively. This is despite following the instructions in the ACLK documentation given here https://infineon.github.io/btsdk-docs/BT-SDK/20719-B2_Bluetooth/API/group___aux_clk_driver.html , to first configure the desired GPIO pin for output for aclk. And also referring to the HW User Guide.
I've pasted my code for the Auxiliary clock (ACLK) configuration below as well;
wiced_hal_gpio_configure_pin(WICED_P32, GPIO_OUTPUT_ENABLE, GPIO_PIN_OUTPUT_HIGH);
wiced_hal_aclk_enable(8192000, ACLK0, ACLK_FREQ_24_MHZ);
1. Please let me know if there is something that I need to implement, that I could be missing out on any of the two methods.
2. Please suggest any other methods that I could use to generate an 8.192 MHz clock on the CYW20706EVAL GPIO pins.
I'm looking forward to hearing from you.
Regards
Mark
Show LessHi,
I have an issue such that when I play audio via A2DP or have an open SCO connection the HCI UART interface stops working.
When I stop the audio stream the HCI interface resumes operation.
BR,
Oskar
Show Less