Commit Graph
68 Commits
Author SHA1 Message Date
Dmitry 3de3178859 Update README.md 2016-01-06 20:23:54 +03:00
Dmitry e566f1466e Update README.md 2016-01-06 20:20:55 +03:00
Dmitry cb4a30dc37 Update README.md 2016-01-06 20:18:05 +03:00
Dmitry 9357725d65 Update README.md 2016-01-06 20:12:05 +03:00
Dmitry 898e25f62f Update README.md 2016-01-06 19:55:05 +03:00
Dmitry 6d637be667 Update README.md 2016-01-06 19:49:11 +03:00
Dmitry 56961fce3b Drop obsolete examples 2016-01-06 19:28:17 +03:00
Dmitry e6653b01fd Extract "send to buffer X" method 2016-01-06 19:27:03 +03:00
Dmitry a250acba70 Linux like CAN frame struct 2016-01-06 19:11:40 +03:00
Dmitry a9cbfcbf66 drop mcp_can_dfs.h 2016-01-06 18:47:52 +03:00
Dmitry 3fb00a093e rename methods, drop obsolete function 2016-01-06 16:14:38 +03:00
Dmitry adf07dc127 minor changes 2016-01-06 04:55:14 +03:00
Dmitry 42b083be63 enum RXF, consts 2016-01-06 04:27:36 +03:00
Dmitry aba5fb9225 Refactoring C -> C++ 2016-01-06 04:08:44 +03:00
Dmitry de232fcbbe Remove wait for CAN TX 2016-01-04 20:25:24 +03:00
Dmitry 75a299f28f Totally simplify 2016-01-04 19:53:06 +03:00
Dmitry 15a56d90e0 Add "mode" parameter to constructor 2015-12-26 14:49:53 +03:00
Dmitry 2d1d4f219e Add "const" to pData
Add "const" to pData to prevent compile errors in some situations
2015-12-25 01:14:22 +03:00
Lowaichung c73fb02107 Merge pull request #21 from hurvajs/master
examples/receive_check/receive_check.ino ID format fix
2015-10-13 18:22:22 +08:00
Jan Kirchner 68fd744899 examples/receive_check/receive_check.ino ID format fix 2015-10-03 23:18:06 +02:00
Lowaichung 3187fa8777 Merge pull request #20 from btetz/master
Added an offset to the txbuf_n pointer so that the actual ctrl reg value is read.
2015-09-06 16:32:25 +08:00
btetz cf0a689dd9 Added an offset to the txbuf_n pointer so that the actual ctrl reg value is read.
The original code reads address 0x31, 0x41, or 0x51 "TXBnSIDH – TRANSMIT
BUFFER n STANDARD IDENTIFIER HIGH".  Because that location points to a
constant value, some of the msg ids cause the program to loop 50 times
and then report a timeout error.  After changing the address to point to
0x30, 0x40, or 0x50 "TXBnCTRL – TRANSMIT BUFFER n CONTROL REGISTER", all
of the messages send out properally with no timeout errors.
2015-08-25 14:15:59 +09:00
loovee 8cdb31b161 format 2015-08-06 15:29:57 +08:00
Lowaichung 1b8905aab6 Update README.md 2015-07-13 16:52:41 +08:00
Lowaichung 5bfe748f84 Merge pull request #19 from mehtajaghvi/master
Added LED blink example for ArduinoMega and seeed CANBUS SHIELD
2015-07-06 11:42:05 +08:00
mehtajaghvi aea3e85397 added comments in send_Blink_ROS to run the ino file with ROS,Arduino and CAN 2015-06-26 10:22:08 -04:00
mehtajaghvi 34f96bffe7 added receive_blink_ros example, this can help to get ROS interfaced with arduino an CAN 2015-06-26 10:17:59 -04:00
mehtajaghvi fb3a91170d Added LED blink example for ArduinoMega and seeedCANBUSSHIELD 2015-06-25 15:57:16 -04:00
Lowaichung 9efa84b363 Merge pull request #18 from nathancheek/master
Fix semicolon syntax errors
2015-06-22 14:51:52 +08:00
Nathan Cheek d6bbbdea55 Fix semicolon syntax errors 2015-06-11 19:56:17 -04:00
loovee e15f39a2fc add print can id to recv examples 2015-05-29 10:36:33 +08:00
Lowaichung 9337c79681 Merge pull request #15 from adlerweb/patch-1
examples/send: Typo
2015-05-28 07:52:17 +08:00
Florian Knodt fcbf4be6aa examples/send: Typo
standard flame -> standard frame
2015-05-15 19:04:44 +02:00
loovee 09fb19398c update examples 2015-04-28 09:38:27 +08:00
Lowaichung 5e5dea8169 Merge pull request #14 from latonita/master
Added isExtendedFrame() check and 83.3kbps baud rate used in Chrysler, MB and other cars
2015-04-28 09:19:22 +08:00
latonita 2b26f8a432 Readme update 2015-04-07 17:05:13 +03:00
latonita 79b3823cf2 isExtFrame function renamed 2015-04-07 17:00:04 +03:00
latonita f27d19cffc Readme updated 2015-04-07 01:04:50 +03:00
latonita c4d4d05702 83.3kbps baud rate support + extended flag getter
Quite commonly used 83.3kbps added. (Chrysler, Jeep, MB, etc..)
Added ability to check type of received frame.
2015-04-07 00:55:49 +03:00
Lowaichung 9a5ea4b50f Merge pull request #12 from BlueAndi/patch-1
Missing return statements added
2015-03-20 09:30:53 +08:00
Lowaichung 05dd96b7da Merge pull request #13 from tsipizic/master
Add GMLAN Baudrates support
2015-03-20 09:30:28 +08:00
Tsipizidis Charalampos db5e77992d Add GMLAN Baudrates support 2015-03-10 10:05:44 +02:00
Andreas Merkle b8803af39d Missing return statements added 2015-03-07 14:48:34 +01:00
Lowaichung a3d7d091ce Merge pull request #10 from ralfEdmund/master
Receive may freeze if CAN saturated
2014-10-17 10:31:22 +08:00
Ralf Edmund Stranzenbach 0a791f6d4b Receive may freeze if CAN saturated
If either the CANBUS is saturated or the MCU is busy for some time, both RX buffers of the MCP2515 may be in use. If the MCU does not catch up in processing the incoming messages, the second message received just adds another reason for the IRQ.
Thus reading a single message does not clear the IRQ conditon of the MCP2515 leading to a permanent lock up of the receiver program.

