Comments (9)
I think this is already in progress, because the breakoutboards have the differential option
https://github.com/Peter-van-Tol/HUB-75-boards
from litex-cnc.
I think this is already in progress, because the breakoutboards have the differential option https://github.com/Peter-van-Tol/HUB-75-boards
Evidently, the author started from the end ...
from litex-cnc.
Why do you want two pins per diff line? Transceiver chip on daughter board normally handles this for you. You want to drive differential bus like RS422 straight from FPGA IO (without all protection in transceiver)?
from litex-cnc.
And, would an inverted Pin really be "differential" ?
really diefferential would be +5V / -5V right?
inverted Pin on FPGA side can only be +5V and 0V....
from litex-cnc.
@OJthe123 thats exactly my point
from litex-cnc.
And, would an inverted Pin really be "differential" ? really diefferential would be +5V / -5V right? inverted Pin on FPGA side can only be +5V and 0V....
The voltage is measured between two points, and the potential to the third (and others) does not matter.
(Did you know H bridge ?)
BTW.
This topic is about ADD inverted signals, no existing will be changed.
The differential output is only one of the possible purpose.
Note that STEP and PWM signals are NOT symmetric, someone may needs one but inverted signal...
Apart from that, as I wrote, if someone doesn't need inverted signals, he just won't use it.
The discussion about "why you need" has no sense.
from litex-cnc.
The differential stepgen is available from Litex-CNC
. The way it is implemented in the JSON-configuration is:
"modules": [
"modules": [
...,
{
"module_type": "stepgen",
"instances": [
{
"pins" : {
"stepgen_type": "step_dir_differential",
"step_pos_pin": "j9:6",
"step_neg_pin": "j9:5",
"dir_pos_pin": "j9:4",
"dir_neg_pin": "j9:2"
},
"soft_stop": true
},
...
]
}
]
To stand corrected: the module has been developed first and then the BOB.
The BOB outputs 0 and 5 Volt, analog to the encoder I had laying around. If this is considered to be not 'true' differential, one can also opt to use the stepgen_type step_dir
and use the suggester tranceiver
. But for 400 kHz pulse train this seems overkill in my opinion.
My rationale for using 2 pins for each signal of the stepper is the abundance of outputs available. My machine (EMCO5 CNC) is almost finished, and still ample outputs left over. If anybody sees an opportunity to contribute in the development of BOB's, please do so for the community. Improvements are welcome!
from litex-cnc.
is the module in the "standard" LiteX-CNC branch? Or in "add-external-extensions" ?
from litex-cnc.
This is in #11 . This branch is to be merged this week.
from litex-cnc.
Related Issues (20)
- [Feature request]: Add PWM/direction and UP/DOWN to PWM HOT 4
- [Feature request]: Dither PWM
- [Feature request]: Support ENCODER counter-mode
- [Feature request]: add `index-enable` to STEPGEN HOT 1
- Bugfix for RPI5 Support
- Safety: Upcoming change in Watchdog HOT 1
- HUB75HAT Pin-out incorrect
- GPIO does not compile when either all pins are input or output
- Requirement for encoder.<n>.reset (HAL_BIT) HOT 17
- PATH not set on LinuxCNC RPi4 image after installing LitexCNC HOT 2
- Module ENCODER: width of Z-index pulse not taken into account
- Add option invert PWM output HOT 3
- Installation on PC does not detect correct platform HOT 2
- Stepgen only working up to 4 steppers HOT 2
- Reset watchdog on FPGA reset
- New module `shift_in` and `shift_out` for using shift registers HOT 1
- Maximum frequency 375 kHz. HOT 37
- Upgrade toolchain: bring Yosys to version 0.38
- differential step HOT 1
- Litex-cnc on standalone fpga chip?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litex-cnc.