6.2.1 Divide and Square Root Accelerator (DIVAS)
The Divide and Square Root Accelerator (DIVAS) peripheral is a math accelerator that performs fast division and square root operations, which are typically slow when implemented in software on microcontrollers without hardware divided instructions. This peripheral is used for applications requiring real-time control, signal processing, and mathematical computations.
Key Features
- Hardware division—32-bit signed and unsigned integer division operations
- Square root calculation
- Low latency/No CPU stalling—Provides results in just a few clock cycles, freeing the CPU for other tasks
- Simple interface—Operands are written to and results are read from memory-mapped registers
