Turn on/off Autoprocessing of incoming Messages
Show received CAN-Messages either std. or ext.
Send CAN Messages with standard or extended ID
Available Options in this "shell"
offers a command-line interface.
CAN-Message. The other ATmega is connected to a PC via RS232 and the firmware
to one of the ATmegas is turned on or off when receiving a specific
messages either with extended or standard ID. In the example the LED connected
Two ATmega/MCP2515/PCA-combinations are connected to the bus and send/receive CAN
to the ATmega and the MCP2515 a Philips PCA82C250 CAN controller interface is
should be used. Autobauding is a planned extension but not implemented yet. Additionally
the 8MHz OSCCAL-value. In "real-world" applications an external XTAL
tools provided by Atmel. I've used several ATmega16 without tuning but loaded
a 4MHz clock for the MCP2515. The internal R/C my have to be tuned by using
In this design an ATmega16 is driven by the internal R/C at 8MHz and generates
connected to an Atmel AVR. The basic circuit is shown in the following image.
The MCP2515 stand-alone CAN-Controller from Microchip has a SP-Interface (SPI) which is
First Demo-Project: Interfacing AVR with MCP2515
CAN-CAN - Controller Area Network Projects
CAN-CAN - Controller Area Network Projects
Комментариев нет:
Отправить комментарий