Free engineering tools

Embedded engineering calculators

Ten client-side calculators for firmware bring-up, register sizing and bus debugging. Everything runs locally in your browser with copy-paste C snippets, register hex words and fault-injection YAML.

ToolDomainWhat it computesOutput
Cortex-M HardFault DecoderARM DebugDecode CFSR (MMFSR/BFSR/UFSR), HFSR, MMFAR and BFAR hex dumps bit by bit with presets plus GDB inspection commands.Bit flags + GDB cmds
STM32 PLL Clock Tree CalculatorClocksValidate PLLM/PLLN/PLLP/PLLQ plus AHB/APB dividers for STM32F4/F7/H7 against VCO and USB 48 MHz limits.HAL RCC C snippet
PWM Timer Prescaler & ARR CalculatorTimersSolve exact PSC/ARR/CCR values, frequency error percent and duty resolution bits across STM32/AVR/RP2040/ESP32.PSC / ARR / CCR table
Embedded CRC-8, CRC-16 & CRC-32 CalculatorProtocolsCompute SMBus PEC, Sensirion CRC-8, Modbus RTU CRC-16, IEEE 802.3 plus STM32 hardware CRC-32 on hex or ASCII.Hex CRC + C code
ADC Resolution, LSB & NTC Thermistor CalculatorAnalogConvert raw ADC counts to voltage, scale resistor dividers and compute Beta NTC thermistor codes for 8 to 24 bit converters.LSB + suite.yaml
DMA Bandwidth & FIFO Overrun CalculatorMemory / BusEstimate DMA bus utilization percent, half-transfer interrupt intervals and peripheral FIFO overrun headroom from clock and burst width.MB/s + FIFO margin
CAN & CAN-FD Bit Timing CalculatorCAN BusCompute prescaler/TSEG1/TSEG2/SJW triples from 125 kbps to 5 Mbps with sample point percent and STM32 register words.CAN_BTR / FDCAN_NBTP
I2C Pull-Up Resistor CalculatorI2C BusSolve Rp(min)/Rp(max), nearest E24 resistor values and worst-case RC rise time across 100 kHz / 400 kHz / 1 MHz modes.E24 Rp + fault YAML
UART Baud Rate & Error CalculatorSerialCalculate USART_BRR (16x/8x), AVR UBRR (U2X=0/1), ESP32/nRF52/RP2040 dividers and flag mismatches past 2% framing error.BRR / UBRR + error %
SPI Clock Divider & Mode 0-3 ReferenceSPI BusCompute exact SCLK prescalers for STM32/nRF52/ESP32/RP2040/AVR clocks alongside CPOL/CPHA Mode 0-3 sampling edges.Prescaler + mode map

Why pair register calculators with digital twin CI

Static math catches configuration errors before you compile. Wrong I2C pull-ups, a 2.8% UART baud mismatch on an RC oscillator, or an out-of-spec STM32 VCO divider show up immediately in a table.

Runtime bugs require executing the compiled binary. Unclocked peripheral writes trigger precise BusFaults, sensors NACK during cold boot, and DMA bursts overrun peripheral FIFOs under interrupt load. CircuitTwin runs your ELF on deterministic board and component twins so CI catches those failures before silicon arrives.

Frequently asked questions

QuestionAnswer
Do these calculators send register values or payloads to a server?No. Every calculator runs locally in your browser using static JavaScript with zero API calls and no account requirement.
How do these tools connect to CircuitTwin firmware simulation?Bench math checks static register values before compilation. Once you build your ELF, CircuitTwin executes it on a deterministic digital twin to verify clock bring-up and inject bus faults in CI.

Related catalogs and guides