Silicon Laboratories C8051F04X-DK Guide de l'utilisateur

Naviguer en ligne ou télécharger Guide de l'utilisateur pour Non Silicon Laboratories C8051F04X-DK. Silicon Laboratories C8051F04X-DK User`s guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 21
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
MPS CAN Lab Exercise
Controller Area Network
Student's name & ID (1): ___________________________________________________
Partner's name & ID (2): ___________________________________________________
Your Section number & TA's name __________________________________________
Notes:
You must work on this assignment with your partner.
Hand in a printed copy of your software listings and a neat copy of your schematics for
the team.
These will be returned to you so that they may be used for reference.
------------------------------- do not write below this line -----------------------------
POINTS
(1) (2)
TA init.
Grade for Part 1 performance verification (10%)
Grade for Part 2 performance verification (10%)
Grade for part 3 performance verification (20%)
Grade for answers to TA's questions (20% max.)
Grade for documentation and appearance (40% max.)
TOTAL
Grader's signature: ___________________________________________
Date: ______________________________________________________
Vue de la page 0
1 2 3 4 5 6 ... 20 21

Résumé du contenu

Page 1 - MPS CAN Lab Exercise

MPS CAN Lab Exercise Controller Area Network Student's name & ID (1): ___________________________________________________ Partner's na

Page 2 - LabVIEW Requirements

Using LabVIEW 2011 Overview LabVIEW has two main views, the block diagram and the front panel. The front panel can be thought of as the graphical

Page 3 - Overview

that makes the most sense to display the given data must be chosen. Again, choices can be made based on the data dictionary. Figure 8 shows the block

Page 4 - PROGRAMMING TASKS

Hardware Setup (PARTS II & III) The following is a detailed description of device hardware setup. Please follow steps in order to ensure proper de

Page 5

Figure 11: NI USB Connection with CAN MCU 4) The 8051 development boards need to be plugged into the control and meter box modules to ensure the

Page 6

speed. This example uses P3 but users may choose to use a different port. The 10 pin connector (on P3) reads in values as follows (all are active low

Page 7

1. Not Used (UART0 TX) (P0.0) 2. Not Used (UART0 RX) (P0.1) 3. Temperature (PWM signal) (P0.2) 4. Not Used (P0.3) 5. Turn left signal

Page 8

8) After All Modules have been connected properly, place the large plastic cover over the inner parts of the car. The plastic cover should ideally b

Page 9

APPENDIX A: CAN Addresses Full documentation is available on the web at: http://www.rpi.edu/dept/ecse/mps/mps_handouts.html The CAN interface on the

Page 10 - Using LabVIEW 2011

Table 1: Car Controller Command Functions (& specifications for potentiometers outputs) Function Message ID Data Headlights 0x01 2 bytes: 0=Off 1

Page 11

APPENDIX B: Module Pin-outs & Signal Scaling The C8051F040 development boards need to be plugged into the Control and Meter Modules to correctly

Page 12

Controller Area Network This lab manual will detail the initial hardware setup for Lab 7. The following is a step by step processes needed to successf

Page 13

APPENDIX C: Pseudo-Programming Example /* * Note that these examples do not include everything necessary for fully * working CAN. It is necessary t

Page 14

APPENDIX D: RC Car CAN Arbitration IDs, Functions, and Value Ranges !"#$%"&'()"*+,%-.,/0'&1!21/&&&&

Page 15

o NI-Tutorial-9759-en.pdf, NI-Tutorial-2862-en.pdf, NI-CAN Channel and Frame API - National Instruments.pdf, Which NI-CAN Frame API Functions

Page 16

!!The final system configuration for this exercise will have two C8051F040 processor cards connected to the common CAN bus of the Car M

Page 17 - APPENDIX A: CAN Addresses

the NI_User_Manual file on the MPS web page for details on the procedure to install LabVIEW on your laptop. The studio desktops have the software inst

Page 18

Figure 4: The CAN-viewer-MPS.vi front panel for monitoring and displaying CAN bus information. After becoming familiar with both of these VIs and th

Page 19

Figure 5: A typical student-developed front panel for monitoring and displaying all CAN bus information from the RC car. Important Notes on the RC Ca

Page 20

PART III - C Programming: Separate Control Module and Meter Module In this portion of the lab, write a simple program which will turn on

Page 21

The C8051F040 still has a UART0 serial port for printing output or debugging information on a terminal. As in all MPS labs the port must be configure

Commentaires sur ces manuels

Pas de commentaire