← RTL Design Interviews · SoC Architecture Interviews

Interview Question · Explain the SoC

Fit the Interfaces on 32 Pads

L1 JuniorL2 Mid-Levelexplain the soc

The Question

The interviewer asks

A board needs a boot strap, GPIO, serial pins and timer capture on a proposed 32-pad package. What belongs in the pin assignment table?

Reveal the Model Answer

For each pad list its legal functions, reset selection, driven value, output enable and destination of its input. Include the idle level for every disconnected receiver. Check the board can select all functions it needs simultaneously.

Self-Check

Tick each key point you covered in your answer.

What Interviewers Want to Hear (Junior)

Determine who drives and who listens in a selected function.

Choose Your Follow-up

I’ve answered the opening question

Choose the route closest to your reasoning. Answer the follow-up aloud, then open the closing question.

I assigned reset defaults.

S7.4 prints “reset oe=0000 pad=zz01” then “released oe=0000 pad=zz0z rx=1 strap=1”. Why can the saved strap still read one?

Reveal the Model Answer

The board held the strap at the sampling edge. The chip kept its drivers off and saved the sampled level at reset release. Later the board can release that pin or use it for another function without changing the boot choice.

Self-Check

Tick each key point you covered in your answer.

Sign off the Pad Table

Would you let useful outputs turn on at reset to save firmware setup on this board?

Reveal the Model Answer

Keep every shared pad released through reset and strap sampling (rule 3). Require explicit software selection before driving them. This costs setup writes but avoids fighting board drivers. Generate checks across all 32 pads for reset release, one selected driver and reachability of each required connection.

Self-Check

Tick each key point you covered in your answer.

I switched the pads to GPIO.

The serial row reads “oe=0101 pad=z100 rx=0”. The GPIO row has “oe=1001 pad=1z00 rx=1”. Did a new serial bit arrive?

Reveal the Model Answer

No. The selected function changed. UART RX listened to pad 1 in serial mode. GPIO now owns that pin and UART receives its idle one. SPI and capture inputs instead require idle zero. Check each receiver when its function loses the pin.

Self-Check

Tick each key point you covered in your answer.

Sign off the Pad Table

Would you let useful outputs turn on at reset to save firmware setup on this board?

Reveal the Model Answer

Keep every shared pad released through reset and strap sampling (rule 3). Require explicit software selection before driving them. This costs setup writes but avoids fighting board drivers. Generate checks across all 32 pads for reset release, one selected driver and reachability of each required connection.

Self-Check

Tick each key point you covered in your answer.

I multiplexed the data.

In the pad-0 table GPIO and PWM both request drive, with different values. What breaks if their enables are simply ORed?

Reveal the Model Answer

An unselected owner could drive even when the selected function is released. Use the same select field for value and enable. For code 00 require enable zero regardless of requests. For each other code check only its owner controls the driver.

Self-Check

Tick each key point you covered in your answer.

Sign off the Pad Table

Would you let useful outputs turn on at reset to save firmware setup on this board?

Reveal the Model Answer

Keep every shared pad released through reset and strap sampling (rule 3). Require explicit software selection before driving them. This costs setup writes but avoids fighting board drivers. Generate checks across all 32 pads for reset release, one selected driver and reachability of each required connection.

Self-Check

Tick each key point you covered in your answer.

I checked only output enables.

The serial row reads rx=0 because of a board pull-down. What does the UART make of that level?

Reveal the Model Answer

UART RX rests high between frames. A falling edge looks like a start bit. Holding RX low can produce a false frame or a break.

Self-Check

Tick each key point you covered in your answer.

Sign off the Pad Table

Would you let useful outputs turn on at reset to save firmware setup on this board?

Reveal the Model Answer

Keep every shared pad released through reset and strap sampling (rule 3). Require explicit software selection before driving them. This costs setup writes but avoids fighting board drivers. Generate checks across all 32 pads for reset release, one selected driver and reachability of each required connection.

Self-Check

Tick each key point you covered in your answer.

What People Get Wrong

Common wrong answers and why they fail.

Misconception

A high pin proves the chip drives it.

An external source can drive a released pad.

Source S7.4, reset oe=0000 pad=zz01.

Wrong Altitude

I would inspect every waveform by hand.

Generate selectors and checks for all legal fields from the table.

Learn It, Then Prove It