Yahoo Groups archive

SynthModules

Index last updated: 2026-04-28 23:14 UTC

Message

Re: [SynthModules] Information for FAQ

2005-05-28 by Brice D. Hornback

Thanks for the info!  I've added it to the FAQ page.  You've done some 
AWESOME work on the MIDI applications for the PSIM-1.  I can't wait until I 
have some time to really sit down and work with it.  THANKS!!!  Your efforts 
are VERY much appreciated!

Also, I'm still making progress on the modules... more later.

- Brice

----- Original Message ----- 
From: "djbrow54" <davebr@earthlink.net>
To: <SynthModules@yahoogroups.com>
Sent: Thursday, May 19, 2005 12:14 AM
Subject: [SynthModules] Information for FAQ


> Here's some data for the PSIM FAQ.
>
> 1:
> I've spent some time with a MIDI analyzer looking at the data
> on power up. The PSIM would almost always send one erroneous
> byte on power up. I have found that this is caused by setting
> the MIDI-out pin to an output. Instead I initialize it to an
> input which eliminates the erroneous data from being sent.
>
> The hserial commands initialize the pin so it functions properly.
>
> ;initialize pins
> dirs=%0011111010000000 ;configure pin direction (1=output, 0=input)
> ;inputs:
> ;  midi-in, aux, speakjet flow control,
> ;  start, stop, in-4, in-3, in-2, in-1
> ;outputs:
> ;  load_dacs, ser_data, clock, stop led,
> ;  run led, speakjet serial output
> ;  note: setting midi-out pin sends erroneous data
>
> 2:
> The hserial commands initialize a 128 byte input buffer and a
> 128 byte output buffer that operate via interrupts.  The following
> commands initialize the serial system.
>
> ;enable MIDI serial hardware
> enablehserial
> sethserial h31200,h8databits,hnoparity,h1stopbits
>
> The following commands transfer midi_data to and from the buffers:
>
> ;send data to MIDI output buffer
> hserout [midi_data]
>
> ;receive data from MIDI input buffer
> ;data_flg set 1 for data and 0 for no data
> let data_flg=0 ;set empty flag
> hserin 0,no_data,[midi_data]
> if midi_data=$fe then no_data ;ignore active status
> let data_flg=1 ;set data returned flag
> no_data:
>
>
>
>
>
>
>
> Be sure to check out the primary Web site at:
> http://www.SynthModules.com
>
> Yahoo! Groups Links
>
>
>
>
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.