Microcontrollers and peripherals
51 practice items · needed by 1 role
Easy 17Medium 18Hard 16
Practice questions
- Why use volatileeasy
- Protocol with addresseseasy
- Floating input pineasy
- Keeping ISRs shorteasy
- PWM duty cycleeasy
- Clearing one register biteasy
- Toggling an LED pineasy
- Testing a status flageasy
- Converting an ADC readingeasy
- UART bytes per secondeasy
- Why I2C needs pull-upseasy
- Talking to two SPI deviceseasy
- Timer prescaler mathseasy
- The interrupt vector tableeasy
- Sizing an LED resistoreasy
- CAN bus terminationeasy
- Why enable brown-out reseteasy
- Buffering UART datamedium
- I2C device not respondingmedium
- Counter shared with an ISRmedium
- SPI returns garbagemedium
- One press, many eventsmedium
- Bit-fields for hardware registersmedium
- Measuring a signal frequencymedium
- Waking a task from an ISRmedium
- Slave holds SCL lowmedium
- Reading from an SPI slavemedium
- UART framing errorsmedium
- Who wins CAN arbitrationmedium
- Stuck in Default_Handlermedium
- Unused pins and sleep currentmedium
- Clock speed and powermedium
- Atomic GPIO writesmedium
- Cortex-M interrupt priority numbersmedium
- Feeding the watchdog with an RTOSmedium
- Random HardFaultshard
- DMA data looks stalehard
- Battery dies too fasthard
- Reading a 32-bit fieldhard
- Missed motor control interruptshard
- Packed struct crashes a Cortex-M0hard
- ISR runs twice per eventhard
- Taking a mutex in an ISRhard
- A CAN node goes silenthard
- I2C bus stuck after resethard
- A phantom 100 Hz signalhard
- Jitter in a control loop ISRhard
- FromISR call from a high priority ISRhard
- Sleep current 60 times too highhard
- The tick keeps waking the CPUhard
- Timestamp jumps backwardshard