Women in Technology

Hear us Roar



Article:
  Black Box with a View, Part 2
Subject:   timing
Date:   2006-03-01 12:00:52
From:   bartvan deenen
Response to: timing

Oh I see
I was dividing the ACLK, and there is another divider for Timer A. Complicated all these timers.


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • timing
    2006-03-01 18:11:06  georgebelotsky [View]

    Yes, configuring the hardware can be error prone.

    Particularly, watch out for the convenience macros that define symbolic names for various bits. The macros are helpful, but there is nothing to prevent you applying them to the wrong register.

    Try TI's examples as a starting point when dealing with MSP430 features that are new to you. You can be reasonably sure that they are setting up the microcontroller correctly.

    Get the example to run first, then use it as a guide to build your own device driver for the hardware in question.

    Best Wishes,

    George.