[Icc-avr] App Builder issue
Paul Mateer
paul.aa9gg at gmail.com
Fri May 30 11:23:36 PDT 2008
You are correct about the wrong settings. What about the CLKPR
register.....did you change it?
On Fri, May 30, 2008 at 12:22 PM, Patrick Fletcher-Jones <
fletcherjones at worldonline.co.uk> wrote:
> Hi everyone,
>
> Now I know I might being stupid here, but have a found a bug in the apps
> builder?
>
> I've got problems (still) with the 32KHz crystal , yes I know not a
> difficult thing to get going!!
>
> Anyway, I've used the apps builder to set it all up and yes Its oscillating
> but at totally the wrong speed. I've now gone thought the data sheet and on
> page 192 it shows a 1024 prescaler in TCCR2B should be 0x07 and the apps
> builder is generating 0x05 which I reckon is a prescaler of 128.
>
> I've tried both values and yes the value of 0x07 does slow things down, but
> its still totally the wrong frequency!!
>
> Any ideas???
>
> Many thanks as always....
>
> Patrick
>
> Opps PS I'm using a Mega1280....silly me...
>
>
>
> On 30/05/2008 18:04, "Patrick Fletcher-Jones" <
> fletcherjones at worldonline.co.uk> wrote:
>
> I don't think its setting the prescaler bits properly either. I've got an
> on going problem using this, with some kit that was due for delivery today.
>
> I've tried mailing the list and Imagecraft directly but no replies.
>
> VBR,
> Patrick
>
>
>
> On 30/05/2008 17:42, "Paul Mateer" <paul.aa9gg at gmail.com> wrote:
>
> Seems to be a problem with the app builder in ver 7.17. Using a mega3290,
> timer2 compare interrupt....generated code says "// **Section [TIMER2_COMP]
> not found**". I just upgraded from v7.16 because the app. builder never set
> the interrupt enable bits....but it DID give me the timer compare interrupt
> stuff. BTW...it still doesn't set the enable bits in the TIMSK registers.
>
>
> ------------------------------
> _______________________________________________
> Icc-avr mailing list
> Icc-avr at imagecraft.com
> http://dragonsgate.net/mailman/listinfo/icc-avr
>
>
> _______________________________________________
> Icc-avr mailing list
> Icc-avr at imagecraft.com
> http://dragonsgate.net/mailman/listinfo/icc-avr
>
>
--
Paul Mateer, AA9GG
Elan Engineering Corp.
www.elanengr.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20080530/30ecbc5b/attachment.html
More information about the Icc-avr
mailing list