Hi, i want to use Power_Sleep mode and wake-up via uart rx interrupt.
I had been taken function Power_sleepDSP(...) from Power.c and try execute
REG(RTC_KICK0R_REG) = KICK0_UNLOCK; REG(RTC_KICK1R_REG) = KICK1_UNLOCK; uint32_t *p = (uint32_t *)0x01810000, currMEGPD = 0; currMEGPD = *p; currMEGPD |= 1<<16; *p = currMEGPD; Power_sleepDSP(Power_SLEEP, 0, 0);
Device reduced the power consumption, but i can't wake-up it (send data to UART from other device).
/* *.cmd file */
SECTIONS { .text:_c_int00 > 0xc3100000 .text : load > IRAM .bss : load > IRAM //.far : load > IRAM .vecs: load > IRAM }
If i uncomment .far section, device didn't sleep. (Power_sleepDSP(...) return ti_sysbios_family_c674_Power_SOK).
About spufk5a (9.2.5) step 2:
How i can enable one interrupt and disable other ? Now i use only uart interrupt (num 69).