Embedded Systems Fundamentals
Covers microcontrollers, communication protocols (I2C, Bluetooth, Serial), peripherals, and programming concepts for embedded systems development
Questions
Consider two real-time Systems (SysA and SysB) that communicates via Serial Interface . SysA is set at 115200 bps and SysB is set at 2400 bps . SysA transmits text "SendMeData" to SysB . Now what data (or) what would possibly happen at SysB's end?
- SystemB Halts
- Communication Error
- SystemB recieves&displays Junk Data
- SystemB recieves&displays "SendMeData"
Which one below is the appropriate formula for Calculating the I2C Clock Speed
- PeripheralClock = ((I2C(ClockFreq)) / (I2CLowCycle+I2CHighCycle))
- I2C(ClockFreq) = ((PeripheralClock) / (I2CLowCycle+I2CHighCycle))
- I2C(ClockFreq) = ((I2CLowCycle+I2CHighCycle) / (PeripheralClock))
- PeripheralClock = ((I2C(ClockFreq)) / (I2CLowCycle * I2CHighCycle))
What is the type of addressing referenced with 32-bit Microcontroller ARM.
- Byte Addressable
- Half-word (or) Full-word Addressable
- both Byte and Bit Addressable
- Bit Addressable
Here is the scenario where in you design a critical real-time Systems and usage of variables are strict , you need to reduce the Code and Programming RAM size. Assume you are using a Character Datatype (say char GetData) and utilizing only 3 bits under. Which programming technique you adopt to de-allocate or free 5 bits from GetData ?
- Use Macros
- Usage of Structures
- Combination of Both Structures and Unions
- Macros and Structures
You design a simple embedded System which glows LED and switches off at equal intervals forever.Which sequence of programming should be followed ?
- while(1) { LED(On) Delay(25) LED(Off) }
- main() { LED(On) Delay(25) LED(Off) while(1) { } }
- while(1) { LED(On) Delay(25) LED(off) Delay(25) )
- while(1) { Delay(25) LED(on) Delay(25) }
What is the voltage Supply needed for the power line in I2C Bus ? and total number of lines dedicated for an I2C bus ?
- +5v & 2 lines
- +5v (or) +3.3v & 4 lines
- +3.3v & 3 lines
- +5v (or) +3.3v & 2 lines
Under I2C Communication , consider ARM as Master and Keypad as Slave . Data gets transmitted from Slave to Master and Master acknowledges for every handshake.What is the mode that is required (or) should be adopted while programming with I2C interrupts ?
- Slave Transmitter Mode
- Master Reciever Mode
- Slave Reciever Mode
- Master Transmitter Mode
CY8C20434 is a Touch Sensor based Microcontroller that has 23 I/O's . After designing the inputs and outputs how it really works when a finger is placed on PCB Board of CY8C20434(Touch Sensor)?
- Resistance is generated
- Inductance is generated
- Capacitance is generated
- Current is generated
Is it possible to manage or adjust the Interrupt Occurence time interval in a windows environment with keil as development platform?
- True
- False
If Timer is one among the peripherals of a microcontroller,what are all the registers that are to be initialized ?
- ClockRegister and MatchControlRegister
- AlarmRegister and MemoryMatchRegister
- MatchInterruptControllerRegister only
- CountControlRegister and ClockRegister
Stack is
- LIFO
- FIFO
- FILO
- LILO
Queue is
- FIFO
- FILO
- LIFO
- LILO
Which of the following will not affect Flags
- ADD
- XOR
- MOV
- SUB
Which of the following is an 8 bit processor
- 8086
- 8085
- 80386
- 80486
Which component in the mobile device enables you to identify the current location?
- GPS
- GPRS
- GIS
- None of the above
Which of the following browsers supports the function to ‘identify the device location’?
- Safari
- Opera Mini
- BlackBerry Browser
- a and b
- b and c
- a and c
Which component in the mobile device enables you to identify the current location?
- GPS
- GPRS
- GIS
- None of the above
Which of the following browsers supports the function to ‘identify the device location’?
- Safari
- Opera Mini
- BlackBerry Browser
- a and b
- b and c
- a and c
- //...
- Compilation fails.
- The program hangs at line 22.
- Out of Memory! is printed to the system console.
- An exception is thrown at runtime but there is no guarantee an alert will be shown to the user.
Which statement is NOT true regarding Bluetooth
- It is named after a 10th century Viking King.
- It can be used to transfer files between computers.
- It uses light as transmission medium.
- It is very often used in ad-hoc networking.