Archive of the former Yahoo!Groups mailing list: ComputerVoltageSources

previous by date index next by date
previous in topic topic list  

Subject: Re: Hardware synchronous port control of DACs

From: "djbrow54" <davebr@...>
Date: 2008-06-17

The DACs use SPI and I don't think there is hardware SPI on the
H8/3664 processor. There is hardware I2C and serial, but no SPI.

At one time I thought about rewriting the drivers in assembler but
BasicMicro has since clarified that assembly language is not an
option.

I did play at one time with tight loops to see how fast I could
process. I ended up with just square waves on the Aux Out and could
reasonably do bass notes. There's a program on my site that
implements a sequencer drving the Aux Out as audio which plays the
bass line to Riders on the Storm. I never went any further with this.

Dave

--- In ComputerVoltageSources@yahoogroups.com, "Grant Richter"
<grichter@...> wrote:
>
> The residual latency in the CV update times of 2 milliseconds is
almost entirely based on the
> serial bit transmission time to the DACs. The software serial
support currently in place has a
> limited top end speed.
>
> In theory, switching the DACs to the hardware synchronous port
could increase their update
> rate by a factor of 10 or so.
>
> That would increase through put from 500 Hz to 5000 Hz, then audio
processing becomes a
> possibility.
>
> I will try to get to it sometime this summer. Maybe someone else
has more time now.
>