[simpits-tech] Need some Serial Communications help....

Gene Buckle geneb at deltasoft.com
Thu Mar 3 11:45:39 PST 2011


On Thu, 3 Mar 2011, raysot at comcast.net wrote:

>
> (Was: Aircore gauges and Arduino)
>
> So, I have the Arduino set up and spitting out a datastream (See image  link below)
>
> I'm using a CS4122 chip: (http://www.datasheetcatalog.org/datasheet/on_semiconductor/CS4122-D.PDF)
>
> This link is my timing diagram.
> http://dl.dropbox.com/u/22535032/SerialData.jpg
>
> I am successful in sending data but the gauge doesn't interpret correctly.. (Basically it just moves to random position on every 2nd cycle of the CS signal.)
>
> This leads me to believe that I'm missing something... like a start/stop semaphore or some sort of parity bit(?)
>
> If anyone has a few moments to look these docs over, I could use some help!
>
I would suggest that you get it working on static values first.  Work at 
setting it to 0, 90, 180 and 270.

What's the code look like that you're using to send the data with?

g.

-- 
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.simpits.org/geneb - The Me-109F/X Project

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://www.scarletdme.org - Get it _today_!

Political correctness is a doctrine, fostered by a delusional, illogical
minority, and rabidly promoted by an unscrupulous mainstream media, which
holds forth the proposition that it is entirely possible to pick up a turd
by the clean end.


More information about the Simpits-tech mailing list