Quantcast
Channel: MPLAB Harmony
Viewing all articles
Browse latest Browse all 7442

"Safe" value for SYS_DEVCON_PerformanceConfig() ? (dlindbergh)

$
0
0
I'm writing a routine that changes the PIC32 clock speed on the fly by writing to OSCCONbits.PLLODIV. The core of it is:

// calculate PLLODIV value, then,

SYS_DEVCON_SystemUnlock();
OSCCONbits.PLLODIV = pllodiv;
SYS_DEVCON_Syst..


Viewing all articles
Browse latest Browse all 7442

Trending Articles