AIROC™ Bluetooth Forum Discussions
Hi Infineon team,
Hope you are doing well.
I would like to know the total internal inductance and capacitance of CYBT-343026-01. This is needed for 'Intrinsic Safety' application, and is a requirement to be given in the document.
Kind regards,
Remo
Show Less
Hi together,
I have the CYBT-213043-EVAL connected to the MiniProg4 connected via the SWD pins and followed the instructions on
https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/AIROC-Hardware-Debugging.pdf
I validated that the HW has been setup correctly, as mentioned in chapter 5.1
Then I started the Modustoolbox and clicked on the "Attach_KitProg3_Miniprog4" button to start the debugging. As mentioned in the above pdf, I can click suspend and the break point hangs in BUSY_WAIT_TILL_MANUAL_CONTINUE_IF_DEBUG_ENABLED() loop. Then I set the variable "spar_debug_continue" to 1 and click on "Resume". Sometimes the next break point is hit, but in most cases I just get an error message and debugging does not work:
Error: [CYW20819A1.cpu] Can not find free FPB Comparator!
Error: can't add breakpoint: resource not available
How can I overcome this issue?
Show Less
Why would this EV board CYW920819EVB-02 be discontinued? If we still need it, where can we purchase one? Thanks.
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?