-
Notifications
You must be signed in to change notification settings - Fork 122
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
Support for Teensy 3.5 and 3.6 (dual CAN) + alternative CAN pins #19
base: master
Are you sure you want to change the base?
Conversation
@pawelsky I think best if you have write permissions for this repo and can own these revisions, so to speak. I don't have the hardware. Would you be interested in that? I will have to learn how to set that up correctly if so, bet it is simple. |
I would prefer someone to have a critical look at the code before merge. |
I didn't respond to the board offer. I will look about getting one... |
I'm not sure what to do about this pull request I have with teachop's Flexcan |
@Mike4U please forgive ignoring your request. I am looking about getting set up with hardware again. |
@teachop |
@pawelsky is there any chance you could add the support for the RTR bit in reading and writing of CAN messages? The changes are quite minimal to your already excellent work. Im just testing them right now on a 3.6. I have used the mods on a 3.1/3.2 with no issues at all. This looks like its going to become the official version so i want to make sure its in there as its very important for interfacing to real world applications. |
The goal of my branch was to provide only the dual CAN support that can be easily merged to teachop's original code. It is up to him to decide on whether to merge your RTR pull request as well or not. |
@pawelsky |
@Alex-2-5 what I'm saying is that T3.6 will not tolerate 5V on the input pins. You would have to check MCP2551 datasheet to see what it its IO voltage. |
@Alex-2-5 the MCP2551 does indeed use 5v signalling on the Tx and Rx lines so is unsuitable for the Teensy 3.6. The best option is the MCP2562 part which has the option for a VIO connection. Tie this to 3.3v and the io lines will be signalled at 3.3v allowing the Teensy 3.6 to use it. I have tested the MCP2562 on both the Teensy 3.6 can ports and it works well. Just don't forget to pull the standby pin on the MCP2562 to ground or it won't work. |
OK thank you very much, thats what i had to know :) |
@Alex-2-5 Not necessarily. You have at least two options:
P.S. I think this discussion is getting a bit off topic here... |
Thank you. |
Yes that is correct. The supply is still 5v it is just the ViO that needs to be at 3.3v to bring the rx and Tx lines down to 3.3v operation for compatibility with the teensy 3.6. |
Or use an sn65hvd234 which is natively 3.3v and works great. On Oct 21, 2016 5:07 PM, "H4nky84" [email protected] wrote:
|
Added possibility to use alternative TX/RX pins Updated the Readme
Please note that is has not been tested as I don't have Teensy 3.5. If you do have one please give it a try and report if it works correctly on Teensy 3.5 (especially the alternative TX/RX pin configuration).
Why are of these pull requests just sitting here for so long? This change was immensely helpful in getting my teensy 3.6 on a CAN network. Thanks for your work @pawelsky |
No description provided.