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