Studio Bluetooth Forum Discussions
Hi,
Could anyone please suggest how to resolve the BLE device CYW20706 does not respond sometimes (50% cases) when power up initially. I thought the problem might be the power quality of AC-DC converter, so the device goes to unknown state or brownout. I have changed three different power supplies (which works well with MCU based controller), but the problem with CYW20706 stays. Even i have tried the recommended design by placing 10uF at reset pin.
One thing I've have observed is that i can see few lines of core messages at the puart terminal and then it stopped responding.
Please advice to enhance the system performance.
Best regards,
Niresh
Show LessHi,
CYW20719 Complies with Bluetooth Core Specification v5.0 with LE 2 Mbps. I want to test the ble maximum data throughput of CYW20719.
My result is about 45KBytes per second. It's much lower than the theoretical rate of BLE5( about 170KBytes per second).
So I want to know what is the maximum data throughput ? Or do you have any test result?
Best regards.
Show Less@XinghaoZ_26 Jul 27, 2020 8:41 PM (in response to n s)
You can get the local device addres with API void wiced_bt_dev_read_local_addr (wiced_bt_device_address_t bd_addr);
To configure the addr, you can use the API void wiced_bt_set_local_bdaddr( wiced_bt_device_address_t bda , wiced_bt_ble_address_type_t addr_type);
Every time wiced_bt_dev_read_local_addr API, returns the same local address in different ble device.
From a production point of view, where we use hex files, what we care about is to obtain a unique identification number for each ble device. For that particular device, it will never change.
Show LessHi
I would like to confirm the following information.
1. Can I use mbt.exe without installing WICED-Studio-6.x to test and verify the RF performance?
I think it can be used basically , but are there any precautions?
2. When performing Radio TX Test item, Class1 test using MBT, is tx_power the maximum value +3dBm?
>tx_power: –25 dBm to +3 dBm
MBT tool and CyBluetool tool can also test and verify the RF performance, which one do you recommend?
Thanks,
Yang
Show LessHello
I am using the CYBT-213043-MESH kit, and Modustoolbox
could you explain me
can you answer my questions? please
about Mesh-Snip examples such as Mesh_Snip-213043-mesh_location_server, Mesh_Snip-213043-mesh_vendor_specific_app, Mesh_Snip-213043-mesh_battery_client
1) each example uses a different particular service provided by a Bluetooth device such (UUID services) as the Battery Service, Binary Sensor etc?
Or do all the examples use the same BLE service(UUID services)?
2) if this is the case, the CYBT-213034-MESH module can use all these example codes in one and that each function of each example works simultaneously?
3) How many services can be used at BLE MESH?
I know that the services can be used: Mesh Provisioning Service and Mesh Proxy Service
Can BLE MESH use more services or just these 2 that I mentioned?
Could you explain me? please
Show Lesshello,
i am using cybt-413034-02 module and i want to send and receive data through PUART , i can able to print the data but i cant able to write or read the data from call back function.
i am using wiced studio 6.4 and version is WICED-SDK Version: Wiced_006.004.000.0061
i am using this code and called test_puart_driver.
please help,
APPLICATION START()
{
test_puart_driver();
}
void puar_rx_interrupt_callback(void* unused)
{
// There can be at most 16 bytes in the HW FIFO.
uint8_t readbyte;
wiced_hal_puart_read( &readbyte );
/* send one byte via the TX line. */
wiced_hal_puart_write( readbyte+1 );
if( readbyte == 'S' )
{
/* send a string of characters via the TX line */
wiced_hal_puart_print( "\nYou typed 'S'.\n" );
}
wiced_hal_puart_reset_puart_interrupt( );
}
/* Sample code to test puart driver. Initialises puart, selects puart pads,
* turn off flow control, and enables Tx and Rx.
* Echoes the input byte with increment by 1.
*/
void test_puart_driver( void )
{
uint8_t read_5_bytes[5];
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.
#if defined(CYW20706A2)
wiced_hal_puart_select_uart_pads( WICED_PUART_RXD, WICED_PUART_TXD, 0, 0);
#endif
/* Turn off flow control */
wiced_hal_puart_flow_off( ); // call wiced_hal_puart_flow_on(); to turn on flow control
// BEGIN - puart interrupt
wiced_hal_puart_register_interrupt(puar_rx_interrupt_callback);
#if !defined(CYW20706A2)
//set watermak level to 1 to receive interrupt up on receiving each byte
wiced_hal_puart_set_watermark_level(1);
#endif
/* Turn on Tx */
wiced_hal_puart_enable_tx( ); // call wiced_hal_puart_disable_tx to disable transmit capability.
wiced_hal_puart_print( "Hello World!\r\nType something! Keystrokes are echoed to the terminal ...\r\n");
/* Enable to change puart baud rate. eg: 9600, 19200, 38200 */
wiced_hal_puart_set_baudrate( 115200 );
}
Show LessHELLO, AnjanaM_61 BoonT_56 KeTa_1341526
i am trying to do the process mentioned below.
Go to Project and select Properties. Expand C/C++ Build and choose Settings. Under the Tool settings tab expand GCC Linker and select Libraries. At the right of the window, add a library named m at Libraries (-l).
As you can see in attached file, there is no Tool Setting?
Please help.
Thank you.
Show LessHi,
Is there a code example to send commands to the eval board through putty or any other serial communication tool?
I would like to implement an application which receives HCI commands through UART and sends the received data(over bluetooth) to the host(putty etc)
So far I was able to configure the Eval board(using hci opp server example) to send the 1Meg data on button interrupt but unable to receive the data which was input on the host side.
Regards,
Se
Show LessWe've been doing field tests with our custom PCB containing the CYBT-413034-02 module. In these field tests we are noticing a certain directionality with the antenna. In order to understand how the current setup is behaving we've sent our product to a test lab to measure the antenna power per direction. In order to do this they require a 'Clean Carrier Wave' signal. Which is a non modulated carrier wave. I have been researching some documentation but so far I have only been able to find the Bluetooth Tx Testmode which is modulated.
Can someone please advise if this mode exists on the CYBT-413034-02 and if so, how to enable it?
Show Less