AIROC™ Bluetooth Forum Discussions
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 Less
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.
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 Less
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.
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.
I am not sure if this is the correct forum. I was previously working on development using WICED studio and Laird-EWB. I was informed recently that the WICED platform is NRFD. I installed stm32cubeide and st tools to configure the stm32f412 mcu. All is well. I then downloaded the MODUSTOOLBOX and it appears to only support BLE apps. Where can I go to get the api and libraries for the classic bluetooth interface. I am primarily looking for RFCOMM and Dual Mode.
Thank youShow Less
we just received CYBT-213043-EVAL to evaluate the CYW20819 chipset.
I'm using the board with external BT stack (https://bluekitchen-gmbh.com/) and external MCU host and everything seems to work fine (I pull CTS high when power/reset the EVB, in order to let the chipset enter in HCI mode).
I'm also enabling SCO_Routing to transport level (using command Write_SCO_PCM_Int_Param -> [0E 04 ]: 01 1C FC 00
Something is not working as expected: SCO audio channel is established correctly, but SCO data start to be received after about 4seconds, and they are received not as SCO packet but as vendor specific events.
[00:00:24.408] EVT <= FF F4 1B 03 01 ED FF 13 00 00 00 ED 00 E0 41 C2 0F 41 04 ED 00 E0 02 00 41 00 08 ED 00 E0 00 00 00 00 0C ED 00 E0 00 00 05 FA 10 ED 00 E0 00 00 00 00 14 ED 00 E0 00 02 00 00 18 ED 00 E0 00 00 00 00 24 ED 00 E0 00 00 07 00 28 ED 00 E0 00 00 00 00 2C ED 00 E0 00 00 00 00 30 ED 00 E0 00 00 00 00 34 ED 00 E0 34 ED 00 E0 38 ED 00 E0 38 ED 00 E0 3C ED 00 E0 00 00 00 00 00 E1 00 E0 0F FC 4F 00 04 E1 00 E0 00 00 00 04 00 E2 00 E0 01 7C 64 00 04 E2 00 E0 00 00 00 00 C0 00 32 00 24 00 08 00 78 13 30 02 72 D6 2C EA DC A4 4E 0C 7E 89 B0 44 CF 01 CD 68 C3 32 59 80 8E 0F 01 BB 3C CA 6D 4A 15 0A 06 A0 80 08 04 DD 33 9B C1 2E 08 92 29 74 93 E1 DA A7 36 21 4C 05 0E 91 04 EF 41 BF 5E 90 44 53 08 15 15 D2 05 C1 75 4D F1 E4 6B B2 1F 3C 1C 34 09 C1
After 8seconds, I'm not receiving anything else.
1) where can I download HCI vendor specific command list for CYW20819?
2) why the CYW20819 stops to route SCO packets over HCI after about 8seconds?
Thank you for the support.
I am using CYBT-343026-01, using Bluetooth Classic is it possible to serve HTML pages over HTTP server using any profile?
Here once I connect to Cypress Bluetooth module and typing IP_address:port_number in web browser on phone or PC I should see the webpage.Show Less
I have the CYBT-343026-01 module and I need to implement the HID over bluetooth.
Could you help me to understand which is the best way to do it?
I tried the following ways:
1) Porting the "Dual-Mode HID Keyboard Sample Application" to CYBT-343026-01 module into Modus Toolbox IDE. This way seem to be complicated, because the HID library needs the "wiced_hidd_lib.a" library that is not present in "20706A2" prebuild library folder.
2) Create an HID project into WICED-Studio IDE. But the chip "CYW20706" is no longer supported, so there is no documentation and examples about it.
So, please, could you help me?
Thank you in advance.
while out-of-band pairing procedure it is necessary to call the function wiced_bool_t wiced_bt_smp_create_local_sc_oob_data (wiced_bt_device_address_t bd_addr, wiced_bt_ble_address_type_t bd_addr_type) to create local BLE secure connections OOB data. In the documentation it is described, that OOB data will be provided via the BTM_SMP_SC_LOCAL_OOB_DATA_NOTIFICATION_EVT event, but in my case this event is not fired. The return value of the function is FALSE too. Does anybody know what to do to get the OOB data from this function?Show Less