Studio Bluetooth Forum Discussions
"A Technical Brief: WICED Studio 6.2.1" described A2DP compatible chipset.
A2DP source : Version 1.0. Support SBC encoding : CYW20706A2, CYW20719B1, CYW4343W, CYW43340
A2DP Sink : Version 1.0. I2S bus can be master or slave : CYW20706A2, CYW20719B1, CYW4343W, CYW43340
According to "https://community.cypress.com/message/154799#154799", WICED 6.1 does not support AAC.
However, WICED version has increased to 6.2.1.
But, there is no description about A2DP CODEC in "WICED Studio Technical Brief (Document No. 002-23047 Rev. **)".
Does WICED 6.2.1 support A2DP AAC?
Show LessWe are trying to send the response of MTU_REQ using MTU_RES from peripheral to client. How to do that ?
We are getting GATTS_REQ_TYPE_MTU event from GATT but how we have to send back the response MTU packet to client ?
Show LessI'm using CYBT 343026 for audio streaming and for transfer data with characteristics BLE. These data are exchanged with another micro via the PUART.
The sending of the data on PUART may have frequency peaks of 1000 packects per second and every packet contains 21 bytes (for the final version they could increase).
I tested this case and, when I start the sending of data via PUART, the streaming stop, the smartphone or tablet disconnect from it and it's necessary to reset module for reconnect again for audio streaming.
If I decrease the sending at 10 packects per second it seems works fine even if seems some times the audio streaming stop for a moment.
If I use audio streaming and sending data separately all works fine also a 1000 packets per second.
The strange thing is that this happens even if I do not set BLE characteristic and do not initialize PUART. If I do not initialize PUART it's not necessary to reset module but the audio stop for a moment (as if dashed).
I receive the bytes with ISR and I process packets in the same routine but the problem persist even if I process the packets inside a timer routine every 10ms (as if were a MainLoop).
This is initialization code for PUART:
//Configure the PUART
wiced_hal_puart_init();
// Possible uart tx and rx combination.
// Pin for Rx: p2, Pin for Tx: p0
// Note that p2 and p0 might not be avaliable for use on your
// specific hardware platform.
// Please see the User Documentation to reference the valid pins.
wiced_hal_puart_select_uart_pads(WICED_PUART_RXD, WICED_PUART_TXD, WICED_PUART_CTS, WICED_PUART_RTS);
/* Turn on flow control */
wiced_hal_puart_flow_off();
// BEGIN - puart interrupt
wiced_hal_puart_register_interrupt(IPP_ReceivedData);
//Change puart baud rate. eg: 9600, 19200, 38200 */
wiced_hal_puart_set_baudrate(1000000);
//Start receive.
wiced_hal_puart_enable_rx();
and this is the code lines in PUART interrupt routine, for read byte and clear interrupt flag:
wiced_hal_puart_read(&pktBufRx[iPktBufRx]);
void IPP_ReceivedData(void* unused)
{
.
.
.
iPktBufRx++;
if(iPktBufRx>=sizeof(pktBufRx))
iPktBufRx=0;
.
.
.
wiced_hal_puart_reset_puart_interrupt();
}
It's a resource limitation of module or it's a software bug (mine or stack)?
Show LessHi,
Init a periodic timer, and start it. but this timer cannot be stopped in it's timer handler.
1. init code
/* Starting the app timer */
if ( wiced_init_timer(&app_timer, mesh_app_timer, 0, WICED_SECONDS_PERIODIC_TIMER) == WICED_SUCCESS)
{
if ( wiced_start_timer(&app_timer, MESH_APP_TIMEOUT_IN_SECONDS) != WICED_SUCCESS)
{
WICED_BT_TRACE(" APP START Timer FAILED!! \n");
}
2.
void mesh_app_timer(uint32_t arg)
{
WICED_BT_TRACE("mesh_app_timer: count:%d arg:%d\n", dev_ctx.app_timer_count, arg); -> although stop timer returned successfully. this debug print still there.
dev_ctx.app_timer_count++;
wiced_stop_timer(&app_timer);
#ifdef _DEB_PRINT_BUF_USE
/* dump wiced bt buffer statistics on every 10 seconds to monitor buffer usage */
if (!(dev_ctx.app_timer_count % _DEB_PRINT_BUF_USE))
{
_deb_print_buf_use();
}
#endif
}
Show LessHello,
According to this documentation page: WICED Bluetooth Software Features (CYW20706A2/CYW20719B1)
The CYW20719 does not support the following profiles:
- Handsfree profile
- A2DP Sink
Is this true? These are some pretty common bluetooth profiles that are supported by the older CYW20706 chip. Is support for these profiles being added in the future?
Show LessHi forum experts,
I'm using CYW20706 to scan for BLE beacons, and I'm noticing the RSSI value provided by the stack changes erratically between +93 and -38.
Beacon[0], id=1369100000, batt=0, power=5, zone=88, rssi=-32
Beacon[0], id=1369100000, batt=0, power=5, zone=88, rssi=-36
Beacon[0], id=1369100000, batt=0, power=5, zone=88, rssi=-33
Beacon[0], id=1369100000, batt=0, power=5, zone=88, rssi=-36
Beacon[0], id=1369100000, batt=0, power=5, zone=88, rssi=90
Beacon[0], id=1369100000, batt=0, power=5, zone=88, rssi=90
Beacon[0], id=1369100000, batt=0, power=5, zone=88, rssi=-32
I use the wiced_bt_ble_scan() API, and in my wiced_bt_ble_scan_result_cback_t callback hander, I'm printing the 'rssi' field in the provided wiced_bt_ble_scan_results_t directly.
Is this behavior expected?
Thanks!
Show LessCYBT-343026-01 has an SPI-Flash memory.
Regarding, Erase Endurance and Data Retention specifications of inside SPI-Flash,
I could not find these specifications in module datasheet.
If you have these specifications, please let me know.
Show LessHi:
Based on the WICED-Studio-6.2, I use mesh_provision_client sample, I added several nodes to the client. How do I get the number of nodes and nodes name?
Show LessI am attempting to download a simple firmware application onto a 20706 via the HCI commands from another microcontroller. I am getting successful responses from all of the HCI commands, however the application is not booting after I send the LAUNCH_RAM command. In order to rule out anything I could be doing wrong on the main microcontroller, I have attempted to load some sample apps such as a simple LED blinker using Client Control. The download succeeds, however the application is still not running.
I have a previous project that worked just fine, however that hardware included a serial flash chip for the CYW20706A2 to use as a boot ROM. This project features the 20706 as a communications chip for another master microcontroller, so I am trying to load the application on boot, but it seems like loading the application into RAM using the .hcd files and then executing the LAUNCH_RAM command does not actually start the application.
Does anyone have experience with loading the firmware over HCI without a serial flash and can give me some direction? I have even tried doing this on the evaluation kit, using the sample apps and Client Control and am having the same results. The difference is, my evaluation kit is for the A1 hardware so I am not sure that anything I compile with the latest A2 SDK is compatible at all with it. Both of the custom hardware projects are using the A2 chip.
Show LessHi,
I would like to know how to programm a CYBT-343026-01 module.
The CYBT-343026-01 kit is based on the CYW20706. So far I have been using the CYW920706WCDEVAL evaluation kit for development. Now I would like to build a first pcb prototype using the mention module.
I would like to know the following:
1) Required lines to program the CYBT-343026-01 module.
2) Required programmer to program the CYBT-343026-01 module.
2.1 Is is somehow possible to use CYW920706WCDEVAL to program the CYBT-343026-01 module. If so, please specify the wiring.
3) Required software in order to program the code using the programmer solution proposed in point 2.
4) Finally, in order to get my pcb desing moving, it would be helpful to get access to a library containing the CYBT-343026-01 module design part for EAGLE CAD. Is that possible?
I will much appreciate if you could answer my queries with diligence.
Thank you for your help!
Show Less