Hi team,
My customer evaluates easylink --> rfAudioTx/Rx and try to let CC13xx swap between input/output stream. He adds output stream based on rfAudioTx(input stream). However, he meets two problems.
Test environment:
CC1312R1 Launchpad
SDK : simplelink_3_30_00_06 and simplelink_audio_plugin_3_30_00_06
CCS : 9.20
Problems:
- Customer only modify “AUDIOHAL_INPUT” to “AUDIOHAL _INPUT_OUTPUT”. The CC1312 will enter “error assert” after running around 8 sec.
- Customer did below test flow.
i) CC1312 runs the default AUDIOHAL _INPUT.
ii) After 5 sec, CC1312 turn off AUDIOHAL _INPUT, then turn on AUDIOHAL _OUTPUT.
iii) After 5 sec, CC1312 turn off AUDIOHAL _OUTPUT, then turn on AUDIOHAL _INPUT.
Repeat step i), ii)
There are two abnormal scenarios: (1) CC1312 will fail while turning on/off AUDIOHAL _OUTPUT. (2)CC1312 will run into “error assert” after running awhile.
Note, please import easylinkàrfAudioTx. Then copy rfAudioTx_Q1.c, rfAudioTx_Q2.c into project.
Since Q2 will use timer, need to copy util_timer.c/.h into project. Besides, inside rfAudioTx_Q1/Q2, there are comments with “//kimi”.