Using:
CC1352R1F3 Rev E
SDk 3.30.00.03
Hi.
I'm implementing my own RF communication with IEEE commands and I can't figure out how to use CSMA/CA mechanism.
I'm trying to use commands chain: EdScan -> CSMA/CA -> FS -> TX, but all the time it's hanging at CSMA command. One thing is when csma.condition.rule is set to COND_NEVER then command run and give csma.status equals 0x2400 (IEEE_DONE_OK), but if condition is different (e.g. COND_ALWAYS or COND_STOP_ON_FALSE) then status is 0x0806 (wrong background/foreground operations).
I'm using RF_scheduleCmd to fire RF commands. At this moment I tried to use one schedule with chain: EdScan -> CSMA/CA -> FS -> TX, and also two schedules when first was only EdScan and second with rest of chain. Also I tried different startTriggers, times and conditions but nothing works for me.
In CC13x2 manual is list with compatible background/foreground commands and all should be okay, but I can't make it works.