-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Differential outputs #17
Comments
I think this is already in progress, because the breakoutboards have the differential option |
Evidently, the author started from the end ... |
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)? |
And, would an inverted Pin really be "differential" ? |
@OJthe123 thats exactly my point |
The voltage is measured between two points, and the potential to the third (and others) does not matter. BTW. |
The differential stepgen is available from "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 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! |
is the module in the "standard" LiteX-CNC branch? Or in "add-external-extensions" ? |
This is in #11 . This branch is to be merged this week. |
I think this is not a big problem to add to Stepgen and PWM negated output signals.
For example:
"step_pin": "J9: 0",
"step_pin_inv": "j9: 1",
This would give the possibility to control the output devices with a differential signal.
This won't spoil anything, if someone doesn't need it, they just won't use it.
The text was updated successfully, but these errors were encountered: