Haas drives are basically pwm amplifiers that apparently need a 5v+- signal 120 degrees apart. Why bother with pwm, why not just put a good spi dac controlled from the i.mx6? Then add a couple encoder ic's, or run a pic32 or similar to handle the qei.
On Thu, Oct 13, 2016 at 2:58 PM, Nicklas Karlsson < nicklas.karlsso...@gmail.com> wrote: > Then you would need a powerful analog amplifier, unless it is a control > signal for a driver. An analog amplifier waste energy, a more efficient > method is to use an inverter card and then you use the PWM module in the > micro controller to generate signals for the inverter. > > You also need to chose a suitable micro controller, the high end usually > are good for hard drives and similar but not for PWM generation. Micro > controllers with a Cortex-M* CPU usually have support PWM generation and > are more or less built for this purpose, they may be cheap from around $1 > each in large quantity and maybe $10-$20 for the more powerful. > > > > On Thu, 13 Oct 2016 14:24:54 -0400 > Erik Friesen <e...@aercon.net> wrote: > > > In this scenario, the dac would be driving a bldc, so it would need to be > > updated around 4-8khz. > > > > On Thu, Oct 13, 2016 at 2:24 PM, Erik Friesen <e...@aercon.net> wrote: > > > > > To clarify my question, I am trying to understand at what level lcnc > > > accesses hardware peripherals. For example, suppose I build a board > with > > > an spi dac peripheral to the arm, as well as write the kernel driver, > if > > > necessary. What type of glue do I need to provide in this situation? > > > > > > On Thu, Oct 13, 2016 at 1:50 PM, Nicklas Karlsson < > > > nicklas.karlsso...@gmail.com> wrote: > > > > > >> On the Cortex-M* model usually used on micro controllers there use to > be > > >> a reference manual. Usually there is register to configure pin > > >> functionality, GPIO is a common default value and a register to select > > >> direction input or output. > > >> > > >> There use to a library but software complexity become lower by > accessing > > >> the registers directly unless there is a need to change things > dynamically. > > >> The libraries are usually written for dynamic access while software > almost > > >> always only have need for simpler static access. To register callback > > >> functions at an interrupt handler is a perfect example, if the same > > >> function(s) is registered at every startup they could be added > statically > > >> and it is possible to generate a call graph. > > >> > > >> > > >> On Thu, 13 Oct 2016 13:27:55 -0400 > > >> Erik Friesen <e...@aercon.net> wrote: > > >> > > >> > Resurrecting this thread, can anyone point me to docs, or other info > > >> what > > >> > it takes to link GPIO, or SPI devices into linuxcnc on an arm? On > what > > >> > level does this happen? Userspace, Kernelspace, etc? I have done a > > >> bit of > > >> > kernel programming for the i.mx6. > > >> > > > >> > On Thu, Mar 24, 2016 at 8:19 AM, Ron Ginger < > rongin...@roadrunner.com> > > >> > wrote: > > >> > > > >> > > I was helping a commercial screw machine shop that had a couple > little > > >> > > KX1 mills. One was getting rather tired after 5 or 6 years of > > >> production > > >> > > use and having repeatability problem. I was speaking with the > general > > >> > > manager and asked "well how long do you expect a machine to > last?" and > > >> > > without a hint of a smile he whipped back "40 years" > > >> > > > > >> > > The KX1 was installed less then 50 feet from a row of screw > machines > > >> > > maybe as old as I am (73 years) and they were clanking away > dropping > > >> > > parts into a bin. > > >> > > > > >> > > ron ginger > > >> > > > > >> > > > Who wants to use and maintain (if it is possible) an original > CNC > > >> control > > >> > > > made prior to 2000 ?? > > >> > > > > > >> > > > Dave > > >> > > > > > >> > > > > >> > > > > >> > > ------------------------------------------------------------ > > >> > > ------------------ > > >> > > Transform Data into Opportunity. > > >> > > Accelerate data analysis in your applications with > > >> > > Intel Data Analytics Acceleration Library. > > >> > > Click to learn more. > > >> > > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > > >> > > _______________________________________________ > > >> > > Emc-users mailing list > > >> > > Emc-users@lists.sourceforge.net > > >> > > https://lists.sourceforge.net/lists/listinfo/emc-users > > >> > > > > >> > ------------------------------------------------------------ > > >> ------------------ > > >> > Check out the vibrant tech community on one of the world's most > > >> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > >> > _______________________________________________ > > >> > Emc-users mailing list > > >> > Emc-users@lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/emc-users > > >> > > >> ------------------------------------------------------------ > > >> ------------------ > > >> Check out the vibrant tech community on one of the world's most > > >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > >> _______________________________________________ > > >> Emc-users mailing list > > >> Emc-users@lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > >> > > > > > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users