Other Parts Discussed in Thread: TCAN1043A-Q1
Hello, I'm trying to powerdown my module, my assumption ->is that powerdown should be instant. But after execution of the following, it takes additional more 10 seconds. What can be wrong?
1 - TSTSW_Module_disableAllModules();
2- PeriodicTasks_suspend();
3 - HwiP_disable();
4 - BSP_CAN_enterSleepMode();
5 - GPIO_pinWriteLow(gpioBaseAddr, pin);
6 - vPortEndScheduler();
portSUPPRESS_TICKS_AND_SLEEP();
1 and 2 necessary to disable periodic tasks
3 need for HwiP disabling
4 put to sleep mode CAN transceiver
5 make low pin which is responsible for power supply