Hi,
I’d like to make sure I understand the terms used by SWRU455 concerning resets in relation to my CC3220MODASF.
When SWRU455 talks about the SimpleLink Wi-Fi device it means just the NWP and not the whole CC3220MODASF? For example, 2.1.1 Wi-Fi Connectivity says ‘Moving from mode to mode requires the user to reset the SimpleLink Wi-Fi device’.
Resetting the SimpleLink Wi-Fi device, AKA NWP, is as simple as sl_Stop() followed by sl_Start()?
3.8, MAC Address: ‘Setting a MAC address takes effect only after reset’. So sl_Stop() + sl_Start()?
3.12, Persistent Configuration, If system-persistent configuration is false, ‘configurations revert to default after reset’. So sl_Stop() + sl_Start() causes that reversion?
3.14, Errors, SL_DEVICE_EVENT_FATAL_DRIVER_ABORT, ‘User must perform device reset’. Is a ‘device reset’ different to the above sl_Stop/Start() resets?
4.9.1, 2.4-GHz Wi-Fi Calibration Modes, SL_ERROR_CALIB_FAIL, ‘For a calibration error with Normal or Triggered calibration, power/hibernate cycle invokes recalibration’. What needs its power cycling on a CALIB_FAIL? Is it the NWP/MAC/PHY, or must it include the Host?
out_of_box/provisioning_task.c handles CALIB_FAIL by calling mcuReboot() which says in its comment ‘reboot the M4 host processor’, stops the NWP with sl_Stop(), and then calls PRCMHibernateCycleTrigger() which hibernates after telling the RTC to wake it up imminently. So it’s implying the Host needs its power cycled, and has stopped the NWP so that too will have its power cycled?
Why doesn’t out_of_box above call PRCMMCUReset() instead? What’s the difference? Does PRCMMCUReset() reset only the Host M4, and optionally its SysTick, NVIC, and SCB peripherals? Whereas CALIB_FAIL needs the NWP M3 or something downstream of it to by cycled?
Can the Host be left unharmed, not reset, yet still reset the NWP or whatever else needs the power cycle to start recalibration?
Cheers, Ralph.