BASCOM-AVR : Serialin and data corruption : REPLY
Yes, and yes. Also the RS-485 is hardwired to transmit all the time. its a single-direction bus. I removed the 18.432 and 14.7456 crystals, and stuck 16Mhz crystals on the Tiles, and that seems to...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
[quote:c7fe201205="Plons"]Are you sure about the hardware ? Current limit resistors ? An AVR getting warm sounds supicious. If you don't have an external crystal, the PLL at 32MHz has nothing to sync...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Commercial PCB, or your own design? I'm not familiar with RS-485, but is timing "critical" like with normal USART usage? If so, why are you running on the internal RC Osc, instead of using an external...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Most of your questions will answer yes as far as the design requirements, decoupling, etc... Also the system is of my own design, and they are seeed produced boards for me. Ran the gerbers, etc......
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
[quote:f7212e1f0f]I removed the 18.432 and 14.7456 crystals, and stuck 16Mhz crystals on the Tiles, and that seems to have fixed it for 115,200 baud. My guess is the 0.1% Error on the ATXmega128 at...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Well 32Mhz is what the ATXmega uses, I thought it had a fractional divider to make it perfect. Guess not.
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
A baud-error of 2.5% is the absolute max you can afford. The slewrate of the RS485 will take care of that tiny bit spare you have. Also note that the Calculator suggests better crystal values. Working...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Okay, here is an example that uses flags. The interrupt handlers are done in the blink of an eye. As long as the program lives in the Main loop, another interrupt source can interrupt Main and get...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
That would work great for strings... But... not binary packets. my tiledata is all in binary. Cant really byte match binary, because pixel data can accidentally trip it. Back to the drawing board...
View ArticleBASCOM-AVR : DS1307 xMega issue : REPLY
For battery backup just use two diodes. One from battery to vcc (ds1337) one from 3,3V supply to vcc. Voltage drop caused by the diodes is no problem, because the chip works with a minimum of 1,8V. I...
View ArticleBASCOM-AVR : DS1307 xMega issue : REPLY
Real Time Clock Module DS1338 A Real Time Clock Module with battery backup using the easy to use DS1338 chip. The DS1338 is functionally the same as the popular DS1307 chip with the difference being...
View ArticleBASCOM-AVR : mathematical equation : REPLY
Thanks [b:1c2eeb72cc][color=red:1c2eeb72cc]AdrianJ[/color:1c2eeb72cc][/b:1c2eeb72cc] ;Thanks [b:1c2eeb72cc][color=red:1c2eeb72cc]Duval JP[/color:1c2eeb72cc] [/b:1c2eeb72cc]
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Given the number of problems you ran into the last few weeks, could it be that your HW is damaged in an earlier state, by overvoltage, static electricity, wrong connection, etc ? With such big panels...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Yep, its a one man project. nobody else that works with me has a clue... Anyways, I understand what your saying, and what you and others are asking are fundamental issues with anything. I have gone...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Okay, I see. Thanks. Can you post a block schematic ? I am confused on how the tiles are arranged. I count 24 elements in height, 48 wide. Is it one led per plastic square element, or 4 ? Monochrome ?...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
Keep in mind that [u:abf5fa6784]every[/u:abf5fa6784] packet send over the rs485 is handled by ALL the tiles. If the tile is doing something with the data will depend on the address. This makes me...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
[quote:4a0ea5f29e="Evert :-)"]Keep in mind that [u:4a0ea5f29e]every[/u:4a0ea5f29e] packet send over the rs485 is handled by ALL the tiles. If the tile is doing something with the data will depend on...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
[quote:27eeb92af1="Plons"]Okay, I see. Thanks. Can you post a block schematic ? I am confused on how the tiles are arranged. I count 24 elements in height, 48 wide. Is it one led per plastic square...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
So now I find myself building a schematic in my head, reading your description. I think I get the idea, but to get things straight I need to keep asking for confirmation of what I think the design...
View ArticleBASCOM-AVR : Serialin and data corruption : REPLY
it is, yes. For this particular sign. It can change in the next run of things. Best I can do right this second is the PCB layout.
View Article