Discussion:
Hostmot2 UARTS
(too old to reply)
andy pugh
2017-07-19 17:39:36 UTC
Permalink
Raw Message
Does 7i93 work that was, and does LinuxCNC 2.7.10 have the capability to drive the UART now?
It has been possible to drive the UARTs for some years, but it isn't
particularly easy.

You need to write a driver using .comp that converts the required HAL
pins into bytes to be sent.

There is an example driver here:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa_uart.comp
--
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
Nicklas Karlsson
2017-07-19 17:57:26 UTC
Permalink
Raw Message
Post by andy pugh
It has been possible to drive the UARTs for some years, but it isn't
particularly easy.
You need to write a driver using .comp that converts the required HAL
pins into bytes to be sent.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa_uart.comp
I have also seen the name pkuart, it is one branch but not the other.
Loading...