energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

MSP430FR2xx_4xx: set vlo_freq variable to REFO clock frequency #1032

Closed LambertusIJsselstein closed 5 years ago

LambertusIJsselstein commented 5 years ago

When external XTAL is not present then the ACLK falls back to the REFO clock instead of the VLO for the MSP430FR2xx_4xx family. This patch matches the vlo_freq variable to the REFO frequency clock for the MSP430FR2xx_4xx family.

Tested on MSP430FR2433.

StefanSch commented 5 years ago

Thanks for this update - merged

LambertusIJsselstein commented 5 years ago

You're welcome! P.S. you might want to apply this patch to msp430-lg-core as well. If you want I'll issue a PR for that too but it will be untested.

StefanSch commented 5 years ago

Yes, that would be great as this is the current version where development is ongoing.