0

How to test Bidirectional data transfer between each PTX and the PRX

suker.su gravatar image

asked 2017-08-10 11:28:57 +0200

1,NRF52832 2,use ESB code 3,I want to do a transport data from PRX to PTX

edit retag flag offensive close delete report spam

1 answer

Sort by » oldest newest most voted
0
ovrebekk gravatar image

answered 2017-08-11 16:14:02 +0200

Hi

You send data from the PRX to the PTX in almost the same way as you send data from the PTX.

You use the same function, but you have to pre-load the packet to be sent. Then the packet will be sent to the PTX as a part of the ACK on the next packet the PTX sends to the PRX.

If you upload the packet beforehand it will simply be queued in the FIFO, and then it will be sent as soon as you receive something from the PTX.

If you use the SDK ESB example as a starting point it should be relatively quick to modify it so that the PRX sends data in return to the PTX.

Best regards
Torbjørn

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower

Stats

Asked: 2017-08-10 11:28:57 +0200

Seen: 21 times

Last updated: Aug 11