ComputerVoltageSources group photo

Yahoo Groups archive

ComputerVoltageSources

Index last updated: 2026-04-28 22:42 UTC

Message

Re: Hardware synchronous port control of DACs

2008-06-17 by djbrow54

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.
>

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.