1. I want to isolate each node on the bus. This is because the bus length will be up to 100m and each node will have it's own power supply (230VAC at each node). So far my testing has been using the SN65HVD234 transceivers and they work very well. But to isolate each node I'm thinking that I'd need to either us some optocouplers between the transceiver and micro controller or change to a different transceiver. I quick Google turns up the ISO1050 which is available locally. Here's the datasheet:http://www.ti.com/lit/ds/symlink/iso1050.pdf Am I on the right track? Has anyone else done something similar?
2. Can the due_can library be used with the AT90CAN series of micro controllers?
#define CAN_BPS_100K 100000
I can confirm that it does work fine at 100k, I tested this in my car on the infotainment bus which runs at that speed.
Yes, all of that should work fine. There is an array for bit timing but it isn't directly tied to the actual canbus speed. In theory you should be able to set any canbus speed. But, some speeds will not be possible to exactly reach. I'd imagine that 100k baud wouldn't be a problem. But, if you try to set it to 46,247 baud you'll probably have trouble.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16