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

Bluetooth SDK Forum Discussions

jeje_2937166
Level 3
Level 3
10 questions asked 25 sign-ins 10 replies posted

Hi 

 

I am trying to PUART send data by SPP. 

There are some questions about this

 

1. I use Puart HW Flow Control

but if I use the rx pin as p2, PURAT doesn't  work.(RX: P2, TX : P31, RTS: P30, CTS : P35)

The data sheets and EVM Board states that p2 can be used as RX.

jeje_2937166_0-1669688930606.pngjeje_2937166_1-1669688952652.png

 

2. I know that Modus SDK supports thread/Mutex.

How do I use Thread/Mutex on cyw20706.

I need to use it. bacase during SPP data transmission, the data transmission speed decreases due to UART INTTERUPT.

 

Thank you

 

0 Likes
1 Solution

The CYW920706EVB has some hardware limitations as there are pull up/down resisters on the related pins. I used a CYBT-343026 board to test the UART flow control. It works fine on my side. 

Please refer to the test project attached.

View solution in original post

0 Likes
7 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

The P2 should work because we use it on the kit board. Did you configure the pin with wiced_hal_puart_select_uart_pads?

What's the throughput speed you expect?

0 Likes

Hi @Owen_Zhang123 

The P2 should work because we use it on the kit board. Did you configure the pin with wiced_hal_puart_select_uart_pads?

-> When I used wiced_hal_puart_select_uart_pads(2,31,35,30), Puaart doesn't work.

 

What's the throughput speed you expect?

-> I want SPP transmittion  Data from Puart. but it is very slowly 

 

0 Likes

As the hardware limitation of the EVK board, I can only test the pin without flow control. It can work normally with P02. 

Please refer to the test code attached based on the HAL_PUART demo.

0 Likes

@Owen_Zhang123 

I already checked without HW flow

I want to use Hw Flow 

0 Likes

The CYW920706EVB has some hardware limitations as there are pull up/down resisters on the related pins. I used a CYBT-343026 board to test the UART flow control. It works fine on my side. 

Please refer to the test project attached.

0 Likes

@Owen_Zhang123 

 

I checked Puart HW flow with your setting.

Thank you

 

can I  also get advice on SPP transmission from Puart??? 

0 Likes

What's the expected throughput speed? Could the current configuration satisfy it?

0 Likes