Post Created date
Strange issue with bypass cap and AVRISPMKII
I removed the cap, same problem. Coincidence mislead me, after removing the connector one of the leads came right off, so I believe there was no ground connection(pin6), which...
Friday, 6 August 2010 - 14:58
PWM...am I missing something?
Ok, I now clearly understand the how PWM is done. I re-read very carefully figure 15-9 on the data sheet which explains the timing, compare matches etc. They clearly show an...
Tuesday, 29 June 2010 - 13:10
PWM...am I missing something?
Thanks for helping me clarify. I do have a question though, if mode 9 is used, since OCR1A is TOP which defines the period, what use is that mode of PWM if you cannot adjust duty...
Tuesday, 29 June 2010 - 12:34
PWM...am I missing something?
There are some contradicitons to what was posted here and what the tutorials say, take a look at the following: Quote:Mode of the timer is selected by setting WMGxx bits in TCCRx...
Tuesday, 29 June 2010 - 01:37
PWM...am I missing something?
if I wanted to use phase correct PWM though, how would I set it up in order to have OCR1A as the duty cycle like in fast PWM? Can I use WGM 1,2,3 in the same way(since they are...
Tuesday, 29 June 2010 - 01:18
PWM...am I missing something?
1 0 Clear OC1A/OC1B on Compare Match when upcounting. Set OC1A/OC1B on Compare Match when downcounting. This is WGM = 9 according to the data sheet, how then are you supposed...
Tuesday, 29 June 2010 - 00:48
PWM...am I missing something?
I had though the duty cycle was set by OCR1A and frequency was controlled by the clock divider. Since PWM is an average of on and off, in which duty cycle is the pulse width, I...
Tuesday, 29 June 2010 - 00:38
PWM...am I missing something?
I'm sorry but I'm not making the connection from what you posted to what I'm supposed to do. Set COM1A1 should connect OC1A/OC1B, as you can see in my inline function Start_PWM1...
Monday, 28 June 2010 - 20:03
Sudden issues with making new projects...
I just ran into that issue again, there must be certain keywords it just does not like, I had a function named Check_If_EStop(); and placed in a source file named EStop.c, it...
Thursday, 24 June 2010 - 02:32
Sudden issues with making new projects...
I solved the problem by using a much simpler project name, previously my naming schemes for folders and project files were using underscores and it had worked without issues, but...
Wednesday, 23 June 2010 - 14:36
Sudden issues with making new projects...
That's what I am so confused about, I have compared what it "reports" as errors, yet what gcc is showing is that it did built correctly, I have the original program with the exact...
Wednesday, 23 June 2010 - 13:56
Unexpected Behavior
I was being cautious of the Timer as when I ran the simulation(before I was informed that the AVR Dragon has debug capabilities which my AVRISP did not), the counter was not...
Tuesday, 15 June 2010 - 15:34

Pages