ULP change sleep timer
Posted: Tue Jan 29, 2019 7:32 pm
In the technical reference manual their is a figure (157) showing the change of the sleep cycles for the ULP. I't states its using the SLEEP command. When I try to change the SLEEP_CYC_REG, it still uses REG0, not REG1.
I set the register in the main program with:
But I can't get it to use any other register than 0
I their something I'm doing wrong?
I set the register in the main program with:
Code: Select all
ulp_set_wakeup_period(0, 250 * 1000);
ulp_set_wakeup_period(1, 1000 * 1000);
I their something I'm doing wrong?