I'm afraid I don't have the patience to apply the
necessary brain cells to the hermeneutics of the
ATMEGA manual right now. My only advice is to put
it all down for a day or two and then re-read _every_
section of the manual that might apply, looking for
some small detail that got buried in the text.

 From your previous messages it sounds like you've
gotten each individual function you want working,
so I would pay special attention to any section
of the manual that discusses the interactions
between counter/timer components. If you are
graphically oriented, tracing through the schematic
diagram of the counter might be helpful too.

sorry
MS


sofia aparicio wrote:
> Hello,
>  
> I would like to configure in Fast PWM mode without prescaler and 
> toggling OCR3A,OCR3B and OCR3C at the same time. I do the following:
>  
> SET_BIT(DDRE,3); OCR3A
> SET_BIT(PORTE,3);
> SET_BIT(DDRE,4); OCR3B
> SET_BIT(PORTE,4);
> SET_BIT(DDRE,5); OCR3C
> SET_BIT(PORTE,5);
> TCCR3A=0x57;
> TCCR3B=0x19;
> OCR3A=0x3E8;
> OCR3B=0x5B;
> OCR3C=1;
>  
> The OC3A is working well but OC3B and OC3C are not working. Do you what 
> it is the problem? Do I need to configure an extra bit to use the 
> three output compares?
>  
> Thank you very much.
>  
> Sofia
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to