sorry, my abs_encoder is 15 bit type, showing at page 56 (63 is pdf page),
it hasn't phase S.

The problem is phase A has 2 functions, send serial data and incremental
pulses so i think i will connect it to 1 UART port and 1 encoder counter
port, after receive serial data, i will reset counter. Seem there is not
5i25 firmware support both function so i think i have to make one.

I will try use UART to get first serial data output.


2018-03-09 4:35 GMT+07:00 andy pugh <bodge...@gmail.com>:

> On 8 March 2018 at 09:39, Thắng Lê <lethang12...@gmail.com> wrote:
>
> > +  Writing a firmware file absyaskawa.vhd with VHDL language then add in
> > xilinx library so i can flash new firmware for my mesa card (i'm very new
> > with FPGA,i need to learn VHDL first).
>
> You might not need to do this.
>
> It looks like the absolute data is available on the S channel as
> simple serial data.
>
> So you might be able to use the Mesa UART or PktUART Hostmot2 modules.
>
> You would need a simple HAL component to interpret the data. This
> would output the various fault bits and add the start-up offset to the
> output of a conventional encoder module.
>
> Here is a HAL driver that uses the pktUART Hostmot2 component. (Note
> that there is a typo in the line where is says "loadrt mesa_uart...".
> For that HAL component it should be "loadrt mesa_pktgyro_test...."
>
> As the data is ASCII coded the HAL component would need to change that
> to floating point engineering units.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>



-- 
Lê Thắng
Phone: (+84) 1222443855
Email: lethang12...@gmail.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to