SparkFun Forums 

Where electronics enthusiasts find answers.

Your source for all things Atmel.
By n1ist
#55376
I am building a board that receives DMX and displays channel values on an LED dot-matrix display. For some reason, I don't seem to be entering the serial ISR. The display part works fine.

I have verified the clock is OK (I get 20MHz out on B1 when I set the CLKOUT fuse), and that my DMX source is OK (it correctly drives a DMX dimmer pack).

I'm sure it is something obvious but I can't see it...

[Edited... I removed the bad code since it has been picked up by other sites, and there's no reason to spread bad code around]

Thanks for any help.
/mike
Last edited by n1ist on Thu Feb 19, 2009 9:30 am, edited 1 time in total.
By n1ist
#55546
Yep, it should have been obvious. The timer interrupts were frequent enough that the serial interrupts were getting lost. Changing the prescaler got things running.
By n1ist
#66672
I know it has been a while, but I just noticed that my bad code had been spread across the Internet; no real reason for that.

Since it is now working, here's a link to the project:

http://www.ardai.org/DMXStatus/

/mike