Hi

No bug, but just my newbie error.

I managed not to see the difference between the ACLK divider and the timerA divider. The ID_DIV8 is for the timer divider, and is on the correct bits of TACTL. I was applying ID_DIV8 on the BCSCTL1 bits, that set the divider for the ACLK.

Confusion solved, enjoying myself tremendously :-)

Bart


On 1-mrt-2006, at 16:15, Bart van Deenen wrote:

imenting with an easyWebII board, using
the articles on onlamp.com as a guideline. I've found a bug in the
header file <timera.h> (cvs 1.12) , which defines ID_3 as (3<<6). This should be (3<<4). The same goes for the other clock divider constants
ID_0, 1 and 2.\

Why???
ID bits are 6 and 7.


I used ID_DIV8 for divide by 8 on the clock. ID_DIV8 is an alias for ID_3, but that doesn't really divide by 8, because the clock divisor bits are 4 and 5. Maybe I'm just using the wrong #define.



Reply via email to