Tutorial 1
Tutorial 1
TUTORIAL 1
Introduction to Embedded Systems
5. What is a ‘bus’ in the context of embedded systems and describe two types of busses that might be
found in an embedded system?
6. Describe the term ‘instruction set’ and explain how use of the instruction set differs for high and low
level programming.
7. What are the main steps in the embedded program development cycle?
8. Explain the terms RISC and CISC and give advantages and disadvantages for each.
9. What is pipelining?
10. What did the acronym and company name ARM stand for?
12. What do UART, CAN, I2C and SPI stand for, and what do these mbed features have in common?
14. Which mbed pins can be used for analog input and output?
15. How many microcontrollers are on the mbed PCB and what specifically are they?
17. An mbed is part of a circuit which is to be powered from a 9 V battery. After programming the mbed is
disconnected from the USB. One part of the circuit external to the mbed needs to be supplied from 9 V,
and another part from 3.3 V. No other battery or power supply is to be used. Draw a diagram which
shows how these power connections should be made.
18. An mbed is connected to a system, and needs to connect three analog inputs, one SPI connection, one
analog output, and two PWM outputs. Draw a sketch showing how these connections can be made, and
indicating mbed pin number.
19. A friend enters the code shown below into the mbed compiler, but when compiling a number of errors
are flagged. Find and correct the faults.
20. By not connecting all the LPC1768 microcontroller pins to the mbed external pins, a number of
microcontroller peripherals are “lost” for use. Identify what these are, for ADC, UART, CAN, I2C, SPI
and DAC.