# NVIDIA Firmware Engineer Interview Questions

Interview questions and coding challenges based on skills from public NVIDIA job postings.

Not affiliated with or endorsed by NVIDIA. NVIDIA is a trademark of its owner, used here only to say which postings this page describes.

To ask for a change or removal: support@ohmwork.io

https://ohmwork.io/study-guides/for/nvidia-firmware-engineer-interview-questions

Start practicing: [First Shift](https://ohmwork.io/challenge/116-first-shift)

## From public job postings

- Embedded C and device drivers: 5 of 5
- Caches, buses, memory and DMA: 4 of 5
- I2C, SPI, UART, SMBus and I3C: 2 of 5
- RTOS firmware on microcontrollers: 4 of 5
- Bring-up and debugging: 4 of 5
- Boot firmware, linkers and assembly: 2 of 5
- Unit tests, coverage and fault handling: 2 of 5
- Interrupts and multi-threading: 1 of 5
- RISC-V architecture: 3 of 5, not practiced here
- PCIe: 2 of 5, not practiced here
- Server management protocols such as MCTP and PLDM: 2 of 5, not practiced here
- Firmware security and secure boot: 4 of 5, not practiced here

### Sources (10)

1. [Embedded Software Engineer, RISCV](https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite/job/US-CA-Santa-Clara/Embedded-Software-Engineer---RISCV_JR2019685), Santa Clara, CA, checked November 28, 2026
2. [Senior Firmware Engineer](https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite/job/US-CA-Santa-Clara/Senior-Firmware-Engineer_JR2029419), Santa Clara, CA, checked November 28, 2026
3. [Senior System Software Engineer, Platform, Server Embedded Firmware](https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite/job/US-CA-Santa-Clara/Senior-System-Software-Engineer--Platform---Server-Embedded-Firmware_JR2028401), Santa Clara, CA or remote, checked November 28, 2026
4. [Senior Firmware Engineer, CSP Engagements](https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite/job/US-CA-Santa-Clara/Senior-Firmware-Engineer---CSP-Engagements_JR1999599), Santa Clara, CA, checked November 28, 2026
5. [Senior Firmware Engineer, GPU](https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite/job/US-CA-Santa-Clara/Senior-Firmware-Engineer---GPU_JR2022834), Santa Clara, CA, checked November 28, 2026
6. [Jetson Sensor Processing Engine (SPE) Developer Guide](https://docs.nvidia.com/jetson/archives/r36.4.3/spe/index.html), docs.nvidia.com, checked November 28, 2026
7. [FSP (Firmware Support Package), Jetson Sensor Processing Engine (SPE) Developer Guide](https://docs.nvidia.com/jetson/archives/r36.4.3/spe/md__home_jenkins_workspace_Utilities_rt_aux_cpu_demo_fsp_docs_work_rt_aux_cpu_demo_fsp_doc_fsp.html), docs.nvidia.com, checked November 28, 2026
8. [Jetson AGX Orin, Orin NX, and Orin Nano Boot Flow](https://docs.nvidia.com/jetson/archives/r39.2.2/DeveloperGuide/AR/BootArchitecture/JetsonOrinSeriesBootFlow.html), docs.nvidia.com, checked November 28, 2026
9. [Update and Redundancy, Jetson Linux Developer Guide](https://docs.nvidia.com/jetson/archives/r39.2.2/DeveloperGuide/SD/Bootloader/UpdateAndRedundancy.html), docs.nvidia.com, checked November 28, 2026
10. [Debugging on Jetson Platforms](https://docs.nvidia.com/jetson/archives/r39.2.2/DeveloperGuide/AT/JetsonLinuxDevelopmentTools/DebuggingOnJetsonPlatforms.html), docs.nvidia.com, checked November 28, 2026

## Drivers and buses

5 of 5 jobs

### Why does a data cache cause trouble for DMA, and how do you handle it?

On a core with a data cache, such as a Cortex-M7, the CPU's writes can sit in the cache while DMA reads stale memory, and DMA's writes land in memory under cache lines the CPU still trusts. Before a transmit, clean (write back) the buffer's cache lines; for a receive, invalidate (or clean) the lines before starting DMA and invalidate them again before the CPU reads, since a dirty line evicted mid transfer would land on the new data. Align each buffer to a cache line and size it in whole lines, so invalidating it cannot discard a neighbor's data. The other way is to place DMA buffers in memory the MPU marks non-cacheable. The Cortex-M4 core has no data cache, though some chips add one around it.

### How do you write a driver that ports across several microcontrollers?

Split it in two: a core with the device's logic, written against a small interface, and a thin layer per chip for registers, clocks, pins and interrupts. Keep vendor types out of the core's interface, pass in configuration such as which bus and which pins rather than hard coding it, and give each peripheral instance its own pointer to its registers, so one driver serves every copy. The core then compiles and runs in host tests, and a new chip needs only a new thin layer.

Practice it: [Floor Plan](https://ohmwork.io/challenge/109-floor-plan)

### How does an SMBus read differ from a plain I2C register read?

SMBus is built on I2C with stricter rules. It defines command protocols such as read byte, read word and block read, where the device sends a byte count first, and a word arrives low byte first. A device that sees the clock held low for longer than 25 ms must reset its interface within 35 ms, so a stuck transfer cannot hang the bus for good. An optional packet error check byte, a CRC-8, protects each transfer. On the wire, a read word is a write of the command byte, a repeated start, and a read of two bytes.

## RTOS firmware

4 of 5 jobs

### What may an interrupt handler call in FreeRTOS, and what may it not?

Only the API functions whose names end in FromISR, such as `xQueueSendFromISR` and `xSemaphoreGiveFromISR`, and never anything that can block. Pass a `pxHigherPriorityTaskWoken` flag and end the handler with `portYIELD_FROM_ISR` on it, so a task the interrupt woke runs as soon as the handler returns rather than at the next tick. On a Cortex-M, an interrupt that calls the API must be no more urgent than `configMAX_SYSCALL_INTERRUPT_PRIORITY`, that is, its priority value must be numerically equal or higher; more urgent interrupts are never masked by the kernel, and may not call it.

Practice it: [Turnstile](https://ohmwork.io/challenge/27-turnstile) PRO

### When do you use a task notification instead of a queue or semaphore in FreeRTOS?

When one known task is the only receiver. A notification is built into the task itself, so it needs no separate object and is faster and smaller than a semaphore or a queue, and it can act as a binary or counting semaphore, a set of event bits, or a single 32 bit value. Use a queue when several values must be held in order, and a semaphore or an event group when more than one task may wait.

### Why might a FreeRTOS software timer callback run late?

Software timer callbacks run one after another in the timer service task, at the priority `configTIMER_TASK_PRIORITY` sets, so any higher priority task that is ready delays them, and so does a long callback ahead of yours. A callback must never block. When a deadline is tight, run the work from a hardware timer interrupt or a task it wakes; for a steady period, measure each wait from when the last one was due, not from when the work finished.

Practice it: [Clockwork](https://ohmwork.io/challenge/34-rtos-timer)

### How do you find out how much CPU time each task uses?

Turn on FreeRTOS's run time statistics: set `configGENERATE_RUN_TIME_STATS`, `configUSE_TRACE_FACILITY` and `configUSE_STATS_FORMATTING_FUNCTIONS`, supply a counter running 10 to 100 times the tick rate through `portCONFIGURE_TIMER_FOR_RUN_TIME_STATS` and `portGET_RUN_TIME_COUNTER_VALUE`, and `vTaskGetRunTimeStats` reports each task's share, and the idle task's share is the headroom left. Trace hooks such as `traceTASK_SWITCHED_IN` can also drive a pin per task for a logic analyzer, which shows when tasks run as well as for how long. Measure under the worst load you can produce, not at rest.

## Bring-up and debugging

4 of 5 jobs

### How can firmware be developed before the chip exists?

Against models of it. An instruction set simulator or a virtual platform runs the firmware with register models of the peripherals, fast enough to develop drivers and logic; an emulator or an FPGA prototype runs the real hardware design at a fraction of its speed, so timing and corner cases appear. Keep hardware access behind a thin layer so the same code runs on each, note what each model leaves out, and have bring-up tests ready for the day first silicon arrives.

### How do breakpoints and watchpoints work on a Cortex-M running from flash?

Code in flash cannot cheaply be patched with a breakpoint instruction, so the debugger uses the comparators of the Flash Patch and Breakpoint unit, a small fixed number (usually six for instructions on a Cortex-M3 or M4), which is why a debugger can run out of hardware breakpoints. Watchpoints use the Data Watchpoint and Trace unit, usually four comparators on those cores, to halt when an address is read or written: the quickest way to find what overwrites a variable.

### A sensor on a management bus is missing from one board's readings. Where do you start?

Scan the bus for which addresses answer and compare the list with what that board revision should carry. A missing device points at its power, since a sensor on a rail that is off in the current power state cannot answer, at its reset or enable line, a multiplexer channel not selected, its address strap or the pull ups. An address that answers but returns wrong data points at the driver or a different part. Check the board's revision and parts list before the code: boards of one design can carry different parts.

Practice it: [Census](https://ohmwork.io/challenge/70-census)

## Boot, startup and the linker

2 of 5 jobs

### What does a linker script decide, and what breaks when it is wrong?

It names the memory regions, flash and RAM with their start and size, and places each section in them: the vector table first at the address the core boots from, then code and constants, initialized data stored in flash and copied to RAM at startup, zeroed data, the heap and the stack. It also defines the symbols startup code uses, such as the start and end of .data and .bss. If the vector table is not where the core looks, the first stack pointer and reset address are garbage; if the data symbols are used wrongly, globals start with the wrong values; a section too big for its region fails the link, which is the helpful case.

Practice it: [Cold Start](https://ohmwork.io/challenge/20-boot-hang)

### How does a bootloader hand control to an application on a Cortex-M?

It checks the application image first, then undoes what it set up: it stops SysTick and the peripherals it used, disables their interrupts and clears anything pending. It points VTOR at the application's vector table, with a `DSB` and an `ISB` after the write, loads the main stack pointer from the table's first word, and jumps to the reset handler address in the second word, which already carries the Thumb bit; if the bootloader ran an RTOS, it first returns to the main stack pointer and privileged mode. Skip the clean up and an interrupt left from the bootloader can fire into the application before it is ready.

## Testing and fault handling

2 of 5 jobs

### What does code coverage tell you about firmware tests, and what does it not?

It shows which lines and branches the tests ran, usually from a build instrumented with gcc's `--coverage` on the host, or with counters read back from the target. It does not show that the tests checked the results, that timing and concurrency were exercised, or that the code does everything the requirements ask: code that was never written has no lines to miss. Use it to find untested code, and prefer branch coverage to line coverage to find untested decisions.

### How should a driver report and isolate a device that keeps failing?

Return errors up rather than hiding them, treat a reading outside the device's possible range as an error rather than data, and tell a transient error from a persistent one. Retry a transient error a bounded number of times, count errors per device, and past a threshold mark that device failed: stop polling it, report it through health monitoring and keep serving the others. Try to recover it on a schedule or by resetting that device alone, and test the whole path by injecting errors on purpose.

Practice it: [Fallback](https://ohmwork.io/challenge/17-sensor-degraded-mode)

## Interrupts and concurrency

1 of 5 jobs

### What does a memory barrier do on a Cortex-M, and when do you need one?

`DMB` keeps memory accesses in order across it, `DSB` waits until earlier memory accesses have completed, and `ISB` flushes the pipeline so later instructions see a new configuration. Use a `DSB` after clearing an interrupt's flag at the end of its handler when the write may still be in flight on a slower bus, or the handler can be entered again for the same event; a `DSB` then an `ISB` after changing VTOR, the MPU or the CONTROL register; and a barrier between filling a buffer and the register write that starts DMA on it.

### How do you log every event from a bursty interrupt over a slow link without losing any?

The handler only records each event, a count or a timestamp, into a ring buffer and returns; the main loop drains the buffer at the link's pace. Size the buffer for the worst burst: the events in it minus what the link sends meanwhile. Keep one writer for each index, and count the events dropped if the buffer ever fills, so a loss is reported, not silent.

Practice it: [Tally](https://ohmwork.io/challenge/121-tally)
