Machine-translated by Google. Questions are authored in English.
Top

Microcontroller Selection Questions and Answers

11.

A design needs 6 tasks with 512 B stacks, 2 kB of buffers and 1 kB for the kernel. The minimum RAM is about

Answer: C

Three kilobytes of stacks plus two of buffers plus one for the kernel is six, and a device with eight kilobytes leaves a sensible margin. Choosing the four kilobyte part to save a few pence would leave nothing for growth.

Please log in or register to report this question.

Answer: D

A few thousand writes over the product's life is well within EEPROM endurance, and where the device has none a flash emulation with wear levelling serves. SRAM loses the data and mask ROM cannot be written after manufacture at all.

Please log in or register to report this question.

13.

A design must talk to three sensors on one two-wire bus, sharing the wires. The interface is

Answer: A

Two wires with addressing built in is exactly what I2C provides, and three devices on one bus is its ordinary case. SPI would need a select line for each device and CAN needs transceivers and is aimed at long buses between boards.

Please log in or register to report this question.

14.

A design must reach 20 Mbit/s to a single flash memory over the shortest possible connection. The interface is

Answer: B

Correct answer: SPI

SPI runs at tens of megahertz with a dedicated clock and separate data lines, so 20 Mbit/s is routine for it, and a single device on a short connection is exactly the case it suits - one chip select, no addressing, no negotiation. I2C is limited to 1 or 3.4 Mbit/s in its faster modes, a UART is far slower and needs matched baud rates, and CAN is a differential multi-node bus for metres of noisy cable rather than centimetres of board.

Please log in or register to report this question.

15.

The peripheral to look for when a design must survive electrical noise on a long bus between two enclosures is

Answer: C

Differential signalling, bit-level arbitration and a well-defined error and retransmission scheme are what make CAN suit that environment. I2C is a board-level bus and is notoriously intolerant of noise and cable capacitance.

Please log in or register to report this question.

Answer: D

Two extra bits are worth nothing if the sensor, the amplifier and the board noise floor cannot resolve them, and they cost money and often conversion time. Matching the converter to the signal chain rather than to an aspiration is the discipline.

Please log in or register to report this question.

Answer: A

A datasheet's headline count is the total across timers, and two channels may share a timer and therefore a period, or a pin may be needed for something else. The pin multiplexing table rather than the feature list is what has to be checked.

Please log in or register to report this question.

Answer: B

Balls under the body cannot be reached with an iron or inspected visually, so a BGA needs a reflow oven and X-ray inspection. Fine-pitch leaded packages are difficult but possible by hand, and leads can at least be seen.

Please log in or register to report this question.

Answer: C

It is easy to count the signal pins and forget several supply and ground pairs, the reset pin and the debug interface, and then find the package one pin short. The pin multiplexing table also has to allow the chosen functions to coexist.

Please log in or register to report this question.

Answer: D

Correct answer: flash and RAM to be increased later without a new board

A pin-compatible family shares the same footprint and pinout across parts of different memory sizes, so the design can move up when the firmware outgrows the flash without a board revision, new layout or new qualification. It does not let the vendor be changed, and the package footprint is precisely what is being held constant rather than altered.

Please log in or register to report this question.

Loading…
Tags: Microcontroller Selection Questions and Answers || Microcontroller Selection MCQ Questions and Answers || Microcontroller Selection GK Questions and Answers || Microcontroller Selection GK MCQ Questions || Microcontroller Selection Multiple Choice Questions and Answers || Microcontroller Selection GK || GK on Microcontroller Selection || Embedded Systems Questions and Answers || Embedded Systems MCQ Questions and Answers || Embedded Systems GK Questions and Answers || GK on Embedded Systems