hugllc / sam_slcan Goto Github PK
View Code? Open in Web Editor NEWSerial Line CAN support for SAM D20, D21, and C21 pricessors
License: BSD 3-Clause "New" or "Revised" License
Serial Line CAN support for SAM D20, D21, and C21 pricessors
License: BSD 3-Clause "New" or "Revised" License
Right now it just assumes that it is in autopoll mode. It needs to be able to turn that on and off.
X0\r Turns it off
X1\r Turns it on
This will allow the baud rate on the RS232 to be higher than the CAN rate. Currently it will overrun buffers if this is the case.
F\r Reads the status flags.
It should return:
FXX\r Where XX is a two digit BCD hex value. The bits are as follows:
Bit 0 - CAN receive FIFO queue full
Bit 1 - CAN transmit FIFO queue full
Bit 2 - Error warning (EI)
Bit 3 - Data Overrun (DOI)
Bit 4 - Not Used
Bit 5 - Error Passive (EPI)
Bit 6 - Arbitration Lost (ALI)
Bit 7 - Bus Error (BEI)
This is taken from the datasheet at:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.