Write a program to be downloaded onto one of the demo boards

Assignment Help Basic Computer Science
Reference no: EM131088839

Practice data transfer over the CAN bus using the following procedures:

Step 1

Use a pair of insulated wires about 20 m long. Connect the CAN_H pins of two demo boards (e.g., the SSE256 or Dragon12 demo boards) with one wire and connect the CAN_L pins of both demo boards with another wire. Connect both ends of these two wires together with 120-Ω resistors (SSE256 has terminating resistors on board). The circuit connection is shown in Figure L13.1.

617_86dfe4fc-700d-4579-81b1-f46ce87d0636.png

Step 2

Write a program to be downloaded onto one of the demo boards (called board A) that performs A/D conversion 10 times every second. Use the on-board potentiometer to generate a voltage to be converted. Send out the A/D conversion result over the CAN bus every 100 ms. Use the letter Was the identifier of the data frame. (Use the timing parameters computed in E13.4 for the SSE256 demo board.)

Step 3

Write a program to be downloaded onto another demo board (called board B). This program will send out the number of data frames received so far over the CAN bus. This program will use the letter R as the identifier. After the number reaches 99, the program will reset the number to 0 and start over again. Each digit of the decimal number is encoded in ASCII code.

Step 4

Board A will display the number received over the CAN bus on eight LEDS in BCD format.

Step 5

Board B will display the received A/D result in an LCD display.

Reference no: EM131088839

Questions Cloud

Change in demand or change in quantity demanded : Recent data show an increase in retail gasoline prices of 40% and reduction in consumption of 2%. Does this imply a change in demand or change in quantity demanded? Explain.
Construct new vision statement : Construct a new vision statement for Target Inc Provide sufficient analysis and description as to why this new vision will be more useful. Create a new mission for the organization.
Applications in a language and system independent way : Which is the protocol for performing RPCs between applications in a language and system independent way?
What is the income elasticity of demand : Assume that VCRs continue to be sold at $200 per unit while average income increases from $30 thousand to $50 thousand. Assume also that the price for DVD players remains steady at $500. Using the midpoint method, what is the income elasticity of dem..
Write a program to be downloaded onto one of the demo boards : Write a program to be downloaded onto another demo board (called board B). This program will send out the number of data frames received so far over the CAN bus. This program will use the letter R as the identifier. After the number reaches 99, th..
What is the finance charge for the month : Dwayne Moody purchased a four-wheel drive vehicle and is using severance pay from his current job to pay off the vehicle loan before moving to his new job. The total interest on the 36-month loan is $3,227. How much finance charge refund will he r..
Made to social security : What changes do you feel are likely to be made to Social Security in the next 15 to 20 years? Why? Think of the people/organizations affected by the change, and who would support the change and who would fight it.
Charge in order to maximize her total revenue : Mia is the only seller of baskets to the people in this village. They purchase baskets according to the blue demand curve. Let's examine the sales revenue (which equals price times quantity) Mia would receive if she were to set the price somewhere in..
Sequence of transformations : Show how to derive the following equivalences by a sequence of transformations using the equivalence rules in Section 13.2.1.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd