Overclocking the Arduino DUE
thought try due overclocking fun of
so tried different pll mul/div settings.
it seem 120mhz max sam3x8e cortex m3 chip run.
this not because of flash read speed because of internal sram , has no waitstate setting.
so @ 114mhz runs stable original 4fws setting (20mhz ahb bus-speed).
that 136% overclocking without problems.
so tried different pll mul/div settings.
it seem 120mhz max sam3x8e cortex m3 chip run.
this not because of flash read speed because of internal sram , has no waitstate setting.
so @ 114mhz runs stable original 4fws setting (20mhz ahb bus-speed).
that 136% overclocking without problems.
code: [select]
#define sys_board_pllar (ckgr_pllar_one | ckgr_pllar_mula(18ul) | ckgr_pllar_pllacount(0x3ful) | ckgr_pllar_diva(1ul))
#define sys_board_mckr ( pmc_mckr_pres_clk_2 | pmc_mckr_css_plla_clk)
/* set fws according sys_board_mckr configuration */
efc0->eefc_fmr = eefc_fmr_fws(4); //4 waitstate flash access
efc1->eefc_fmr = eefc_fmr_fws(4);
/* initialize plla 114mhz */
pmc->ckgr_pllar = sys_board_pllar;
while (!(pmc->pmc_sr & pmc_sr_locka)) {}
pmc->pmc_mckr = sys_board_mckr;
while (!(pmc->pmc_sr & pmc_sr_mckrdy)) {}
thanks sharing valuable information. it's interesting see can reduce power consumption down 20% lowering processor clock speed mhz. can interesting low power battery-operated devices can recover full processor speed in microseconds... additionally, disabling unused peripherals can lead lower power consumption , greater battery life without losing functionality.
Arduino Forum > Community > Exhibition / Gallery > Overclocking the Arduino DUE
arduino
Comments
Post a Comment