nRF5340 Audio DK: LE Audio and UART2 Concurrently

Hi,

I have problems with the nRF5340 Audio DK to get LE Audio and UART2 concurrently on the same CIS stream to work.

GOAL

Use 2 x nRF5340 Audio DKs to transfer audio both directions via Line IN and at the same time send UART2 data from and to the 2 kits concurrently.  Exactly like the Walkie-Talkie demo but with LINE IN instead of Microphone.  And the UART must be a physical one and UART2 was chosen with a UART/RS232 converter.  So full duplex audio and serial data.

What I did so far

I did manage to modify the Application "<Path to ncs folder>\v2.2.0\nrf\applications\nrf5340_audio" to work with the LINE IN port. See my Forum post:
nRF5340 Audio DK: Walkie Talkie Demo - LINE IN instead of MIC

I also managed to modify both these samples to work with UART2 instead of the CDC Com port UART0.  I used the 2 Samples "Central UART" and "Peripheral UART". See my Forum post:

 Central and Peripheral UART Samples on UART2 - nRF5340 Audio DK 

Then I created a third Project with 2 applications that I want to combine the 2 projects. However, I only manage to get the "GATEWAY" paired with the NUS Server to work. But on the HEADSET side I can't get the NUS Client to work.  I tested the combined GATEWAY and NUS Server (Peripheral UART) with a HEADSET only and with the NUS Client (Central UART). That is why I know the GATEWAY/NUS Server side works.

The Audio still works but I cannot receive or sent serial data on the NUS client side which is on the HEADSET application side.

Application

We need to transfer Audio and Data in a full duplex Intercom system over a short distance because the wiring of an audio and data line is not possible due to moving parts.

Could you please help me combine the 4 projects into 2 please?  Is concurrent UART and LE Audio even possible?

Kind Regards

Parents Reply Children
No Data
Related