Figure 5-6 Block diagram of CAN loopback test
Demonstration source code
•
Project Directory: \Demonstrations\ DE2_115_ICB_CAN
•
Bit Stream Used: DE2_115_ICB_CAN.sof
•
NIOS II Workspace: \Demonstrations\ DE2_115_ICB_CAN\software
Demonstration batch file
•
Batch File Folder: \Demonstrations\DE2_115_ICB_ CAN\ demo_batch
•
Batch File: DE2_115_ICB_ CAN.bat, test_bashrc
•
FPGA Configuration File: DE2_115_ICB_ CAN.sof
•
NIOS II Program: DE2_115_ICB_ CAN.elf
Demonstration setup:
•
Connect ICB to DE2-115.
•
Connect ‘H’ and ‘L’ wire of CAN 0 and CAN1 respectively.
shows the wiring
manner for the CAN loopback test.
•
Power on DE2-115 board. Validate the connection by examining the status of the green LED
near the HSMC connector.
•
Set the transmitting data for the loop by toggling SW7-0.
•
Execute the DE2_115_ICB_CAN.bat in the \Demonstrations\ DE2_115_ICB_CAN \demo
batch\ folder.
•
The prompt window will display the test result information as shown in
.
•
HEX3-0 on the DE2-115 also prints out the loopback test information.
information indicated on the HEXs.
30
Содержание ALTERA ICB HSMC
Страница 1: ...1 ...
Страница 3: ...2 6 1 Revision History 32 6 2 Copyright Statement 32 ...
Страница 9: ...Figure 2 3 Block diagram of ICB HSMC 8 ...
Страница 18: ...Figure 3 6 Wiring between HSMC and PIO interface 17 ...
Страница 25: ...Figure 4 7 Top level design file includes ICB HSMC information 24 ...