custom board for smart serial interface?
- incomplete
- Offline
- New Member
- Posts: 2
- Thank you received: 0
Please Log in or Create an account to join the conversation.
linuxcnc.org/docs/html/man/man9/hostmot2.9.html#UART
This allows you to read and write to the RS422 interface.
There is a gyroscope example floating around so have a look at that and see if it might do what you want.
Andy is the expert on the UART and maybe PCW will write a bitfile for you ...
Please Log in or Create an account to join the conversation.
You might look at the STMBL project as a code example
Please Log in or Create an account to join the conversation.
The protocol is described in the back of any Mesa smart serial interface card manual (SSLBP and LBP sections)
This is handled, in the case of Mesa cards, by an FPGA. The source-code is here:
github.com/LinuxCNC/hostmot2-firmware/bl...ster/src/sserial.vhd
STMBL uses the STM32 microprocessor, so the source-code is in C and might be more easily adaptable:You might look at the STMBL project as a code example
github.com/rene-dev/stmbl/blob/master/src/comps/sserial.c
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- incomplete
- Offline
- New Member
- Posts: 2
- Thank you received: 0
I read mesa smart serial manual but i dont understand what SSLBP and LBP stand for. It seem SSLBP describe smart serial handled by FPGA card( maybe i can skip this) and LBP handled by peripherals like 7i69,7i83...
What would be really useful here might be an Arduino smart-serial library.
I dont really get it. Do you mean Arduino also have this protocol library?
Please Log in or Create an account to join the conversation.
LBP remotes implement the LBP protocol
(For example a Modbus Smart Serial interface would be possible using the same smart serial FPGA firmware but a different
software ROM: SSModbus)
Please Log in or Create an account to join the conversation.
i dont understand what SSLBP and LBP stand for.
I think it is "Smart Serial Little Binary Protocol" and "Little Binary Protocol"
No, I mean that it would be really useful if someone could write itI dont really get it. Do you mean Arduino also have this protocol library?
Please Log in or Create an account to join the conversation.
STM32 (cortex) or PIC is better choice I think.
Martin
Please Log in or Create an account to join the conversation.
can arduino run on the 2.5Mbit/s on uart??
It can at a 20MHz clock, but it looks like the answer is "no" otherwise, even at 84MHz
wormfood.net/avrbaudcalc.php?bitrate=500...C48%2C+84&databits=8
Please Log in or Create an account to join the conversation.