Silicon Laboratories C8051F04X-DK Guia do Utilizador Página 1

Consulte online ou descarregue Guia do Utilizador para não Silicon Laboratories C8051F04X-DK. Silicon Laboratories C8051F04X-DK User`s guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 21
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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: ______________________________________________________
Vista de página 0
1 2 3 4 5 6 ... 20 21

Resumo do Conteúdo

Página 1 - MPS CAN Lab Exercise

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 11

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

Página 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

Página 13

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

Página 14

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

Página 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

Página 16

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

Página 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

Página 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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários