On Sat, 2010-10-30 at 17:31 +1100, Erik Christiansen wrote: ... snip > That's where using an ATxmega AVR comes to the fore. They have up to > three quadrature encoders, IIRC, as well as interrupt inputs, analogue > comparators, and four times higher ADC resolution than their > predecessors. ... snip
I had another look at the Atmel product line and the ATxmega's look really interesting. Its funny how all the chips I have looked at so far are in the $3 to $6 range, so getting too much capability isn't worth worrying about. For now, I am thinking about an EPP to analog output gadget. Since EMC2's software stepping runs in the base thread, I know I can get about ten packets into the gadget for each servo period, so realtime functions could be done, though I am thinking of using the analog output for a VFD, realtime would not be needed. The ATxmega16A4 has a two channel DAC, five counters that may be used for PWM, a couple of analog comparators, a fair amount of DIO left over, and other features, so there is room to expand. I am most concerned about being able to sort out the EEP, and handling the integration with EMC2 so that EMC2 can monitor or configure every feature of the gadget. Or... I may crack open a beer and sit in front of the TV. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
