Skip to content
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

Single wire CAN? #2

Open
Mike4U opened this issue Feb 6, 2018 · 3 comments
Open

Single wire CAN? #2

Mike4U opened this issue Feb 6, 2018 · 3 comments

Comments

@Mike4U
Copy link

Mike4U commented Feb 6, 2018

Have you considered SWCAN? It only requires 1 wire and ground. A typical chip is MC33897 for specs.

It is extremely noise tolerant, used in new GM cars for all human interface signaling, like shifter position, buttons on steering wheel, brake and gas pedal position, door locks, nearly everything but ignition control or in EVs, the motor control.

Lower power than CAN.

Uses almost identical software to CAN. Only difference is added functions if you want to handle sleep and wake signaling.

Disadvantage is ~4 parts required for termination (2 resistors, 1 inductor, 1 cap) but no hassles with wether your on the end of the bus or not.

@Mike4U
Copy link
Author

Mike4U commented Feb 6, 2018

I should of said Identical software. I've used both FlexCAN on Teensy and due_can on Arduino Due.
Just had to add a few functions.

@martinjaeger
Copy link
Contributor

Thanks for the remark / idea!

As far as I know, SWCAN has only quite low speed (33 kbps). In addition to that, I was afraid of more EMC issues (radiated emissions) if the communication goes partly over the power supply GND.

If you use a separate GND for the SWCAN, you can also directly use CANH and CANL. For the energy management devices we intend to use standard ethernet cables with 8 wires, so saving wires is not really necessary.

If no termination resistors are needed, this would be a major advantage, you are right. Did not know this.

What about the power consumption? Do you have values about the improvements compared to normal high speed CAN?

@Mike4U
Copy link
Author

Mike4U commented Feb 11, 2018

According to the Freescale data sheet the main reasons for the SWCAN were low EMI and low power.
I can't tell from the data sheet what the average power is maybe 20mW compared to 36mW for a sn65hvd233.

This is what I did with it:
http://www.mychevysparkev.com/forum/viewtopic.php?p=14848#p14848

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants