Basic Question - How to output data using the second COM port

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I'm just beginning my work with BCM2073X.

I'm currently using the Hello Client and Hello Sensor Applications to transfer data between two tags. I can see the data being transferred using Tera Term.

Hello Client is on COM 3 & 4 while Hello Sensor is on COM 5 &6.

I am inputting data using COM 6 (key strokes from my PC for now). This is then picked up by the Hello Client tag and printed on COM 3.

It is my understanding that the first COM Port is for downloading data, how do i transfer the data downloaded by COM 3 to COM 4. I want to do this as I wish to transfer this data to an external chip later on in the project.

Thanks in advance.

0 Likes
1 Solution
3 Replies
huangj
Level 4
Level 4
Welcome! 25 replies posted 10 replies posted

Hi,

The download UART calls HCI UART.

The second UART calls peripheral UART(PUART).

You can refer to the sample code - uart_firmware_upgrade.

Jack,

BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

As Jack has pointed out, the first port is called HCI_UART and and the second is called pUART.

The HCI_UART is used for downloading of applications/FW onto the module. It is NOT available to Application use. pUART on the other hand is for application use which you may wish to connect it to your external chip. You may also to puart_control sample app for more details.