Other Parts Discussed in Thread: CC1352P
按照CC1352P的shutdown example的方法,移植这段代码到zed_ota_client example里面,发现:
1.当进入shutdown的时候,电流是在150nA左右,说明芯片应该是进入了这个模式
2.但是当我按下按钮触发唤醒的时候,电流增加到4mA左右,但是芯片并没有重启。芯片感觉像是宕机了。。。。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: CC1352P
按照CC1352P的shutdown example的方法,移植这段代码到zed_ota_client example里面,发现:
1.当进入shutdown的时候,电流是在150nA左右,说明芯片应该是进入了这个模式
2.但是当我按下按钮触发唤醒的时候,电流增加到4mA左右,但是芯片并没有重启。芯片感觉像是宕机了。。。。
我放在
int main()
{
#ifndef USE_DEFAULT_USER_CFG
zstack_user0Cfg.macConfig.pAssertFP = assertHandler;
#endif
/* enable iCache prefetching */
VIMSConfigure(VIMS_BASE, TRUE, TRUE);
#if defined(USE_CACHE_RAM)
/* Disable cache */
VIMSModeSet( VIMS_BASE, VIMS_MODE_DISABLED);
#else
/* Enable cache */
VIMSModeSet( VIMS_BASE, VIMS_MODE_ENABLED);
#endif
/*
Initialization for board related stuff such as LEDs
following TI-RTOS convention
*/
Board_initGeneral();
PIN_State LedPinState;
PIN_open(&LedPinState, LED);
就是board innit之后,就直接闪一下灯