Thanks, Andy, I'll try that.  Compiling firmware isn't a problem.  I do have
two different projects going on at the moment, but I'll probably shelve the
effort to fix the slight annoyance of restarting axis to get the bldc to 
reinitialize.

I may have some more questions about setting up the bspi registers once
I get the firmware compiled.

-- Ralph
________________________________________
From: andy pugh [[email protected]]
Sent: Wednesday, July 23, 2014 6:38 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] hostmot2 spi

On 24 July 2014 02:26, Ralph Stirling <[email protected]> wrote:

> The wiki mentions that these might be available in 2.6, and I see
> a bspi.c file in the 2.5 drivers, but don't find much documentation
> or indication of how it works.  I just want to read a simple single
> channel ADC like the LTC1401 for the present.

You would need a 7i43 firmware with a BSPI channel. (It isn't all that
hard to build a firmware, but might be more than you want to take on
given the other irons you appear to have in the fire).

If you load that firmware then a "hook" will be created into the
hostmot2 driver that will let you access the registers and work with
them.
Look at src/hal/drivers/mesa_7i65.comp for an example of a comp that
works with BSPI.

A quick way to get started might be to find a 7i65 firmware for the 7i43.

--
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to