- Hardware & Machines
- Driver Boards
- Making sure I have the appropriate hardware for a SSerial-based machine
Making sure I have the appropriate hardware for a SSerial-based machine
- Xnke
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 1
08 Apr 2021 17:20 #205337
by Xnke
Replied by Xnke on topic Making sure I have the appropriate hardware for a SSerial-based machine
If the firmware can generate an SPI bus on the expansion header, there is no need for any of that...the input isolation chip comes in an SPI-output version that can be chained for up to 64 isolated inputs on one SPI bus.
On top of that, the SPI version of the chip has programmable debounce filters and high-speed digital capable inputs, but the parallel output version I used isn't programmable, but can be had in various debounce filters and high-speed/normal-speed inputs.
Once I get one of these working and verified, I'll try to develop a more capable version, the plan is to eventually get one going that will speak SmartSerial to drive an automatic tool changer.
On top of that, the SPI version of the chip has programmable debounce filters and high-speed digital capable inputs, but the parallel output version I used isn't programmable, but can be had in various debounce filters and high-speed/normal-speed inputs.
Once I get one of these working and verified, I'll try to develop a more capable version, the plan is to eventually get one going that will speak SmartSerial to drive an automatic tool changer.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18540
- Thank you received: 5088
08 Apr 2021 17:40 #205339
by PCW
Replied by PCW on topic Making sure I have the appropriate hardware for a SSerial-based machine
SPI is possible but a real mess because the hal driver requires chip specific
code. Its also not the best for longer signal runs (cables) unless both ends use a slow data rate and filtering.
code. Its also not the best for longer signal runs (cables) unless both ends use a slow data rate and filtering.
Please Log in or Create an account to join the conversation.
- Xnke
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 1
08 Apr 2021 19:04 #205344
by Xnke
Replied by Xnke on topic Making sure I have the appropriate hardware for a SSerial-based machine
How about an intermediary, like an ATtiny or something as a go-between for SPI to whatever?
I'm using the SI8380P in this first board, the parallel, no-debounce, bare-bones version. The SI8380S is the 8-input, SPI-capable version.
I'm using the SI8380P in this first board, the parallel, no-debounce, bare-bones version. The SI8380S is the 8-input, SPI-capable version.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18540
- Thank you received: 5088
08 Apr 2021 19:08 - 08 Apr 2021 19:09 #205346
by PCW
Replied by PCW on topic Making sure I have the appropriate hardware for a SSerial-based machine
That might make sense if the host interface is sserial
(which hides the hardware implementation)
(which hides the hardware implementation)
Last edit: 08 Apr 2021 19:09 by PCW.
Please Log in or Create an account to join the conversation.
- Xnke
- Offline
- Senior Member
-
Less
More
- Posts: 66
- Thank you received: 1
08 Apr 2021 21:03 #205363
by Xnke
Replied by Xnke on topic Making sure I have the appropriate hardware for a SSerial-based machine
I figured that might be the case. In that situation, an STM32 using the STMBL-based code is probably the most straightforward route.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
- Hardware & Machines
- Driver Boards
- Making sure I have the appropriate hardware for a SSerial-based machine
Time to create page: 0.123 seconds