We are using CC1352R, and sensor controller.
The sensor controller has two tasks , only one is active (this is configured in production)
Funny thing that once everything works OK for the first task, the second task has the following problem:
- power up the device - reset source = 1
- reset the device once (HW reset with reset pin) - power up with reset source 1
- device boots up , reaches the sensor controller tick activation and then goes into repetative resets with reset source = 6
- the reperative resets does nto go away , even if I power off the device and apply power again it goes directly to the repetative reset
The system reset (reset source = 6 ) is most probably related to the following line of code (where I enable the sensor controller tick)
scifStartRtcTicksNow(0x00010000 ) ;
When I comment out this line , there are no repetative resets , but sensor controller does not work (not ticks)