cancel
Showing results for 
Search instead for 
Did you mean: 

Studio Bluetooth

daba_4649501
New Contributor II

hello,

i am using CYBT-413034-02 and CYBT-413055 ble chips and i am programming this modules using evaluation board of HCI uart and PUART through USB serial.

can i able to configure the HCI uart as normal for flashing an external memory after programming the module. i only need rx and tx for the flashing external serial flash.

also i need to use PUART for the trace.

i dont know if it possible , if there is please let me know.

thank you,

regards,

danny.MichaelF_56SheetalJ_96broadcomwiced-adminDaZh_2976111

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator

Hi,

If you are planning to program the cypress chip using an external MCU, you can refer WICED-HCI-Control-Protocol.pdf This document will show us how a host microcontroller unit (MCU) can communicate with a Cypress WICED device via HCI UART.

You can refer the lab manual examples (Chapter5) to understand how HCI modes and communications are coded.

CypressAcademy_WBT101_Files/Projects/ch05 at master · cypresssemiconductorco/CypressAcademy_WBT101_F...

Please check wiced_transport.h for related transport utility APIs and descriptions.

Thanks,

-Dheeraj

View solution in original post

3 Replies
DheerajPK_41
Moderator
Moderator

Hi,

Sorry, I couldn't understand your exact requirement.

Generally we will be able use HCI UART for programming and PUART for debug traces. You can configure to reroute the debug traces to HCI UART as well (check wiced_debug_uart_types_t in wiced_bt_trace.h). In HCI UART two modes are there -WICED_TRANSPORT_UART_HCI_MODE and WICED_TRANSPORT_UART_RAW_MODE.

May I know which SDK are you using? And what exactly is your requirement?

Thanks,

-Dheeraj

daba_4649501
New Contributor II

hi,

my exact requirement is , i want to use HCI uart to flash a external serial flash using hci uart rx and tx.

how to send data in HCI uart rx and tx pins.

please provide an example code for how to send data and receive data using HCI uart rx and tx.

i am using wiced studio 6.0 and version of sdk is

WICED-SDK Version: Wiced_006.004.000.0061

DaZh_2976111MichaelF_56SheetalJ_96broadcomwiced-adminAnjanaM_61

thank you,

regards ,

danny

0 Likes
DheerajPK_41
Moderator
Moderator

Hi,

If you are planning to program the cypress chip using an external MCU, you can refer WICED-HCI-Control-Protocol.pdf This document will show us how a host microcontroller unit (MCU) can communicate with a Cypress WICED device via HCI UART.

You can refer the lab manual examples (Chapter5) to understand how HCI modes and communications are coded.

CypressAcademy_WBT101_Files/Projects/ch05 at master · cypresssemiconductorco/CypressAcademy_WBT101_F...

Please check wiced_transport.h for related transport utility APIs and descriptions.

Thanks,

-Dheeraj

View solution in original post