AIROC™ Bluetooth Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
How can I check and set the memory address of my application in Modustoolbox?
Hi forum!
I am in trouble. I have connected my BT module and downloaded makefile by using wiced studio (Look at the screenshoot).
I have to verify that the puart of the module work! I need to communicate with the module by using my smartphone galaxy s3 and receiving on the serial the word "hello" sent by the module. How can i do? There is an application already written?
I need also to try to communicate eventually with PC UART which terminal software i have to use on windows 7?
My module is connected thorugh the uart usb bridge and the firmware download works!
I don't know wich app or which maketarget i have to use! I am totally new on programming and on programming bt module by infineon!
Show Less
I would like some advice about the layout of the PCB where CYBT-343026-01 is mounted.
(1)
Should the GND plan of CYBT-343026-01 and the GND plan of the MCU be connected with a wide and large GND?
Or should each GND plan be separated and connected at only one point using, a 1.6mm x 0.8mm chip resistor(for example)?
(2)
Do unused pins of CYBT-343026-01 need pull-up or pull-down processing?
Is it okay to leave it as N.C (open)?
*The following Pads are not planned to be used.
Pad 2, Pad 4, Pad 6, Pad 8, Pad 9,
Pad 10, Pad 11, Pad 12, Pad 14, Pad 15,
Pad 17, Pad 18, Pad 19, Pad 22, Pad 23
Steps I followed using MTB 3.1:
- New project from "Bluetooth_LE_Battery_Server"
- Used BSP assistant to port both projects to CY8CPRROTO-063-BLE
- Set OTA_SUPPORT=0 in makefile
Application seems to run but most connection attempts fail after only a few seconds. When they do succeed, they disconnect within a few seconds. It does not seem like 5 seconds, but the logs suggest it is near that.
I fixed one problem, 0x24 unknown event, but that was not the issue. I added the btspy functionality and captured this. In this case the connection happened, and the phone app showed the service list, but then immediately disconnected.
Show Less
Please guys i am trying to develop a code for writing on the uart pin RX and TX the Hello word and watch it on teraterm but i fail and no able to understand why. The code is this for the module 413034-02 what is wrong? I have to write repetly hello on the terminal:
#include "wiced_bt_dev.h"
#include "sparcommon.h"
#include "wiced_hal_puart.h"
#include "wiced_platform.h"
#include "wiced_bt_trace.h"
#include "wiced_hal_gpio.h"
#include "wiced_bt_stack.h"
/******************************************************************************
* Constants
******************************************************************************/
/******************************************************************************
* Structures
******************************************************************************/
/******************************************************************************
* Variables Definitions
******************************************************************************/
static wiced_result_t sample_puart_app_management_cback( wiced_bt_management_evt_t event,
wiced_bt_management_evt_data_t *p_event_data);
static void test_puart_driver( void );
/******************************************************************************
* Function Definitions
******************************************************************************/
/*
* Entry point to the application. Set device configuration and start BT
* stack initialization. The actual application initialization will happen
* when stack reports that BT device is ready.
*/
APPLICATION_START( )
{
wiced_set_debug_uart( WICED_ROUTE_DEBUG_NONE );
wiced_bt_stack_init( sample_puart_app_management_cback, NULL, NULL );
test_puart_driver();
}
wiced_result_t sample_puart_app_management_cback( wiced_bt_management_evt_t event,
wiced_bt_management_evt_data_t *p_event_data)
{
wiced_result_t result = WICED_SUCCESS;
WICED_BT_TRACE("sample_puart_app_management_cback %d", event);
switch( event )
{
/* Bluetooth stack enabled */
case BTM_ENABLED_EVT:
test_puart_driver( );
break;
default:
break;
}
return result;
}
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.
/* 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);
//set watermak level to 1 to receive interrupt up on receiving each byte
wiced_hal_puart_set_watermark_level(1);
/* Turn on Tx */
wiced_hal_puart_enable_tx( ); // call wiced_hal_puart_disable_tx to disable transmit capability.
/* Enable to change puart baud rate. eg: 9600, 19200, 38200 */
wiced_hal_puart_set_baudrate( 115200 );
while(1){
wiced_hal_puart_print( "Hello World!\r\nType something! Keystrokes are echoed to the terminal ...\r\n");
}
}
Hi! Community
I purchased the CYBT-413034-02 chip without the EVAL board. Can it be programmed without the EVAL board? I have an UART to USB converter available at home, but I'm not sure if it's suitable. For now, I've only soldered the TX and RX wires and power supply because I need to test if it interfaces with a processor's UART. What else do I need to do to download the firmware into it?
Hi, I currently have a development board with the title on my hand. I want to do a demonstration of the mouse function, but I discovered that after burning the demo on MTB and pressing the pairing button P4.1, even basic Bluetooth broadcasting was not possible. I'd like to ask if there are any sensor detection mechanisms in the demo that prevent it from reaching the broadcast section. My idea is that the most basic Bluetooth function should be able to start only when there are no other mouse-related sensors, so I'm looking forward to your answers.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AIROC-%E8%93%9D%E7%89%99/cyw920829m2evk-02-es%E7%83%A7%E5%BD%95mtb%E4%B8%8A%E7%9A%84mouse-demo%E6%97%A0%E6%B3%95%E5%B9%BF%E6%92%AD/td-p/660773
Show LessHi, as the title says, I want to know how our Findmy function is implemented, RTT? RSSI?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AIROC-%E8%93%9D%E7%89%99/cyw20829%E7%9A%84findmy-%E5%8A%9F%E8%83%BD%E5%85%B7%E4%BD%93%E5%AE%9E%E7%8E%B0%E6%96%B9%E5%BC%8F/td-p/650856
Show LessIn SOC mode, the CYW20706 transmits data without audio transmission:
1. Does it support 1 to 1 pairing, 2, whether 1 to 2, pairing, and mutual transmission
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AIROC-%E8%93%9D%E7%89%99/CYW20706%E9%85%8D%E5%AF%B9%E8%BF%9E%E6%8E%A5%E9%97%AE%E9%A2%98/td-p/682319
Show Less