📄 abstract.txt
字号:
This example program shows how to use the ARTX CAN Driver.
The CAN_Ex1 program uses analog input AIN 0 and sends
converted values (scaled to 1 byte) over CAN on CAN port 2.
On CAN port 1 message is received and GPIO 1 (bits 16 .. 23)
is activated according to received data.
This example shows how to use ARTX CAN Driver and how
to simulate analog input in uVision.
You may change the value of analog input POT1 and watch the
state of LEDs on MCB21xx evaluation boards.
The CAN_Ex1 example program is available for several targets:
Simulator: uVision Simulator for evaluation
MCB2100: Keil MCB2100 evaluation board with ULINK debugger
- Application is loaded to internal Flash.
- potentiometer POT1 is sampled as AIN0
(jumper position: J2= on)
- CAN port CAN1 has to be connected with loopback
connection to CAN port CAN2 (CAN1 pin 2 shorted
to CAN2 pin 2, CAN1 pin 7 shorted to CAN2 pin 7)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -