Skip to content

Latest commit

 

History

History
579 lines (533 loc) · 43.2 KB

coverage.md

File metadata and controls

579 lines (533 loc) · 43.2 KB

Peripheral coverage

Generated by tools/catalog/coverage.py from the catalog's MCU descriptions and the engine's model table; CI fails when it is not current. A peripheral marked missing keeps its register values and raises mcu.unsupported_access; one marked modelled may still leave out behaviour its MCU's fidelity declares. The evidence for each model is in STATUS.md.

MCU Modelled Registers only Missing Peripherals
ESP32 20 0 25 45
ESP32-C3 35 0 0 35
ATmega328P 15 0 0 15
PIC24FJ1024GB610 11 4 17 32
PIC32MX795F512L 15 4 41 60
nRF52840 25 2 22 49
RP2040 30 5 0 35
FE310-G002 13 0 1 14
STM32F103C8 26 0 1 27
STM32F446RE 53 0 15 68
STM32F446ZE 53 0 15 68

ESP32 (espressif/esp32)

Boards: ESP32-DevKitC V4.
20 of 45 peripherals modelled, 0 registers only, 25 missing.

Peripheral Model State
DPORT esp32-dport modelled
AES — missing
RSA — missing
SHA esp32-sha modelled
UART0 esp32-uart modelled
SPI1 esp32-spi modelled
SPI0 esp32-spi modelled
GPIO esp32-gpio modelled
GPIO_SD — missing
FLASH_ENCRYPTION — missing
FRC_TIMER — missing
RTC_CNTL esp32-rtc modelled
RTC_IO esp32-rtcio modelled
SENS esp32-sens modelled
RTC_I2C — missing
IO_MUX esp32-iomux modelled
HINF — missing
UHCI1 — missing
I2S0 — missing
UART1 esp32-uart modelled
I2C0 esp32-i2c modelled
UHCI0 — missing
SLCHOST — missing
RMT esp32-rmt modelled
PCNT — missing
SLC — missing
LEDC esp32-ledc modelled
EFUSE esp32-efuse modelled
NRX — missing
BB — missing
MCPWM0 — missing
TIMG0 esp32-timg modelled
TIMG1 esp32-timg modelled
SPI2 — missing
SPI3 — missing
APB_CTRL esp32-apbctrl modelled
I2C1 esp32-i2c modelled
SDHOST — missing
EMAC_DMA — missing
EMAC_EXT — missing
EMAC_MAC — missing
TWAI0 — missing
MCPWM1 — missing
I2S1 — missing
UART2 esp32-uart modelled

Declared omissions: Wi-Fi, Bluetooth and the RF front end (WIFI_MAC, BB, NRX, FE: their registers keep what is written); the double-precision accelerator's instructions (F64ADDC, F64ITER and the others: their encodings are public, not what they do; a program that runs one stops with a diagnostic), though its registers are kept; PSRAM (DRAM1), the boot remap, the APB/AHB access permissions, the caches' lock regions and timing (the mapped pages are read whole), the MMU's access-error interrupts; RMT: the memory's power-down (MEM_PD), STATUS's STATE and the APB-side error bits, the carrier on an idle output; the SAR ADCs: the nonlinearity above about 2450 mV at 11 dB and a chip's spread from the fitted line, noise, the ULP's and the digital controller's (DMA, I2S) conversions, the Hall sensor, ADC2's arbitration with Wi-Fi, the RTC IO MUX's routing of a pad to the ADC (not checked); the DACs: the cosine-wave generator and the DMA path (I2S0), the output's impedance (a stiff source: the datasheet gives none) and its offset and nonlinearity; I2C: the non-FIFO mode (NONFIFO_EN, RX_REC_FULL, TX_SEND_EMPTY), SAMPLE_SCL_LEVEL, the input filters (only their share of the SCL high time), 10-bit addressing's R/W check; the peripherals without a model yet: I2S0/1, SPI2/3 (HSPI, VSPI), MCPWM, PCNT, TWAI, SDMMC, EMAC, the touch sensor, the RTC IO MUX's other pads and the ULP coprocessor, the AES and RSA accelerators, flash encryption; sleep modes (light and deep sleep, the power domains), brown-out; the eFuse 3/4 coding scheme's check, BLOCK0's per-field write protection.

ESP32-C3 (espressif/esp32c3)

Boards: ESP32-C3-DevKitM-1.
35 of 35 peripherals modelled, 0 registers only, 0 missing.

Peripheral Model State
UART0 esp32c3-uart modelled
SPI1 esp32c3-spimem modelled
SPI0 esp32c3-spimem modelled
GPIO esp32c3-gpio modelled
GPIO_SD esp32c3-sdm modelled
RTC_CNTL esp32c3-rtc modelled
EFUSE esp32c3-efuse modelled
IO_MUX esp32c3-iomux modelled
UHCI1 esp32c3-uhci modelled
UART1 esp32c3-uart modelled
I2C0 esp32c3-i2c modelled
UHCI0 esp32c3-uhci modelled
RMT esp32c3-rmt modelled
LEDC esp32c3-ledc modelled
TIMG0 esp32c3-timg modelled
TIMG1 esp32c3-timg modelled
SYSTIMER esp32c3-systimer modelled
SPI2 esp32c3-spi2 modelled
APB_CTRL esp32c3-apbctrl modelled
TWAI0 esp32c3-twai modelled
I2S0 esp32c3-i2s modelled
AES esp32c3-aes modelled
SHA esp32c3-sha modelled
RSA esp32c3-rsa modelled
DS esp32c3-ds modelled
HMAC esp32c3-hmac modelled
DMA esp32c3-gdma modelled
APB_SARADC esp32c3-adc modelled
USB_DEVICE esp32c3-usbjtag modelled
SYSTEM esp32c3-system modelled
SENSITIVE esp32c3-pms modelled
INTERRUPT_CORE0 esp32c3-intmtx modelled
EXTMEM esp32c3-cache modelled
XTS_AES esp32c3-xts modelled
ASSIST_DEBUG esp32c3-assist modelled

Declared omissions: every peripheral not named in the claims (their registers keep what is written); the PLL's power and lock, and the RC oscillators' spread (they run at their nominal frequencies); a USB host on GPIO18 and GPIO19 (the CDC-ACM port on the computer, its DTR and RTS resets, the JTAG side: ADR-031's native USB); the USB pads' own pull-ups and pin swap beyond the IO MUX's reset; the analog blocks' registers' reset values (they read 0 until written) and what their values do (the PLL's frequency comes from SYSTEM, the regulators' voltages are not modelled); the o-code calibration's time; the random number generator's entropy: RND_DATA and the Wi-Fi MAC's random number register are seeded generators (a chip's MAC seeds them), the same sequence every run so that a run replays, whatever noise sources are on; the GPIO's input filter and synchronisation, sleep mode (the pads' sleep configuration) and the drive strengths' effect; UHCI: the HCI packet header (sequence numbers, acknowledgement, checksum and CRC), the quick-sent register queues, the FIFO hang timeouts, UHCI1 (no GDMA channel serves it; its registers keep what is written); the UARTs' RTS output; the permission control: the unprivileged environment (the world controller's non-secure world, or user mode with PMS_PRIVILEGE_MODE_SEL: the CPU is always privileged, as ESP-IDF keeps it), the peripheral regions, the PIF's non-word access monitor, the GDMA and external memory checks; XTS-AES: the time a manual encryption takes (it completes at once), the download-mode encryption controls (ENABLE_DOWNLOAD_DB_ENCRYPT, G0CB_DECRYPT, MANUAL_ENCRYPT); HMAC and the digital signature: their times (they complete at once), what a soft JTAG enable does, the DS memories' read-back (the hardware reads 0); the eFuses' other write protection bits; I2S: slave mode, PDM transmission and its converter, the MCLK output, the FIFO's depth and the hung timeout, CONF_SIGLE_DATA, RX_STOP_MODE, the timing delays; TWAI: overload frames, triple sampling, the clock output and twai_bus_off_on, STATUS's MS; the bus's clocks are exact, so no resynchronisation follows the start of frame's hard synchronisation, and a receiver takes a frame at the end of its end of frame, not its sixth bit; the sigma-delta modulation's bit pattern (the TRM gives the density; a first-order modulator's evenest spread is used), its register clock gate (SIGMADELTA_CG) and SPI_SWAP; RMT: the free-running divider's phase (REF_CNT_RST; each transmission is timed from its start) and the carrier's phase (it restarts with each stretch it modulates); the memory's power-down; the status registers' STATE and APB-side error bits; LEDC: a fractional divider's alternating A and A + 1 counts (each count is the average length); a CLK_DIV below 1 (the timer stops); light-sleep; I2C: the SCL and SDA filters (the nets are clean); the state machines' own timeouts (SCL_ST_TO, SCL_MAIN_ST_TO); SR's state fields; a slave's SDA_SAMPLE point (it reacts at the edge), SLV_TX_AUTO_START_EN 0 and 10-bit addressing's R/W check; GP-SPI2: slave mode and the configurable segmented transfer (USR_CONF); the timing compensation (DIN_MODE, DIN_NUM, DOUT_MODE); CLK_MODE's clock after CS; SPI_UPDATE takes no time; the AFIFO errors; GDMA: bytes move at once, with no FIFO and no bus bandwidth (the priorities change nothing); the in-link's auto return; err_eof (UHCI0's); SAR ADC: the TRM's ideal transfer (no offset, gain error, nonlinearity or noise; the eFuses hold no calibration); ADC2's errata; the arbiter's priorities; the initial code's offset. Temperature sensor: no self-heating or settling; the eFuses' write and read protection, their check values and times; the chip's calibration data (BLOCK2 is blank); the cache's enable and bus-shut bits, the MMU entry fault and the access counters; the cache holds whole pages, not 16 KB of lines (core/mcu/esp32c3/cache.c); the flash's QPI mode, continuous read mode, SFDP table and block protection; SPI_MEM's auto-suspend and wait-idle, and the SPI clock's time (transfers take none); the SHA, AES and RSA accelerators' times (they finish at once, CONSTANT_TIME's too); the RSA memories' power-down; the debug module and the debug CSRs; the performance counter's load and jump hazard events; the interrupt controller's transient state after a register write; Wi-Fi beyond WPA2- and WPA3-Personal (a 40 MHz PPDU is carried as a 20 MHz one on the primary channel), and Bluetooth LE beyond advertising, scanning and connections (docs/engineering/c3-radios.md, steps 3 to 6): the MAC's retransmissions, contention (EDCA, CCA), the TSF's adjustment to an access point's beacons and its timers (TBTT, the TSF timer interrupts), TKIP, WEP, GCMP and protected management frames, aggregation, the transmit power the PHY sets (20 dBm is sent), promiscuous reception and the BSSID filter. Bluetooth LE beyond advertising (with scan responses), passive and active scanning and connections: the SCAN_REQs received reported in the receive descriptors (the scan request notification), the scan and initiator filter policies, the 2M and Coded PHYs, extended and periodic advertising, encryption, privacy, slave latency, an event's maximum length, CRC errors, sleep, the received signal strength in the descriptors, the transmit power the controller sets (+9 dBm is sent) and the radio's controls (they keep what is written). The PHY's measurements read as a calibrated front end at once (their real readings and times are not published), and the radio's register blocks' reset values are unknown (they read 0).

ATmega328P (microchip/atmega328p)

Boards: Arduino Uno R3 (ATmega328P).
15 of 15 peripherals modelled, 0 registers only, 0 missing.

Peripheral Model State
PORTB avr-port modelled
PORTC avr-port modelled
PORTD avr-port modelled
EXINT avr-exint modelled
TC0 avr-tc8 modelled
TC1 avr-tc16 modelled
TC2 avr-tc8 modelled
CPU avr-cpu modelled
EEPROM avr-eeprom modelled
SPI avr-spi modelled
AC avr-ac modelled
WDT avr-wdt modelled
ADC avr-adc modelled
TWI avr-twi modelled
USART0 avr-usart modelled

Declared omissions: damage past the absolute maximum ratings (the datasheet names no point where it happens: warnings only), the 200 mA limit on VCC and GND, and the protection diodes' current going into VCC (they clamp to the nominal supply: an unpowered part is not powered through its pins); SPI slave mode; TWI slave mode, arbitration and bus errors; the watchdog oscillator's spread (exactly 128 kHz) and safety level 2 (WDTON); the analog comparator's synchronisation delay, offset and hysteresis; the input capture synchroniser's constant delay; the external clock inputs T0 and T1; timer 2's asynchronous clock; LPM's read protection by the boot lock bits and the interrupts they hold off; reading or running the RWW section while RWWSB is set (undefined on the part: LPM reads 0xff and warns, code runs as flash holds it); the low fuse's clock selection (CKSEL, SUT: the board's description gives the clock) and the lock bits LB1 and LB2 (they guard external programming, not modelled); frame and parity errors on bytes from the session's input; brown-out detection.

PIC24FJ1024GB610 (microchip/pic24fj1024gb610)

Boards: Explorer 16/32 (PIC24FJ1024GB610 PIM).
11 of 32 peripherals modelled, 4 registers only, 17 missing.

Peripheral Model State
INT pic24-intc modelled
OSC pic24-osc modelled
RCON storage registers only
HLVD pic24-hlvd missing
PMP pic24-epmp missing
CRC pic24-crc missing
REFO pic24-refo missing
PMD storage registers only
TMR pic24-tmr modelled
CTMU pic24-ctmu missing
RTCC pic24-rtcc missing
IC pic24-ic missing
OC pic24-oc missing
CCP pic24-ccp missing
CMP pic24-cmp missing
ANCFG storage registers only
UART1 pic24-uart modelled
UART2 pic24-uart modelled
UART3 pic24-uart modelled
UART4 pic24-uart modelled
UART5 pic24-uart modelled
UART6 pic24-uart modelled
SPI pic24-spi missing
CLC pic24-clc missing
I2C pic24-i2c missing
DMA pic24-dma missing
USB pic24-usb missing
PAD storage registers only
GPIO pic24-gpio modelled
ADC1 pic24-adc missing
NVM pic24-nvm missing
PPS pic24-pps modelled

Declared omissions: the ADC, SPI, I2C, input capture, output compare, the MCCP and SCCP modules, the EPMP, the RTCC, DMA, USB, the comparators, the CRC, the CLCs, the CTMU, HLVD and the reference clock (plain registers); the watchdog and deep sleep (it never resets the part); flash programming (NVM) and the dual partitions; the PLL's other modes (4x, 6x, 8x: FOSC is 32 MHz divided by CPDIV) and the DCO; the external interrupt pins (INTx); the dsPIC's DSP instructions (the core's dsPIC33E mode is not used by this part).

PIC32MX795F512L (microchip/pic32mx795f512l)

Boards: Explorer 16/32 (PIC32MX795F512L PIM).
15 of 60 peripherals modelled, 4 registers only, 41 missing.

Peripheral Model State
WDT pic32-wdt missing
RTCC pic32-rtcc missing
TMR1 pic32-tmr modelled
TMR2 pic32-tmr modelled
TMR3 pic32-tmr modelled
TMR4 pic32-tmr modelled
TMR5 pic32-tmr modelled
ICAP1 pic32-ic missing
ICAP2 pic32-ic missing
ICAP3 pic32-ic missing
ICAP4 pic32-ic missing
ICAP5 pic32-ic missing
OCMP1 pic32-oc missing
OCMP2 pic32-oc missing
OCMP3 pic32-oc missing
OCMP4 pic32-oc missing
OCMP5 pic32-oc missing
I2C3 pic32-i2c missing
I2C4 pic32-i2c missing
I2C5 pic32-i2c missing
I2C1 pic32-i2c missing
I2C2 pic32-i2c missing
SPI3 pic32-spi missing
SPI2 pic32-spi missing
SPI4 pic32-spi missing
SPI1 pic32-spi missing
UART1 pic32-uart modelled
UART4 pic32-uart modelled
UART3 pic32-uart modelled
UART6 pic32-uart modelled
UART2 pic32-uart modelled
UART5 pic32-uart modelled
PMP pic32-pmp missing
ADC10 pic32-adc10 missing
CVR pic32-cmp missing
CMP1 pic32-cmp missing
CMP2 pic32-cmp missing
CMP pic32-cmp missing
OSC pic32-osc modelled
CFG pic32-cfg modelled
NVM pic32-nvm missing
RCON storage registers only
ICD storage registers only
INT pic32-evic modelled
BMX storage registers only
DMAC pic32-dma missing
DMAC0 pic32-dma missing
DMAC1 pic32-dma missing
DMAC2 pic32-dma missing
DMAC3 pic32-dma missing
DMAC4 pic32-dma missing
DMAC5 pic32-dma missing
DMAC6 pic32-dma missing
DMAC7 pic32-dma missing
PCACHE storage registers only
USB pic32-usb missing
GPIO pic32-gpio modelled
ETH pic32-eth missing
CAN1 pic32-can missing
CAN2 pic32-can missing

Declared omissions: the ADC, SPI, I2C, input capture, output compare, the PMP, the RTCC, DMA, USB, Ethernet, CAN and the comparators (plain registers); the watchdog (plain registers: it never resets the part); flash programming (NVM); the prefetch cache and the bus matrix's partitions; sleep and idle; the external interrupt pins (INTx); the debugger's ICD registers (plain storage).

nRF52840 (nordic/nrf52840)

Boards: nRF52840 DK (PCA10056).
25 of 49 peripherals modelled, 2 registers only, 22 missing.

Peripheral Model State
FICR storage registers only
UICR nrf-uicr modelled
CLOCK nrf-clock modelled
RADIO nrf-radio missing
UARTE0 nrf-uart modelled
SPIM0 nrf-spim modelled
SPIM1 nrf-spim modelled
NFCT — missing
GPIOTE nrf-gpiote modelled
SAADC nrf-saadc modelled
TIMER0 nrf-timer modelled
TIMER1 nrf-timer modelled
TIMER2 nrf-timer modelled
RTC0 nrf-rtc modelled
TEMP nrf-temp missing
RNG nrf-rng missing
ECB — missing
CCM — missing
WDT nrf-wdt missing
RTC1 nrf-rtc modelled
QDEC — missing
COMP — missing
EGU0 — missing
EGU1 — missing
EGU2 — missing
EGU3 — missing
EGU4 — missing
EGU5 — missing
TIMER3 nrf-timer modelled
TIMER4 nrf-timer modelled
PWM0 nrf-pwm modelled
PDM — missing
NVMC nrf-nvmc modelled
PPI nrf-ppi missing
MWU — missing
PWM1 nrf-pwm modelled
PWM2 nrf-pwm modelled
SPIM2 nrf-spim modelled
RTC2 nrf-rtc modelled
I2S — missing
FPU storage registers only
USBD nrf-usbd missing
UARTE1 nrf-uart modelled
QSPI nrf-qspi missing
PWM3 nrf-pwm modelled
SPIM3 nrf-spim modelled
P0 nrf-gpio modelled
P1 nrf-gpio modelled
CRYPTOCELL — missing

Declared omissions: the debug monitor exception (DEMCR's MON_ bits), C_SNAPSTALL, the FPB's flash patching (FP_REMAP), the DWT's counters other than CYCCNT, PC sampling, data value matching and linked comparators, the trace pin: the ITM and TPIU are there (cortexm/itm.c) but no debug component gives a pin TRACESWO (the F1's DBGMCU_CR TRACE_IOEN, the nRF52840's TRACECONFIG are not modelled), so no SWO leaves the part; the ITM's timestamp and the DWT's packets; a halted core draws its sleep current; the radio; PPI and the DPPI-like EGUs; SPIS, TWIS, the legacy SPI and TWI, PDM, I2S, QDEC, COMP (plain registers); SPIM's and TWIM's EasyDMA lists, clock stretching by an I2C slave, arbitration; the SAADC's resistor ladders, its load on the circuit, noise and offset and gain errors; USBD; QSPI; the CryptoCell; the NVMC's word write (41 us) and ERASEALL (169 ms) times are the Product Specification's maxima as recalled, not checked against it (its page erase, 85 ms, is the value nrfx gives); the times' spread, nWRITE, a partially erased page's undefined contents, the ACLs, the hardware APPROTECT of build code F and later (APPROTECT.DISABLE; the UICR's APPROTECT is the earlier builds'), the debug port's WAIT, overrun detection and TRNCNT, the instruction cache's IHIT and IMISS, the UICR across a power cycle; POWER's sleep modes (System OFF); UARTE flow control and errors.

RP2040 (raspberrypi/rp2040)

Boards: Raspberry Pi Pico (RP2040).
30 of 35 peripherals modelled, 5 registers only, 0 missing.

Peripheral Model State
XIP_CTRL storage registers only
SSI rp2040-ssi modelled
SYSINFO storage registers only
SYSCFG storage registers only
CLOCKS rp2040-clocks modelled
RESETS rp2040-resets modelled
PSM rp2040-psm modelled
IO_BANK0 rp2040-io modelled
IO_QSPI rp2040-pads modelled
PADS_BANK0 rp2040-pads modelled
PADS_QSPI rp2040-pads modelled
XOSC rp2040-xosc modelled
PLL_SYS rp2040-pll modelled
PLL_USB rp2040-pll modelled
BUSCTRL rp2040-busctrl modelled
UART0 rp2040-uart modelled
UART1 rp2040-uart modelled
SPI0 rp2040-spi modelled
SPI1 rp2040-spi modelled
I2C0 rp2040-i2c modelled
I2C1 rp2040-i2c modelled
ADC rp2040-adc modelled
PWM rp2040-pwm modelled
TIMER rp2040-timer modelled
WATCHDOG rp2040-watchdog modelled
RTC rp2040-rtc modelled
ROSC rp2040-rosc modelled
VREG_AND_CHIP_RESET storage registers only
TBMAN storage registers only
DMA rp2040-dma modelled
USB_DPRAM rp2040-usb modelled
USB rp2040-usb modelled
PIO0 rp2040-pio modelled
PIO1 rp2040-pio modelled
SIO rp2040-sio modelled

Declared omissions: the debug monitor exception (DEMCR's MON_ bits), C_SNAPSTALL, the FPB's flash patching (FP_REMAP), the DWT's counters other than CYCCNT, PC sampling, data value matching and linked comparators, the ITM and TPIU (no SWO trace); a halted core draws its sleep current; the serial wire: every access completes at once (no WAIT), ORUNDETECT's data phase, TRNMODE's pushed compare and TRNCNT, JTAG (the ports are SWD only, as on the part), SYSCFG.DBGFORCE's bit-banged SWD from the cores and PROC_CONFIG's PROC0_HALTED and PROC1_HALTED; CSW's reset value is EmbSIM's (a word, no increment); the bootrom's code (EmbSIM's stand-in does what it does: boot2, the function and data tables, the USB boot); a debugger's choice of core (it sees the one that runs next); the XIP cache; USB host mode; DMA: the XIP streaming DREQs, the debug registers (CHn_DBG_CTDREQ, CHn_DBG_TCR: plain), the DREQ counters' exact behaviour against a peripheral whose request drops between two transfers; the PIOs: the input synchroniser's two cycles (inputs are read at once), OUT_STICKY and INLINE_OUT_EN, the debug registers (DBG_PADOUT and DBG_PADOE give the outputs), a delay on an EXEC'd instruction taken as on any other; SPI and I2C slave modes, TI's and Microwire's SPI formats, the SPI receive timeout, 10-bit I2C addresses, general call and START bytes, clock stretching by an I2C slave, arbitration, the I2C spike filter; PWM's gated and edge-counting DIVMODEs and phase advance; the ADC's error flags; the interpolators; DORMANT and SLEEP; the QSPI bank's pins; the USB boot's PICOBOOT interface (picotool), UF2 files for RAM, the activity LED; its serial number and INDEX.HTM's version argument are not the bootrom's; the USB controller's isochronous endpoints, suspend detection (no SOF for 3 ms) and remote wakeup, NAK and stall interrupts, data sequence errors; the flash's unique ID is EmbSIM's (45 6d 62 53 69 6d 00 01), not a part's; the RTC's RTC_ACTIVE follows RTC_ENABLE at once (the part takes a few clk_rtc edges), out-of-range times loaded are not checked.

FE310-G002 (sifive/fe310_g002)

Boards: HiFive1 Rev B (FE310-G002).
13 of 14 peripherals modelled, 0 registers only, 1 missing.

Peripheral Model State
CLINT fe310-clint modelled
PLIC fe310-plic modelled
AON fe310-aon modelled
PRCI fe310-prci modelled
GPIO0 fe310-gpio modelled
UART0 fe310-uart modelled
UART1 fe310-uart modelled
QSPI0 fe310-spi modelled
SPI1 fe310-spi modelled
SPI2 fe310-spi modelled
PWM0 fe310-pwm modelled
PWM1 fe310-pwm modelled
PWM2 fe310-pwm modelled
I2C0 fe310-i2c missing

Declared omissions: the mask ROM and the bootloader; the always-on domain's PMU (sleep, wake-up) and the low-frequency oscillator's trim: the low-frequency clock is 32.768 kHz; I2C; the instruction cache; the debug module: its space reads as zeros; QSPI0's programmed mode and the dual and quad protocols; the PWM comparators' shadow registers.

STM32F103C8 (st/stm32f103c8)

Boards: Blue Pill (STM32F103C8T6).
26 of 27 peripherals modelled, 0 registers only, 1 missing.

Peripheral Model State
TIM2 stm32-tim modelled
TIM3 stm32-tim modelled
TIM4 stm32-tim modelled
WWDG stm32-wwdg modelled
IWDG stm32-iwdg modelled
SPI2 stm32-spi modelled
USART2 stm32-usart modelled
USART3 stm32-usart modelled
I2C1 stm32-i2c modelled
I2C2 stm32-i2c modelled
PWR stm32-pwr modelled
AFIO stm32f1-afio modelled
EXTI stm32-exti modelled
GPIOA stm32f1-gpio modelled
GPIOB stm32f1-gpio modelled
GPIOC stm32f1-gpio modelled
GPIOD stm32f1-gpio modelled
GPIOE stm32f1-gpio modelled
ADC1 stm32f1-adc modelled
ADC2 stm32f1-adc modelled
TIM1 stm32-tim modelled
SPI1 stm32-spi modelled
USART1 stm32-usart modelled
DMA1 — missing
RCC stm32-rcc modelled
FLASH stm32f1-flash modelled
CRC stm32-crc modelled

Declared omissions: the debug monitor exception (DEMCR's MON_ bits), C_SNAPSTALL, the FPB's flash patching (FP_REMAP), the DWT's counters other than CYCCNT, PC sampling, data value matching and linked comparators, the trace pin: the ITM and TPIU are there (cortexm/itm.c) but no debug component gives a pin TRACESWO (the F1's DBGMCU_CR TRACE_IOEN, the nRF52840's TRACECONFIG are not modelled), so no SWO leaves the part; the ITM's timestamp and the DWT's packets; a halted core draws its sleep current; the ADC's injected group, analog watchdog, external triggers, dual mode and DMA; I2S; I2C's noise filtering, the SMBus's cumulative clock low extensions, clock synchronization between two masters; DMA; CAN; USB; RTC and backup domain; the timers' complementary outputs, break and ETR on pins (TIM1's CHxN, BKIN and ETR are not routed through AFIO), their DMA requests; the watchdogs' debug freeze bits and LSI's spread (40 kHz typical on the F1, 32 kHz here); the flash's read protection (RDPRT is loaded and reported, nothing refused), HSI having to run while it is written, the times' spread (DS5319's typical program time; its erase minimum, as it gives no typical), a reset during an operation; low-power modes beyond WFI.

STM32F446RE (st/stm32f446re)

Boards: NUCLEO-F446RE (STM32F446RE).
53 of 68 peripherals modelled, 0 registers only, 15 missing.

Peripheral Model State
TIM2 stm32-tim modelled
TIM3 stm32-tim modelled
TIM4 stm32-tim modelled
TIM5 stm32-tim modelled
TIM6 stm32-tim modelled
TIM7 stm32-tim modelled
TIM12 stm32-tim modelled
TIM13 stm32-tim modelled
TIM14 stm32-tim modelled
RTC stm32f4-rtc modelled
WWDG stm32-wwdg modelled
IWDG stm32-iwdg modelled
SPI2 stm32-spi modelled
SPI3 stm32-spi modelled
SPDIF_RX — missing
USART2 stm32-usart modelled
USART3 stm32-usart modelled
UART4 stm32-usart modelled
UART5 stm32-usart modelled
I2C1 stm32-i2c modelled
I2C2 stm32-i2c modelled
I2C3 stm32-i2c modelled
FMPI2C — missing
CAN1 — missing
CAN2 — missing
HDMI_CEC — missing
PWR stm32f4-pwr modelled
DAC stm32f4-dac modelled
TIM1 stm32-tim modelled
TIM8 stm32-tim modelled
USART1 stm32-usart modelled
USART6 stm32-usart modelled
ADC1 stm32f4-adc modelled
ADC2 stm32f4-adc modelled
ADC3 stm32f4-adc modelled
C_ADC stm32f4-adc-common modelled
SDIO — missing
SPI1 stm32-spi modelled
SPI4 stm32-spi modelled
SYSCFG stm32f4-syscfg modelled
EXTI stm32-exti modelled
TIM9 stm32-tim modelled
TIM10 stm32-tim modelled
TIM11 stm32-tim modelled
SAI1 — missing
SAI2 — missing
GPIOA stm32f4-gpio modelled
GPIOB stm32f4-gpio modelled
GPIOC stm32f4-gpio modelled
GPIOD stm32f4-gpio modelled
GPIOE stm32f4-gpio modelled
GPIOF stm32f4-gpio modelled
GPIOG stm32f4-gpio modelled
GPIOH stm32f4-gpio modelled
CRC stm32-crc modelled
RCC stm32-rcc modelled
FLASH stm32f4-flash modelled
DMA1 stm32f4-dma modelled
DMA2 stm32f4-dma modelled
OTG_HS_GLOBAL — missing
OTG_HS_HOST — missing
OTG_HS_DEVICE — missing
OTG_HS_PWRCLK — missing
OTGFS stm32-otg-fs modelled
DCMI — missing
FMC — missing
QUADSPI — missing
DBG stm32f4-dbgmcu modelled

Declared omissions: DBGMCU's freeze bits for the RTC, the I2C SMBus time-outs and CAN (they run on while the core is halted); TRACE_IOEN and TRACE_MODE (no trace port); the debug monitor exception (DEMCR's MON_ bits), C_SNAPSTALL, the FPB's flash patching (FP_REMAP), the DWT's counters other than CYCCNT, PC sampling, data value matching and linked comparators, the ITM's timestamp, synchronisation and overflow packets and the DWT's packets (PC sampling, exception and data trace), the TPIU's parallel trace port and formatter (SWO is modelled: cortexm/itm.c); a halted core draws its sleep current; watchdogs: LSI's spread (32 kHz here), the debug freeze bits (a debugger's halt stops all of the machine's time); the WWDG's counter while WDGA is clear counts from the last access made while its clock is on; RTC: the reference clock detection (REFCKON, RTC_REFIN), RTC_AF2 (PI8, not bonded), the tamper input's precharge and pull-up, the 8 and 16 s calibration windows (the rate is applied evenly), RECALPF's wait; ADC: the start-up time after ADON (conversions are exact at once), the input's source impedance against the sampling time, the converter's offset, gain, linearity errors and noise (the code is the ideal one), the die's self-heating; DAC: the buffer's offset and gain errors and load regulation, the conversion's non-linearity; I2C: FLTR's analog and digital noise filters (the circuit's edges are taken as they come), the SMBus's cumulative clock low extensions (TLOW:SEXT, TLOW:MEXT), clock synchronization between two masters, TRISE's rise time compensation, CR2.FREQ (times come from the real PCLK1); FMPI2C1 (another IP) keeps its registers; SPI: I2S (I2SCFGR's I2SMOD keeps its value and the SPI stays an SPI; no catalog part speaks I2S), the TI slave's MISO release half a clock after the last bit (let go at the frame's end); DMA: the arbitration's delays between streams (a request is served at once), the direct mode and FIFO overrun/underrun errors (DMEIF never sets, FEIF only for the configuration error), the peripheral flow controller (PFCTRL), the bus matrix's timing (memory-to-memory moves an item every two cycles); dma_requests omits SAI2's and SPI4's requests; USART: noise detection (one sample a bit: NF never sets, ONEBIT changes nothing), smartcard mode (SCEN, NACK, GTPR) and IrDA (IREN, IRLP), which no catalog part speaks; timers: TIM5's TI4 on the RTC's wake-up interrupt (IT4_RMP 11) and TIM2's ITR1 on the OTG controllers' SOF, MSM's delay, the idle levels' dead time after a break, OCxFE; TIMx_CCy as an ADC trigger is OCyREF for an output channel and a pulse at a capture or a frozen channel's match; SysTick: STK_CALIB's TENMS (RM0390's value not taken: it reads 0 with SKEW set); GPIO: EVENTOUT (AF15, SEV's pulse), the I/O compensation cell's effect on the edges; SYSCFG: the FMC memories MEMRMP can map at 0 (none is on the bus), PMC's ADC DC2 bits' effect; EXTI: the internal lines' sources but the RTC's (the PVD, the USB OTG controllers' wake-ups) until their models land; SWIER triggers them; RCC: the clock security system's detection (CSSON is kept; the board's HSE never fails), a peripheral held in reset while its *RSTR bit stays set (its reset happens on the write), the brownout reset (BORRSTF only at power-on), the start-up times' spread between parts and with temperature and LSEMOD's drive level (the typical times always), MCO1 and MCO2 on their pins, and the I2S, SAI, SPDIF-RX, CEC and FMPI2C clocks from PLLI2S and PLLSAI (DCKCFGR, DCKCFGR2) beyond TIMPRE and the 48 MHz clock's CK48MSEL (PLL_Q or PLLSAI_P, which the USB OTG FS core needs); PWR: the regulator's settling times and the low-power modes' wake-up times (DS10693's low-power mode wake-up timings: the core runs at the wake-up event), the regulator's settings (LPDS, FPDS, LPLVDS, MRLVDS: the supply current is not modelled), the programmable voltage detector, DBG_STOP's clocks (with it set, a probe reaches the part in Stop, but HCLK is not kept running from HSI), the tamper and timestamp pin in Standby beyond RTC_OUT; DWT's CYCCNT counts through Stop; CAN, SDIO, QUADSPI, SAI, SPDIF-RX, HDMI-CEC, DCMI, FMC, FMPI2C and the USB OTG HS controller; USB OTG FS: the ID pin, SRP and HNP, split transactions through a hub, isochronous endpoints' frame parity and incomplete-transfer interrupts and a host's isochronous channels, FRMOR, LPM, GCCFG's battery-charging detection, the OTG_FS_WKUP interrupt through EXTI line 18, the SOF pulse on PA8; the device's turnaround inside a transaction (a transaction is whole), a host channel's OUT data kept per channel rather than in the shared FIFO's order (the words free are the same); GSNPSID reads 0x4F54320A (core 3.20a), the value TinyUSB's dwc2_info table measures on the F412's and F76x's OTG_FS, the same generation of the core (ST's HAL groups the F446 with the F412, F413 and F469); no ST document gives it and it was not read from an F446; flash: the times' spread and their maximum values (the typical ones always), the ART accelerator's cache hits during an operation (a program in the flash stalls whatever its cache holds), a program in SRAM whose interrupt handler is in the flash (it does not stall), the option bytes' programming time (OPTSTRT is done at once), a reset during an operation leaving the memory half-programmed, HCLK's 1 MHz minimum, the read protection's levels (RDP stored, no mass erase on a regression), PCROP's read refusal (RDERR), the ART accelerator's caches (DCRST, ICRST); CRC: the bus stall of a DR access while a word is computed (four AHB clocks), and a byte or halfword write to DR, which RM0390 does not allow, feeding its value zero-extended.

STM32F446ZE (st/stm32f446ze)

Boards: NUCLEO-F446ZE (STM32F446ZE).
53 of 68 peripherals modelled, 0 registers only, 15 missing.

Peripheral Model State
TIM2 stm32-tim modelled
TIM3 stm32-tim modelled
TIM4 stm32-tim modelled
TIM5 stm32-tim modelled
TIM6 stm32-tim modelled
TIM7 stm32-tim modelled
TIM12 stm32-tim modelled
TIM13 stm32-tim modelled
TIM14 stm32-tim modelled
RTC stm32f4-rtc modelled
WWDG stm32-wwdg modelled
IWDG stm32-iwdg modelled
SPI2 stm32-spi modelled
SPI3 stm32-spi modelled
SPDIF_RX — missing
USART2 stm32-usart modelled
USART3 stm32-usart modelled
UART4 stm32-usart modelled
UART5 stm32-usart modelled
I2C1 stm32-i2c modelled
I2C2 stm32-i2c modelled
I2C3 stm32-i2c modelled
FMPI2C — missing
CAN1 — missing
CAN2 — missing
HDMI_CEC — missing
PWR stm32f4-pwr modelled
DAC stm32f4-dac modelled
TIM1 stm32-tim modelled
TIM8 stm32-tim modelled
USART1 stm32-usart modelled
USART6 stm32-usart modelled
ADC1 stm32f4-adc modelled
ADC2 stm32f4-adc modelled
ADC3 stm32f4-adc modelled
C_ADC stm32f4-adc-common modelled
SDIO — missing
SPI1 stm32-spi modelled
SPI4 stm32-spi modelled
SYSCFG stm32f4-syscfg modelled
EXTI stm32-exti modelled
TIM9 stm32-tim modelled
TIM10 stm32-tim modelled
TIM11 stm32-tim modelled
SAI1 — missing
SAI2 — missing
GPIOA stm32f4-gpio modelled
GPIOB stm32f4-gpio modelled
GPIOC stm32f4-gpio modelled
GPIOD stm32f4-gpio modelled
GPIOE stm32f4-gpio modelled
GPIOF stm32f4-gpio modelled
GPIOG stm32f4-gpio modelled
GPIOH stm32f4-gpio modelled
CRC stm32-crc modelled
RCC stm32-rcc modelled
FLASH stm32f4-flash modelled
DMA1 stm32f4-dma modelled
DMA2 stm32f4-dma modelled
OTG_HS_GLOBAL — missing
OTG_HS_HOST — missing
OTG_HS_DEVICE — missing
OTG_HS_PWRCLK — missing
OTGFS stm32-otg-fs modelled
DCMI — missing
FMC — missing
QUADSPI — missing
DBG stm32f4-dbgmcu modelled

Declared omissions: DBGMCU's freeze bits for the RTC, the I2C SMBus time-outs and CAN (they run on while the core is halted); TRACE_IOEN and TRACE_MODE (no trace port); the debug monitor exception (DEMCR's MON_ bits), C_SNAPSTALL, the FPB's flash patching (FP_REMAP), the DWT's counters other than CYCCNT, PC sampling, data value matching and linked comparators, the ITM's timestamp, synchronisation and overflow packets and the DWT's packets (PC sampling, exception and data trace), the TPIU's parallel trace port and formatter (SWO is modelled: cortexm/itm.c); a halted core draws its sleep current; watchdogs: LSI's spread (32 kHz here), the debug freeze bits (a debugger's halt stops all of the machine's time); the WWDG's counter while WDGA is clear counts from the last access made while its clock is on; RTC: the reference clock detection (REFCKON, RTC_REFIN), RTC_AF2 (PI8, not bonded), the tamper input's precharge and pull-up, the 8 and 16 s calibration windows (the rate is applied evenly), RECALPF's wait; ADC: the start-up time after ADON (conversions are exact at once), the input's source impedance against the sampling time, the converter's offset, gain, linearity errors and noise (the code is the ideal one), the die's self-heating; DAC: the buffer's offset and gain errors and load regulation, the conversion's non-linearity; I2C: FLTR's analog and digital noise filters (the circuit's edges are taken as they come), the SMBus's cumulative clock low extensions (TLOW:SEXT, TLOW:MEXT), clock synchronization between two masters, TRISE's rise time compensation, CR2.FREQ (times come from the real PCLK1); FMPI2C1 (another IP) keeps its registers; SPI: I2S (I2SCFGR's I2SMOD keeps its value and the SPI stays an SPI; no catalog part speaks I2S), the TI slave's MISO release half a clock after the last bit (let go at the frame's end); DMA: the arbitration's delays between streams (a request is served at once), the direct mode and FIFO overrun/underrun errors (DMEIF never sets, FEIF only for the configuration error), the peripheral flow controller (PFCTRL), the bus matrix's timing (memory-to-memory moves an item every two cycles); dma_requests omits SAI2's and SPI4's requests; USART: noise detection (one sample a bit: NF never sets, ONEBIT changes nothing), smartcard mode (SCEN, NACK, GTPR) and IrDA (IREN, IRLP), which no catalog part speaks; timers: TIM5's TI4 on the RTC's wake-up interrupt (IT4_RMP 11) and TIM2's ITR1 on the OTG controllers' SOF, MSM's delay, the idle levels' dead time after a break, OCxFE; TIMx_CCy as an ADC trigger is OCyREF for an output channel and a pulse at a capture or a frozen channel's match; SysTick: STK_CALIB's TENMS (RM0390's value not taken: it reads 0 with SKEW set); GPIO: EVENTOUT (AF15, SEV's pulse), the I/O compensation cell's effect on the edges; SYSCFG: the FMC memories MEMRMP can map at 0 (none is on the bus), PMC's ADC DC2 bits' effect; EXTI: the internal lines' sources but the RTC's (the PVD, the USB OTG controllers' wake-ups) until their models land; SWIER triggers them; RCC: the clock security system's detection (CSSON is kept; the board's HSE never fails), a peripheral held in reset while its *RSTR bit stays set (its reset happens on the write), the brownout reset (BORRSTF only at power-on), the start-up times' spread between parts and with temperature and LSEMOD's drive level (the typical times always), MCO1 and MCO2 on their pins, and the I2S, SAI, SPDIF-RX, CEC and FMPI2C clocks from PLLI2S and PLLSAI (DCKCFGR, DCKCFGR2) beyond TIMPRE and the 48 MHz clock's CK48MSEL (PLL_Q or PLLSAI_P, which the USB OTG FS core needs); PWR: the regulator's settling times and the low-power modes' wake-up times (DS10693's low-power mode wake-up timings: the core runs at the wake-up event), the regulator's settings (LPDS, FPDS, LPLVDS, MRLVDS: the supply current is not modelled), the programmable voltage detector, DBG_STOP's clocks (with it set, a probe reaches the part in Stop, but HCLK is not kept running from HSI), the tamper and timestamp pin in Standby beyond RTC_OUT; DWT's CYCCNT counts through Stop; CAN, SDIO, QUADSPI, SAI, SPDIF-RX, HDMI-CEC, DCMI, FMC, FMPI2C and the USB OTG HS controller; USB OTG FS: the ID pin, SRP and HNP, split transactions through a hub, isochronous endpoints' frame parity and incomplete-transfer interrupts and a host's isochronous channels, FRMOR, LPM, GCCFG's battery-charging detection, the OTG_FS_WKUP interrupt through EXTI line 18, the SOF pulse on PA8; the device's turnaround inside a transaction (a transaction is whole), a host channel's OUT data kept per channel rather than in the shared FIFO's order (the words free are the same); GSNPSID reads 0x4F54320A (core 3.20a), the value TinyUSB's dwc2_info table measures on the F412's and F76x's OTG_FS, the same generation of the core (ST's HAL groups the F446 with the F412, F413 and F469); no ST document gives it and it was not read from an F446; flash: the times' spread and their maximum values (the typical ones always), the ART accelerator's cache hits during an operation (a program in the flash stalls whatever its cache holds), a program in SRAM whose interrupt handler is in the flash (it does not stall), the option bytes' programming time (OPTSTRT is done at once), a reset during an operation leaving the memory half-programmed, HCLK's 1 MHz minimum, the read protection's levels (RDP stored, no mass erase on a regression), PCROP's read refusal (RDERR), the ART accelerator's caches (DCRST, ICRST); CRC: the bus stall of a DR access while a word is computed (four AHB clocks), and a byte or halfword write to DR, which RM0390 does not allow, feeding its value zero-extended.