CYBT-353027-EVAL PUART FLOW CONTROL

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

cross mob
EdUg_4645656
Level 1
Level 1

I downloaded EZ-Serial on the CYBT-353027-02 module of the CYBT-353027-EVAL Evaluation Board in order to build a Bluetooth/UART bridge with flow control enabled.

The EZ-Serial user manual highlights the following code (sent via USB/UART bridge) as the way to set up some parameters, such as baudrate, parity and flow control

STU,B=1C200,A=0,C=0,F=1,D=8,P=0,S=1

after sending this line using PuTTY the supposedly "success response" (as indicated by the manual) is given and appears as follows

@R,0009,STU,0000

Now the flow control is supposed to be enabled and the correspondent signal should be on GPIO_4 of the Evaluation Board but when I send data in both ways (UART->Bluetooth and Bluetooth->UART) the signal on GPIO_4 doesn't move at all (checked with an oscilloscope).

Am I doing anything wrong? Is there any way to make flow control work on PUART?

Thanks in advance

0 Likes
1 Solution

353027 EVAL board does not connect RTS pin(P1/GPIO4) of module to  usb2uart chip. So you have to use external USB2UART converter.

  1. Put pin of PUART(SW5) of 353027 EVAL  to off.
  2. Connect VDD, Gnd, PUART_RXD(J7),PUART_TXD(J7),RTS(GPIO_4 in J4),CTS(I2C_SDA/P3 in J4) to relative pins of  USB2UART.

Test Steps:

  1. STU, F=1 . set flow control
  2. Start  TeraTerm and connect to COM port of  above USB2UART which connect to 353027 EVA.

        Using flow control as HARDWARE.

   3. Start  SPP(or CYSPP) connection to 353027.

   4. In Tera term terminal, send  file. If you only send few data or commands, it won't triger the RTS signal because the PUART can always receive more data.

We can observe that GPIO_4 have high plus which is RTS signal.

View solution in original post

0 Likes
6 Replies