[sdiy] 6402 UART

Karl Ekdahl _nial_ at yahoo.com
Mon Sep 15 14:22:13 CEST 2003


As i would still need a 16f84, i was thinking of using
a 16mhz clock driving the PIC and setting the TMR0
prescaler to 1:32 and driving the UART trough TMR0.
Anyone sees any problems with this approach?

/Karl

 --- Tom Arnold <xyzzy at sysabend.org> skrev: > On Mon,
Sep 15, 2003 at 11:14:03AM +0200, Karl
> Ekdahl wrote:
> > Hello all, i'm new to all this PIC and UART
> thingies
> > so just a small question: i have a couple of 6402
> > UARTs, so i was thinking that i might as well use
> them
> > rather than going into serial programming in the
> pic
> > from the start. The spec says that the clock lines
> > should be 16x transfer rate, so if i want to do
> midi
> > (31250kbps) i should drive it with 500khz right?
> 
> Thats correct.  However I've personally gotten
> hooked on RA Penfolds method
> of using a 2mhz xtal and dividing it down ( he
> usually uses a 4024 in his
> example circuits ).  2mhz xtals tend to be dirt
> cheap and easily available.
> 
> The book Electronic Music and MIDI Projects has
> several 6402 based projects
> in it however they are very basic so I'd only look
> at the book if you can
> borrow it from a friend or library, otherwise you'll
> probably think you've
> wasted money...
> 
> -- 
> 
>
------------------------------------------------------------------------
>  - Tom Arnold -       When I was small, I was in
> love,                  - 
>  - Sysabend   -       In love with everything.      
>                    -
>  - CareTaker  -       And now there's only you...   
>                    - 
>  --------------         -- Thomas Dolby, "Cloudburst
> At Shingle Street" -
>  

Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på adressen http://se.docs.yahoo.com/travel/index.html



More information about the Synth-diy mailing list