Studio Bluetooth Forum Discussions
Hello,
I've created my BT application based on the example hci_audio_gateway. The difference from the example is PCM audio which I trying to use but it doesn't work.
I configure PCM audio after start BT stack:
wiced_hal_pcm_config_t pcmConfig;
memset(&pcmConfig, 0, sizeof(pcmConfig));
pcmConfig.mode = WICED_HAL_PCM_MODE;
pcmConfig.role = WICED_HAL_PCM_SLAVE;
pcmConfig.pcm_param.fillData = WICED_HAL_PCM_FILL_0S;
pcmConfig.pcm_param.frame_type = WICED_HAL_PCM_FRAME_TYPE_SHORT;
pcmConfig.pcm_param.lsbFirst = WICED_HAL_PCM_MSB_FIRST;
pcmConfig.pcm_param.rightJustify = WICED_HAL_PCM_DISABLE_RIGHT_JUSTIFY;
wiced_hal_set_pcm_config (&pcmConfig);
But it seems not enough: SCO was opened successfully but I have not heard audio in BT headset. What have I missed in PCM configuration?
I found one more function for configuration:
wiced_hal_pcm_select_pads - But I have not found any examples of using it.
Show LessHello,
I am able to scan all nearby devices with RSSI but I want to fetch their local name of BLE. How can I get the local name?
Below is my code:
void scanResult(wiced_bt_ble_scan_results_t *p_scan_result, uint8_t *p_adv_data)
{
// uint8_t mfgLen;
// uint8_t* mfgData = wiced_bt_ble_check_advertising_data( p_adv_data,0xFF,&mfgLen);
WICED_BT_TRACE("Found device %d ",p_scan_result->rssi);
if(p_scan_result->rssi>-80){
uint8_t index=0;
int fieldLength=p_adv_data[index];
do {
for(int i=0;i<=fieldLength;i++)
WICED_BT_TRACE("%02X ",p_adv_data[index+i]);
index = index + fieldLength + 1;
fieldLength = p_adv_data[index];
} while(fieldLength);
}
WICED_BT_TRACE("\n");
}
Thanks in advance.
Regards,
Neeraj
Show LessHi,
We are planning to use the CYW20706 in embedded mode but we have only one UART available in other MCU side. Can we configure the HCI UART as normal PUART in embedded mode? I read that is possible at least to redirect the debug traces to the HCI UART but I don't know if it is possble to receive data in this mode.
Thanks
Show LessHello AnjanaM_61,
I have downloaded Wiced Studio 6.4.0.61 on WINDOWS 64 bit from this link WICED-Studio 6.4.0 Installer (Windows)
Wiced studio 6.4 already has CYBT-413034 platform file, do i need to replace the platform file as written in this KBA? WICED Studio: Platform Files for CYBT-413034-EVAL – KBA223746 ?
I have not included patches file as shown in this KBA Platform and New Patch Files For 20719B1 in WICED 6.4.0.61 - KBA228518
The problem is i couldn't able to upload code. I did the recovery option many times but it of no use .
Downloading application...
********* Download Failure *************
+-----------------------------------------------------------------------------------------------+
| Follow below suggestions and retry. |
| 1. Verify USB-UART driver is correctly installed |
| 2. Verify SW4 switches are in ON position (CTS, RTS, RXD, TXD) |
| 3. Power cycle CYBT_413034_EVAL and retry. |
| |
| If this problem persists, the serial flash on the board may be corrupted. |
| Follow below steps to reset CYBT_413034_EVAL board to factory default state. |
| Note: This will erase any user application in the memory and resets the board to default state|
| 1. Press and hold RECOVER button (SW2) |
| 2. Press and hold RESET button (SW1) for 1 second |
| 3. Release SW1 |
| 4. Release SW2 |
| 5. Re-program CYBT_413034_EVAL |
+-----------------------------------------------------------------------------------------------+
Download failed. This WICED platform of the SDK only supports download to 20719B1 device.
Thank You.
Show LessHi Cypress,
I've to use CYBT-343026-01 to make a bridge between BT and UART using SPP.
On the UART side we want be able to to reply to the commands received from the paired-BT-device and to send some Cypress-HCI-protocol command to handle the module.
There is a "ready to use" firmware (or the source code) to download to the module in order to implement this?
Thank you!
Best regards,
Maurizio
Show LessHello AnjanaM_61,
I am using CYBT-413034-02 module, I ran out of pins, so i have to use HCI Rx nd HCI Tx pin to communicate with ESP8266 module. Can i achieve this using HCI raw data mode.
According to this KBA How to Use HCI Raw Data Mode in CYW20706 - KBA225970
I made all changes according to above KBA, for eg i am sending "XYZ" every one second using
wiced_transport_send_data(0x00,"XYZ",3);
In serial terminal i am receiving XYZ but along with garbage value.
Thank You.
Show LessHello AnjanaM_61
I am using a custom board with CYBT-343026 module. My requirement is to drive a motor when a key is pressed. I used two gpio pin one as input and other as output( P26).
i am driving 12v motor through mosfet. Whenever i drive the motor, CYBT-343026 module gets reset and then goes into undefined state?
If i run the same code using Led replacing motor, it runs perfectly.
what could be wrong?
Thank You.
Show LessHi,
We are looking for upgrading our wireless products to BLEv5.0 with a small form factor module available in market and found “CYBT-353027-02” with profile of 9x9x1.75 and got some clarity on certifications from form(https://community.cypress.com/docs/DOC-15283).
In order to comply with FCC and IC RF exposure requirements is this device must be installed/provided any separation distance between device and the user.
Usually people say 20cm separation distance which is practically not possible for our product. There are few products out in market with 0mm clearance and with bigger form factor which is again not suitable for me.
Dose this module require any separation distance?(for FCC and IC)
To move forward we would like to have a range test report with respect to output power with pricing and availability of modules in min and max numbers.
Show Less