CYBT-413034 Multi thread(PUART+SPP)

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

cross mob
ilHw_4713311
Level 4
Level 4
5 solutions authored 50 sign-ins 50 replies posted

Hello.

rfr901_uart.PNG

One of my goal is sending data from PUART to rfcomm(SPP).

In my previous project with CSR support bypass mode(PUART -> SPP) but Cypress don't have such features in my Study.

So I'm working on Bypass mode(PUART->SPP) by myself.

My Request.

I know you support thread APIs and Mutex.

But I want to make sure that CYBT-413034 receive data via PUART while SPP is sending at the same time. (multi thread)

Please give me any advice.

Thanks.

0 Likes
5 Replies
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi ilHw_4713311​,

Can you please have a look at Exercise 6A.2 in Classic Bluetooth-Basic pdf here- CypressAcademy_WBT101_Files/Labmanual at master · cypresssemiconductorco/CypressAcademy_WBT101_Files...

I think this is what you are trying to achieve.

0 Likes

Hello.


Thanks for your reply.

What I found from link is about "6A.2 Service Discovery Protocol(SDP)".

CypressAcademy_WBT101_Files/WBT101-06A-ClassicBluetooth-Basic.pdf at master · cypresssemiconductorco...

I'm wondering if you could tell me that I can send data via SPP(rfcomm) and receive PUART at the same time.

0 Likes

I'm testing receiving data from PUART and sending it to SPP(rfcomm).

Test 1

Receive data via PUART only (baud rate 460080)

Test 2

Send data via SPP only

Test 3

Send data via SPP as well as receiving data via PUART

I'm experiencing Test 3 SPP transfer speed is very slow than Test 2.

That's why I made this case.

0 Likes

I pointed you to the 'Exercise 6A.2 Add UART Transmit' (page 26). Please check that.

Thanks for your reply.

I reviewed your link. Unfortunately, that is not I expected.

I will do more test by myself. Then ask you again.

0 Likes