Finally had a bit of free time to work on this. Still needs testing and more 
features but here whats there so far:

12 step gens. Each stepgen is 28 bit DDS + FIFO + preset/residue clear logic

Step gens overlaid on basic I/O port, Step generators can be individually 
enabled, or I/O pins left as simple I/O. So for example if the stepgens are 
all disabled you have a 72 bit I/O port.

Step/DIR or quadature output selectable per generator.

Step gens are buffered (16 deep x 32 bit wide FIFOs each). This means that 
real time is not required (at least for step generation), For example at a 
basic clock of 8 MHz and a frame size (frame size is how many additions are 
done to step generator DDS per FIFO entry) of 8000, the step gen will consume 
one FIFO entry per mSec. Since the FIFOs are 16 deep, if we use interrupts or 
just poll the FIFOhalf full register the interrupt latency or minimum polling 
time would ge 8 mSec (125 Hz).


Also the basic local bus interface has been changed to be 32 bit memory only, 
and has support for burst transfer mode.


Things to do:

Add quadrature counters (probably just graft in existing one)

Add simplified PWM gens (no fancy signed/unsigned modes)

Add SPI channels (for general use plus for our I/O expander and 7I41 stepper 
interface use SPI)


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to