📄 demo operate guide.txt
字号:
LPC2000 CAN DRIVER DEMO OPRETION GUIDE
DEMO Tools:
Using one KEIL MCB2100 Evaluation Board for Demo.
LPC2129 CAN1 transmit data to CAN BUS. CAN2 receive data from CAN BUS
DEMO Function:
1. DEMO simple CAN BUS communication, GAF(Global Acceptance Filter) is set to Bypass mode
If you choice this mode, Demo code will first display the data be transmitted, when you
conform transmission, demo code will start transmit.
In this mode, every data transmitted will be received if CAN BUS work normally.
If received successfully, then demo code will display the received data.
If not received, demo code will display error message.
2. DEMO CAN BUS communication with enable GAF, GAF is set to ON mode
If you choice this mode, Demo code will first dispaly the data be transmitted,and the
ACC filter table you defined.
when you conform transmission, Demo code will start transmit.
In this mode, just those data fitted with ID & SCC# in ACC filter table will be
received if CAN BUS work normally.
If received successfully, then demo code will display the received data.
If not received, demo code will display error message.
Operate step:
1. Setting MCB2100 jumpers, J1,J10,J8 - OFF, Others - ON.
2. Connect the two Pin-2 of CAN1 port and CAN2 port,
Connect the two Pin-7 of CAN1 port and CAN2 port,
Or you can find one UART cable with both female header and pin to pin connected.
3. Connect UART0 of MCB2100 to PC UART port you used, with UART cable.
4. Connect MCB2100 JTAG port to PC USB port with ULINK.
5. Connect DC power (above 6V,The center hole provides positive voltage) to MCB2100.
6. Copy the folder[LPC2000_CAN_Driver_Demo] to your PC. And make sure that ADS1.2 is
installed in your C:\Program Files\ARM\ADSV1_2
7. Open uVision3 in your PC (Be noted: don't double click demo project, otherwise it will
open uVision2, if you have installed uVision2 on your PC).
8. Open demo project[LPC2000_CAN.Uv2].
9. Open Hyper Terminal in your PC.
10.Power On. Press Reset key on MCB2100.
11.In uVision3 enter debug mode.
12.Run the demo.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -