Another push here... Serial on ATmega128
2005-07-06 by Alex De Lara
Hello, I read this on other answer and was wondering if fuse setting >> From: "wbounce" <wbounce@...> >> Subject: RE: [AVR-Chat] help problem in uart wbounce1 >> Send Email Send Email >> I know you go other responses but garbage on the uart >> could also mean wrong baud or corrupt fuse settings. could be part of the reason why I cannot get anything to spit out of my ATmega128 serial... I thought that just using the examples from the datasheet would suffice to program the usart, baudrate and send a character... Also, does the baud rate prescaler use the system clock (internally) by default ? Is that correct ? (meaning I should not have to mess up with the fuses -CKSEL- currently 0001 - also tried 0100 - both for the internal calibrated osc). I just wanted to go plain here and see something coming out.... Actually, have installed 4 leds that I can turn or/off/shift and they are working fine, at least I can see that stuff is being executed. The ATmega103-compatibility-mode-fuse is off, meaning that I had to use STS to write the UBBRH register. (i know, i know... without an scope things are nastier than it should ... but I use the leds outputs as trace points yikes ! ) -Thanks for reading.