Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow MSP430 DCO frequency to be up to 9MHz #38

Closed
wants to merge 1 commit into from

Conversation

atiselsts
Copy link
Member

This is a quick-and-dirty fix for msp430 Series-2 based mote (e.g. Zolertia Z1) clock speed in simulations.

For now, attempts to configure DCO frequency higher than 4.9 MHz in Cooja lead to ACLK speed being reduced to 16384. The outcome is that Contiki system clock on simulated Z1 motes runs twice slower than expected.

Due to some implementation idiosyncrasies, the problem with Z1 clock speed in simulations appeared only after applying this pull request to Contiki: contiki-os/contiki#606 (it fixes a different clock frequency related bug):

Related: issue #35.

@simonduq
Copy link
Member

Great! Should also fix #44, right?

@atiselsts
Copy link
Member Author

Hi Simon,
yes, you describe the same problem, and this patch is sufficient to get the clock speed back to normal.

issue #35 explains what exactly goes wrong.

@simonduq
Copy link
Member

Excellent, thank!
On 14 May 2015 10:32, "Atis Elsts" [email protected] wrote:

Hi Simon,
yes, you describe the same problem, and this patch is sufficient to get
the clock speed back to normal.

issue #35 #35 explains what
exactly goes wrong.


Reply to this email directly or view it on GitHub
#38 (comment).

@joakimeriksson
Copy link
Member

This should now be fixed by #46 so I am closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants