June 13, 2024, 08:54:34 AM

News:

Got VSA?  Want to use your Prop-SX?  Now you can!  See the VSA section of the Library forum for Prop-SX code that works with VSA.


AP-8 -- End of sample notification

Started by jukingeo, November 07, 2007, 09:19:05 PM

Previous topic - Next topic

jukingeo

Hello All,

I am fairly new to Prop-2 programming, but I am getting the hang of it pretty quickly.  Last week I purchased an AP-8 and I was reading up on it today and how to interface it with my Prop-2 utilizing the Serial access method.  Now I have noticed that it only uses one pin of the Prop-2 (or Prop-1 for that matter), which is set to output...  So would I be correct in assuming that the AP-8 has no end of sample notification?  What I am getting at is if there a way to halt the Prop-2's program to wait for a sample end notifcation from the AP-8?

It is no biggie if it doesn't have it as I have a solution if it doesn't, but if it can do it...it would make programming alot easier :).

Thanx,
Geo


JonnyMac

We always use open-true communications which leaves the Sio pin in a Hi-Z state (input mode) at the end of the SEROUT command.  The AP-8 does not send an automatic message to indicate that it's done, you have to poll it with the "G" command (bit 7 of the status bit indicates playing or not).  You can put your Prop-2 in a polling loop that waits for bit 7 of the returned status byte to clear.  The sample programs on our web site do this.
Jon McPhalen
EFX-TEK Hollywood Office

jukingeo

Quote from: JonnyMac on November 08, 2007, 01:09:44 AM
We always use open-true communications which leaves the Sio pin in a Hi-Z state (input mode) at the end of the SEROUT command.  The AP-8 does not send an automatic message to indicate that it's done, you have to poll it with the "G" command (bit 7 of the status bit indicates playing or not).  You can put your Prop-2 in a polling loop that waits for bit 7 of the returned status byte to clear.  The sample programs on our web site do this.

GREAT!  That is good to know.  Even though it doesn't directly send, at least you can "look in" to the AP-8 and check when it is done.

I am hoping to do some experiments with the AP-8 this weekend.  Should be pretty cool.

Thanx,

Geo