Signed-off-by: Ralf Edmund Stranzenbach <ralf@reswi.de>
2014-10-14 23:53:17 +02:00
reeedstudio 0c869d8ae3 fix some bug 2014-09-17 09:07:32 +08:00
Lowaichung 27ac208404 Merge pull request #8 from ipeukes/master
Possibility to handle frames with request bit set
2014-09-12 14:08:11 +08:00
reeedstudio 5e271cd095 Merge branch 'master' of https://github.com/Seeed-Studio/CAN_BUS_Shield 2014-09-12 11:08:40 +08:00
reeedstudio d26c12cca3 fix the set mask and filter fail bug 2014-09-12 11:08:06 +08:00
Ingo Peukes bc42abf219 Bugfix: When receiving a frame with remote request bit set
not clearing m_nRtr until next data frame without request bit is
received. This lead to sending out all frames in between with
request bit set aswell. Fixed by extending sendMsgBuf to
INT8U sendMsgBuf(INT32U id, INT8U ext, INT8U rtr, INT8U len, INT8U *buf)
and setMsg to
INT8U setMsg(INT32U id, INT8U ext, INT8U len, INT8U rtr, INT8U *pData)
giving the possibillity to specify if request bit is set or not when
sending a message.

Feature: New function INT8U MCP_CAN::isRemoteRequest(void) added
to make it possible to check if the remote request bit was set on
the last received message.
2014-09-03 18:47:27 +02:00