What should your microcomputer do when the fifo is full why

Assignment Help Mechanical Engineering
Reference no: EM131089883

The objective of this exercise is to design a microcomputer-based IEEE488 to RS422 simplex converter (Figure 14.23). Your single-chip microcomputer system will perform handshaked parallel input from a IEEE488 output device, buffer it in an internal FIFO, then transmit the data on an asynchronous RS422 simplex serial channel. The serial protocol is 8-bit data, one stop, no parity, and 300 bits/s baud rate. The input bandwidth can vary from 0 to 1000 bytes/s, with an average of 10 bytes/s. The internal FIFO will allow temporarily the input bandwidth to exceed the output bandwidth. The IEEE488 sequence of events to transmit 1 byte is:

1. Your microcomputer signals it is ready for the next data by making RFD = 1;

2. Eventually the IEEE488 output device will provide the 8-bit data and make = 0;

3. Your microcomputer makes RFD = 0;

4. Your microcomputer should read the data, put it into the FIFO, then make = 1;

5. Eventually the IEEE488 output device will make = 1 and remove the data;

6. Your microcomputer makes DAC = 0.

Figure 14.23

738_f38ef751-5b30-4d91-aed7-e8cf476b715c.png

We can simplify this dedicated interface by connecting the to RFD, skipping Steps 1 and 3:

2. Eventually the IEEE488 output device will provide the 8-bit data and make = 0;

4. Your microcomputer should read the data, put it into the FIFO, then make DAC = 1;

5. Eventually the IEEE488 output device will make = 1 and remove the data;

6. Your microcomputer makes DAC = 0.

a) What should your microcomputer do when the FIFO is full? Why?

b) Show all the software including the interrupt handlers, rituals, main program, reset vector, interrupt vector, and ORG statements that place the code into the appropriate addresses on the single-chip microcomputer. You may use a FIFO without showing its implementation if you explain where in memory the data, pointers, and subroutines reside.

Reference no: EM131089883

Questions Cloud

How do you set a project baseline in ms project : How do you enter the actual duration or effort a task took when executed? Describe AND provide a screen shot of the steps. How do you set a project baseline in MS Project? Describe AND provide a screen shot of the steps.
Depends on the type of business a company : Do you think the business value of these strategic HRM applications depends on the type of business a company is in, for instance, consulting, manufacturing, or professional services? Why or why not? Explain.
What is the maximum data rate possible : What is the maximum data rate possible?
Process of human resource planning : An HR Manager was involved in the process of human resource planning. The first step he undertook was assessing current resources and making an inventory. What is the next step that the manager has to take in HRP?
What should your microcomputer do when the fifo is full why : What should your microcomputer do when the FIFO is full? Why?
Defining metrics to measure success of organization : Develop a business proposal to your Supply Chain VP defining the metrics to measure success of the organization. The proposal must include relevant points aligned with the company objectives. This must be an existing organization.
Consider the single-sample plan that utilizes : Consider the single-sample plan that utilizes n = 50 and c = 1 when N = 2000. Determine the values of AOQ and ATI for selected values of p, and graph each of these against p. Also determine the value of AOQ
Understanding the voice of the customer at larosa : In the "Understanding the Voice of the Customer at LaRosa's Pizzerias" case study found in your textbook, LaRosa's Pizzerias implemented the Voice of the Customer process to its restaurants design to address customer needs and expectations and ult..
A maximum and the corresponding value of aoql : a. Calculate AOQ for p = .01, .02,..., .10. What does this suggest about the value of p for which AOQ is a maximum and the corresponding AOQL?

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  What is the first step to solve for an unknown

If we have |N|(en) + F - W = 0 Where The unit vector of N is give, F components unknown and W is only -3400 j. What is the first step to solve for an unknown.

  Speed of the water in the middle section

The speed of the water in the middle section is 0.500 m/s. What is the net work done on 0.400 m3 of the water as it moves from the left section to the rightsection?

  Calculate the systematic error-random and precision error

The lift force on a Wortmann air foil is measured five times under the same experimental conditions. The acquired values are 10.5N, 9.4N, 9.1N, 11.3N, and 9.7N. Assuming the true lift force is 10.7N; calculate a) the systematic error, b) random error..

  What would be the minimum coefficient of friction

If the curve were not banked, what would be the minimum coefficient of friction between tires and road that would keep traffic from skidding out of the turn when traveling at 85 km/h?

  Determine the new differential reading along the inclined

determine the new differential reading along the inclined leg of the mercury manometer of the figure if the pressure in

  The initial pressure is 100 kpa and the initial temperature

air contained in a cylinder fitted with a piston is compressed in a quasi-equilibrium process. during the compression

  Silicon carbide sic has a specific gravity of 31 gcm3 a

silicon carbide sic has a specific gravity of 3.1 gcm3. a sintered sic part is produced occupying a volume of 500 cm3

  When the same capacitor is connected to a second ac

a capacitor is connected to an ac generator that has a frequency of 3.7 khz and produces a voltage of 1.4 v. the

  A power cycle operates between a high-temperature reservoir

a power cycle operates between a high-temperature reservoir at temperature th and a lower-temperature reservoir at tl

  Nitrogen gas enters an adiabatic nozzle with negligible

1. air is to be compressed from 1 atm and 298 k to 8 atm at a rate of 20000 lmin. a determine if this process should be

  Compute the maximum length of the specimen before

a cylindrical specimen of a titanium alloy having an elastic modulus of 107 gpa 15.5 times 106 psi and an original

  Compute the convective mass transfer coefficient when the

the sherwood number for vapor transport from the surface of a high moisture food product to the surrounding air is

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