Skip to content
Tech Interview Prep

Real Interview Questions for the Embedded Software Engineer at STMicroelectronics

New

Practice MCQs

Answers count toward the Embedded Software Engineer and overall leaderboards; your latest answer to each question is the one that counts.

18 questions · Flow follows Relevance until this set has a learning order.

MCQ-1An STM32H7 secure-boot loader must verify a signed firmware update before booting it. The update arrives over BLE, the signature must fit a 1 KB packet budget, and the product must use a NIST post-quantum signature scheme. Which signing choice fits the loader?
Difficulty: Hard
MCQ-2A battery-powered STM32L4 samples a sensor at 200 Hz and must burst-send the last 4 seconds over BLE, with 8 KB SRAM free and a 10 ms ISR deadline. Each sample is 4 bytes, flash logging wears the cell, and heap use fragments after weeks. Which allocation fits?
Difficulty: Medium
MCQ-3An STM32G4 motor controller runs a 20 kHz current-loop ISR that must finish within 5 µs, a CAN frame ISR, and a UART logging ISR that can burst for 200 µs. The UART currently preempts the current loop and causes missed PWM updates. Which priority assignment fixes the latency?
Difficulty: Medium
MCQ-4An STM32L4 node samples one sensor every 100 ms, sends one UART report per sample, and has no task needing response faster than 50 ms. It has 8 KB SRAM, a single developer, and a hard requirement to sleep between samples for battery life. Which architecture should the team choose?
Difficulty: Medium
MCQ-5An STM32F4 gateway receives variable-length CAN frames up to 128 bytes in an ISR and hands them to a logging task. The logging task can hold several frames while a flash write completes, uptime is months, and handling must have bounded worst-case time with no allocation failure. Which allocation strategy fits the gateway?
Difficulty: Medium
MCQ-6You own STM32G4 firmware for a motor controller shipping in three weeks. Intermittent CAN corruption appears only when DMA logging is enabled, and hardware has cleared the transceiver. Which hurdle did you own and overcome?
Difficulty: Medium
MCQ-7You own STM32G4 motor-controller firmware shipping Friday, with a customer demo Thursday. A CAN fault can stall the current loop, the demo needs a polished screen, and a driver refactor is optional. Which task do you prioritize first?
Difficulty: Easy
MCQ-8Your STM32 board needs daily bench access in Agrate for six weeks, followed by three weeks of customer validation in Geneva, and the export-controlled board cannot leave the Agrate lab. Your home site is Grenoble, six hours away. Which travel arrangement fits the bring-up and validation phases?
Difficulty: Medium
MCQ-9A customer's STM32 sensor node reboots nightly at 02:00, and logs show a watchdog timeout during a 40-second flash erase that blocks interrupts while a self-test runs. The non-technical operations lead needs a plain-language explanation of the cause. Which explanation should you give them?
Difficulty: Easy
MCQ-10You are an embedded engineer who wants to contribute to semiconductors by writing firmware close to STM32 silicon for products that ship for years. STMicroelectronics offers that STM32 firmware role, while other openings involve cloud dashboards, IT support, hardware sales, or short-term contracting. Which application best matches that motivation?
Difficulty: Easy
MCQ-11A new SPI ADC on an STM32F4 has a datasheet register map but no DMA support, and the bench has only a logic analyser for first bring-up. The driver must prove basic reads before any interrupt design is frozen. Which implementation order should the engineer follow first?
Difficulty: Easy
MCQ-12An STM32F4 controller runs a 1 kHz current loop with a 200 µs deadline, 50 Hz telemetry, and occasional 40 ms flash writes that cannot be split. The current loop must never wait for telemetry or flash, and the team can maintain an RTOS. Which architecture fits this controller?
Difficulty: Easy
MCQ-13Two million STM32 devices receive a 256 KB signed update in out-of-order chunks over intermittent links, with dual-bank flash, 32 KB RAM, and a control loop that cannot reboot until a nightly window. A corrupt or forged image must never boot, and the running firmware must stay active during download. Which update strategy fits these constraints?
Difficulty: Medium
MCQ-14A peripheral driver logs `IDLE -> ARMED -> ACTIVE -> IDLE -> ACTIVE -> FAULT -> IDLE` for validation. The transition matrix permits `IDLE->ARMED`, `ARMED->ACTIVE`, `ACTIVE->IDLE`, `ACTIVE->FAULT` and `FAULT->IDLE`, and forbids every other step. Which step should the validator flag as the first illegal transition?
Difficulty: Easy
MCQ-15A candidate spent two years tuning STM32 sleep currents and DMA timing to extend battery life, and wants work where software choices change hardware behaviour. Both offers pay the same: one on a microcontroller firmware team, one on a SaaS analytics dashboard. Which offer fits the motivation they described?
Difficulty: Easy
MCQ-16An STM32F4 prototype on a Linux bench must be debugged over SWD with breakpoints and live variables, using only a CMSIS-DAP probe and a headless Makefile build, with no commercial licence available. The firmware is generated by STM32CubeMX and timing is checked on a logic analyser. Which toolchain should the candidate describe using?
Difficulty: Easy
MCQ-17An STM32F4 image boots to HardFault because the linker script emits `.text` first at the flash base and `.isr_vector` after it, while startup reads the initial stack pointer and reset handler from the flash base. The script already maps `.data` to SRAM with its load image in flash. Which linker change fixes the boot?
Difficulty: Easy
MCQ-18An STM32H7 gateway forwards Ethernet frames up to 1518 bytes through a single DMA descriptor, so only one frame is ever in flight. It must forward each frame within 2 ms, run for months without rebooting, and its heap already fragments under per-frame allocation. Which allocation strategy fits the gateway?
Difficulty: Medium

Curated: · Written: · Reviewed: