[sdiy] bizarre pic-midi issues

Karl Ekdahl elektrodwarf at yahoo.se
Sat Apr 17 01:34:13 CEST 2010


The data bytes are bad it seems, i do have a error routine but i forgot to actually check it - seems i get a framing error on those bytes that are bad. Still, i don't get why some messages get through just fine and others are faulty. I was considering whether i need to use the bit-inversion options, but again since some messages go through just fine i assume that i have the right polarity on my bits... I tried a couple of different baud rates but to no avail, also those won't work with the send routine which otherwise works. I did try to use the 16-bit mode instead, just multiplying my SPBRG by 4 but that didn't work at all, all i got was errors.

Karl

--- Den fre 2010-04-16 skrev jays at aracnet.com <jays at aracnet.com>:

> Från: jays at aracnet.com <jays at aracnet.com>
> Ämne: Re: [sdiy] bizarre pic-midi issues
> Till: Synth-diy at dropmix.xs4all.nl
> Datum: fredag 16 april 2010 23:56
> Are the data bytes bad or just
> missing?
> 
> If bad data then there is an electrical problem, bit rate,
> parity, number of bits... are usually in error. If there are
> missing bytes then it's more like a timing/polling problem.
> 
> Looking at the code I didn't see any of the serial error
> status bits being read. Read those and check for errors and
> then display them somehow. Maybe put them out on some LEDs
> or LCD.
> 
> Jay S.
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
> 





More information about the Synth-diy mailing list