Easy Embedded Systems Engineer questions
208 questions · 5 points each for a correct first answer.
- 1.Why use volatileembedded-c, interruptseasy
- 2.Setting a register bitbit-manipulation, embedded-ceasy
- 3.Protocol with addressescommunication-protocolseasy
- 4.Floating input pingpio, electronicseasy
- 5.Keeping ISRs shortinterruptseasy
- 6.Dynamic memory on small MCUsmemory-managementeasy
- 7.PWM duty cycletimers, pwmeasy
- 8.What a watchdog doesreliabilityeasy
- 9.Reading a hex register valueembedded-c, bitwise-operationseasy
- 10.Clearing one register bitbitwise-operations, registerseasy
- 11.Toggling an LED pinbitwise-operations, gpioeasy
- 12.Testing a status flagbitwise-operations, registerseasy
- 13.Adding to a uint8_t counterembedded-c, integer-typeseasy
- 14.Where const goes in a pointerembedded-c, pointerseasy
- 15.What lives in .bssmemory-layout, linkereasy
- 16.A static local counterembedded-c, storage-classeseasy
- 17.Converting an ADC readingadc, peripheralseasy
- 18.UART bytes per seconduart, communication-protocolseasy
- 19.Why I2C needs pull-upsi2c, communication-protocolseasy
- 20.Talking to two SPI devicesspi, communication-protocolseasy
- 21.Timer prescaler mathstimers, peripheralseasy
- 22.Absolute maximum ratingsdatasheets, hardware-basicseasy
- 23.Choosing scope or logic analyserhardware-debugging, test-equipmenteasy
- 24.Why a cross-compilertoolchain, embedded-ceasy
- 25.Keeping a table out of RAMmemory-layout, embedded-ceasy
- 26.First byte in memoryendianness, memory-layouteasy
- 27.Integer division resultsembedded-c, integer-typeseasy
- 28.The interrupt vector tableinterrupts, mcu-architectureeasy
- 29.Sizing an LED resistorhardware-basics, gpioeasy
- 30.What a bootloader doesbootloader, firmware-updateseasy
- 31.A macro without parenthesesembedded-c, preprocessoreasy
- 32.Delaying inside an RTOS taskrtos, freertoseasy
- 33.CAN bus terminationcan-bus, communication-protocolseasy
- 34.Why enable brown-out resetpower-management, reliabilityeasy
- 35.Incrementing a uint32_t pointerembedded-c, pointerseasy
- 36.Passing an array to a functionembedded-c, pointerseasy
- 37.Returning a local bufferembedded-c, pointerseasy
- 38.A register access macroembedded-c, registerseasy
- 39.Toggling an LED bitembedded-c, bit-manipulationeasy
- 40.sizeof a pointer and an arrayembedded-c, pointerseasy
- 41.Subtracting two pointersembedded-c, pointerseasy
- 42.Accessing a member through a pointerembedded-c, pointerseasy
- 43.Writing through an unset pointerembedded-c, pointerseasy
- 44.A read-only buffer parameterembedded-c, pointerseasy
- 45.A designated array initialiserembedded-c, initialisationeasy
- 46.Zeroing a local structembedded-c, initialisationeasy
- 47.Why swap needs pointersembedded-c, pointerseasy
- 48.Where .data starts outembedded-c, memory-layouteasy
- 49.Which way the stack growsembedded-c, memory-layouteasy
- 50.static on a global variableembedded-c, storage-classeseasy
- 51.Sharing a global between filesembedded-c, storage-classeseasy
- 52.A big buffer inside a functionembedded-c, memory-layouteasy
- 53.Recursion in firmwareembedded-c, memory-layouteasy
- 54.Default value of a static localembedded-c, storage-classeseasy
- 55.Default value of a localembedded-c, storage-classeseasy
- 56.Why include guardsembedded-c, preprocessoreasy
- 57.An undefined reference errorembedded-c, linkereasy
- 58.The register keyword todayembedded-c, storage-classeseasy
- 59.Shrinking a struct by reorderingembedded-c, memory-layouteasy
- 60.Choosing -Os for flashembedded-c, code-sizeeasy
- 61.What goes in .rodataembedded-c, memory-layouteasy
- 62.ELF file or BIN fileembedded-c, toolchaineasy
- 63.Why use uint32_t over unsigned longembedded-c, integer-typeseasy
- 64.Storing -1 in a uint8_tembedded-c, integer-typeseasy
- 65.Storing 0x1234 in a byteembedded-c, integer-typeseasy
- 66.Converting a float to intembedded-c, integer-typeseasy
- 67.A float comparison that failsembedded-c, floating-pointeasy
- 68.A leading zero in a numberembedded-c, integer-typeseasy
- 69.Adding one to UINT32_MAXembedded-c, integer-typeseasy
- 70.Heavy work in an interruptembedded-c, concurrencyeasy
- 71.printf in an interruptembedded-c, concurrencyeasy
- 72.What MISRA C is forembedded-c, coding-standardseasy
- 73.A missing breakembedded-c, control-floweasy
- 74.Guarding a pointer in one testembedded-c, control-floweasy
- 75.First words read after resetfirmware, boot-sequenceeasy
- 76.Why registers are volatilefirmware, c-languageeasy
- 77.Value of an uninitialised globalfirmware, startup-codeeasy
- 78.Where initialised globals come fromfirmware, startup-code, linker-scriptseasy
- 79.Signals used by SWDfirmware, debug-probeseasy
- 80.Garbage characters on the consolefirmware, uart, hardware-debuggingeasy
- 81.I2C lines sitting at 0 Vfirmware, i2c, hardware-debuggingeasy
- 82.What a watchdog timer doesfirmware, watchdogeasy
- 83.ELF file or raw binaryfirmware, build-toolseasy
- 84.Reading the linker map filefirmware, linker-scripts, build-toolseasy
- 85.Placing decoupling capacitorsfirmware, pcb-design, hardware-debuggingeasy
- 86.UART idle line levelfirmware, uarteasy
- 87.RAM region overflowedfirmware, linker-scriptseasy
- 88.Programming flash bitsfirmware, flash-memoryeasy
- 89.Knowing which build is on a devicefirmware, release-managementeasy
- 90.Why keep two image slotsfirmware, ota-updateseasy
- 91.Signing or encrypting firmwarefirmware, secure-boot, ota-updateseasy
- 92.Which key goes on the devicefirmware, secure-booteasy
- 93.Comparing version numbersfirmware, ota-updateseasy
- 94.Kicking the watchdog in a timer ISRfirmware, watchdogeasy
- 95.Mutex compared with semaphorefirmware, rtoseasy
- 96.Waiting inside an RTOS taskfirmware, rtoseasy
- 97.Resuming a broken downloadfirmware, ota-updateseasy
- 98.Start of the chain of trustfirmware, secure-booteasy
- 99.What a delta update needsfirmware, ota-updateseasy
- 100.Before starting an updatefirmware, ota-updates, powereasy
- 101.Doing heavy work in an ISRfirmware, interruptseasy
- 102.printf inside an interruptfirmware, interruptseasy
- 103.Rolling out to the whole fleetfirmware, ota-updates, release-managementeasy
- 104.One press, many interruptsfirmware, gpio, hardware-debuggingeasy
- 105.What functional safety meansfirmware, functional-safetyeasy
- 106.Safety standard for carsfirmware, functional-safetyeasy
- 107.Choosing a safe statefirmware, functional-safetyeasy
- 108.Why teams follow MISRA Cfirmware, functional-safety, misra-ceasy
- 109.Highest automotive integrity levelfirmware, functional-safetyeasy
- 110.Board draws 1 A at power-upfirmware, hardware-debuggingeasy
- 111.Powering a new board first timefirmware, hardware-debuggingeasy
- 112.Resets when the board is touchedfirmware, hardware-debuggingeasy
- 113.Protecting exposed connectorsfirmware, emc-esd, hardware-debuggingeasy
- 114.Tracing requirements to testsfirmware, functional-safetyeasy
- 115.Testing joints under a BGAfirmware, production-test, debug-probeseasy
- 116.Catching a rare glitchfirmware, oscilloscope, hardware-debuggingeasy
- 117.What an open-drain output can domicrocontrollers, gpioeasy
- 118.Button wired to ground with pull-upmicrocontrollers, gpioeasy
- 119.Meaning of an NRST pinmicrocontrollers, reseteasy
- 120.Setting bit 5 of a registermicrocontrollers, bit-manipulationeasy
- 121.GPIO alternate function modemicrocontrollers, gpioeasy
- 122.Polling versus interruptsmicrocontrollers, interruptseasy
- 123.Hooking an ISR in CMSIS startup codemicrocontrollers, interrupts, cortex-measy
- 124.16-bit timer overflow timemicrocontrollers, timerseasy
- 125.Why UART is called asynchronousmicrocontrollers, uarteasy
- 126.SPI shifts both ways at oncemicrocontrollers, spieasy
- 127.Size of the 7-bit I2C address spacemicrocontrollers, i2ceasy
- 128.Why CAN uses two wiresmicrocontrollers, caneasy
- 129.Purpose of a DMA controllermicrocontrollers, dmaeasy
- 130.What a watchdog timer protects againstmicrocontrollers, watchdogeasy
- 131.Steps in a 12-bit ADCmicrocontrollers, adceasy
- 132.Light sleep compared with deep sleepmicrocontrollers, low-powereasy
- 133.Edge versus level triggered inputsmicrocontrollers, interrupts, gpioeasy
- 134.Two interrupts at different prioritiesmicrocontrollers, interrupts, nviceasy
- 135.Crystal or internal RC oscillatormicrocontrollers, clocks, uarteasy
- 136.PLL output frequencymicrocontrollers, clockseasy
- 137.Peripheral registers ignore writesmicrocontrollers, clocks, gpioeasy
- 138.Memory-mapped peripheral registersmicrocontrollers, registerseasy
- 139.What lives in flash and SRAMmicrocontrollers, memoryeasy
- 140.What 8N1 meansmicrocontrollers, uarteasy
- 141.Choosing RS-485 over TTL UARTmicrocontrollers, uart, rs-485easy
- 142.Running a DC motor from a pinmicrocontrollers, gpioeasy
- 143.Diode across a relay coilmicrocontrollers, gpioeasy
- 144.A 5 V sensor output into a 3.3 V MCUmicrocontrollers, gpioeasy
- 145.PWM frequency from timer settingsmicrocontrollers, timers, pwmeasy
- 146.What SysTick is used formicrocontrollers, timers, cortex-measy
- 147.Using the built-in ROM bootloadermicrocontrollers, bootloadereasy
- 148.SWD compared with JTAGmicrocontrollers, debuggingeasy
- 149.Byte order of a 32-bit valuemicrocontrollers, memoryeasy
- 150.Saving RAM with a lookup tablemicrocontrollers, memoryeasy
- 151.What interrupt latency measuresmicrocontrollers, interruptseasy
- 152.Role of the ADC reference voltagemicrocontrollers, adceasy
- 153.Width of a standard CAN IDmicrocontrollers, caneasy
- 154.UART line when nothing is sentmicrocontrollers, uarteasy
- 155.Why I2C has a repeated startmicrocontrollers, i2ceasy
- 156.Schmitt trigger on a GPIO inputmicrocontrollers, gpioeasy
- 157.Capacitors next to each VDD pinmicrocontrollers, hardwareeasy
- 158.What real-time really meansrtos, real-time-conceptseasy
- 159.Hard versus soft deadlinesrtos, real-time-conceptseasy
- 160.FreeRTOS task waiting on a queuertos, freertos, taskseasy
- 161.Which task the scheduler runsrtos, freertos, schedulingeasy
- 162.Two tasks at the same priorityrtos, freertos, schedulingeasy
- 163.Job of the idle taskrtos, freertos, taskseasy
- 164.Converting milliseconds to ticksrtos, freertos, timingeasy
- 165.Running a task at a fixed ratertos, freertos, timingeasy
- 166.Mutex versus binary semaphorertos, freertos, synchronisationeasy
- 167.Guarding a pool of 4 buffersrtos, freertos, synchronisationeasy
- 168.When to use a recursive mutexrtos, freertos, synchronisationeasy
- 169.Waiting for three conditions at oncertos, freertos, synchronisationeasy
- 170.Where a FreeRTOS timer callback runsrtos, freertos, timerseasy
- 171.What a FreeRTOS queue storesrtos, freertos, queueseasy
- 172.Sending to a full queuertos, freertos, queueseasy
- 173.Meaning of portMAX_DELAYrtos, freertos, timingeasy
- 174.Units of the stack size argumentrtos, freertos, taskseasy
- 175.Zephyr thread priority numbersrtos, zephyr, schedulingeasy
- 176.Sleeping a Zephyr threadrtos, zephyr, timingeasy
- 177.Creating a Zephyr thread at build timertos, zephyr, taskseasy
- 178.Enabling a Zephyr featurertos, zephyr, kconfigeasy
- 179.Building a Zephyr app for a boardrtos, zephyr, toolingeasy
- 180.Passing fixed-size messages in Zephyrrtos, zephyr, queueseasy
- 181.Deferring ISR work in Zephyrrtos, zephyr, interruptseasy
- 182.What a context switch savesrtos, schedulingeasy
- 183.Short critical section in FreeRTOSrtos, freertos, critical-sectionseasy
- 184.vTaskSuspendAll compared with a critical sectionrtos, freertos, critical-sectionseasy
- 185.Choosing a FreeRTOS heap schemertos, freertos, memoryeasy
- 186.Tasks with no heap at allrtos, freertos, memoryeasy
- 187.A low-priority task never runsrtos, schedulingeasy
- 188.Two tasks stuck foreverrtos, synchronisationeasy
- 189.Checking how much stack a task usedrtos, freertos, debuggingeasy
- 190.Turning on configASSERTrtos, freertos, debuggingeasy
- 191.Catching out-of-heap errorsrtos, freertos, memoryeasy
- 192.Putting the CPU to sleep when idlertos, freertos, low-powereasy
- 193.When a super loop is enoughrtos, real-time-conceptseasy
- 194.Cooperative versus preemptive schedulingrtos, schedulingeasy
- 195.Code after vTaskStartSchedulerrtos, freertos, taskseasy
- 196.FreeRTOS kernel licencertos, freertoseasy
- 197.Zephyr project licencertos, zephyreasy
- 198.Signalling a Zephyr thread from an ISRrtos, zephyr, interruptseasy
- 199.Zephyr mutex in interrupt contextrtos, zephyr, synchronisationeasy
- 200.Priority ceiling protocolrtos, synchronisation, schedulingeasy
- 201.Priority order under rate monotonicrtos, scheduling, real-time-conceptseasy
- 202.What jitter means for a periodic taskrtos, real-time-concepts, timingeasy
- 203.Changing a task priority laterrtos, freertos, taskseasy
- 204.What k_yield does in Zephyrrtos, zephyr, schedulingeasy
- 205.Checking Zephyr thread stack usertos, zephyr, debuggingeasy
- 206.Running Zephyr code on a PCrtos, zephyr, testingeasy
- 207.Always keeping the latest valuertos, freertos, queueseasy
- 208.Limit of FreeRTOS stream buffersrtos, freertos, queueseasy