Other Parts Discussed in Thread: SYSCONFIG
I have followed the SimpleLink Academy - 5.40.00.00 DMM Integration -lab to build simple_peripheral and rfEchoRx -DMM application.
Code Composer Studio 11.1.0.00011, win10 and two LAUNCHXL_CC1352P1.
Initial example programs:
simple_peripheral_CC1352P1_LAUNCHXL_tirtos_ccs
rfEchoTx_CC1352P1_LAUNCHXL_tirtos7_ccs
rfEchoRx_CC1352P1_LAUNCHXL_tirtos7_ccs
The rxEchoRx - Tx and simple_peripheral examples work initially.
I've tried to triple check the modification steps of the lab in my code.
I can read the characteristics with my phone from simple_peripheral, so i guess the BLE is working correctly on this DMM-application example i have build.
Problem is that in rfEchoRx.c -file:
RF_EventMask terminationReason = RF_runScheduleCmd(rfHandle, (RF_Op*)&RF_cmdPropRx, &scheduleParams, echoCallback, (RF_EventRxEntryDone | RF_EventLastCmdDone));
returns 'RF_EventCmdAborted' and
uint32_t cmdStatus = ((volatile RF_Op*)&RF_cmdPropRx)->status;
returns 'PROP_DONE_ABORT'
This is almost immediate (running debugger) and it doesn't matter if the rfEchoTx-board is running or not.
I tried to change the command above to 'RF_scheduleCmd()', but it returns 0x3. I also tried to increase DMM-stack priority for prop rx-tx.
Also in
syscfg / RF STACKS / BLE / Broadcaster Configuration / Number of Advertisement Sets = 1
theres a warning "The example app code handles 2 advertisement sets. Please make sure to update the example app code according to the configured number of sets", even though i have followed the lab tutorial.
I hope you can help getting this working.