legendsemi

LH32M0G317

The LH32M0G3XX is a fully integrated dual-channel 7.8125 kSPS, 24-bit data acquisition system. On a single chip, it integrates dual high-performance multi-channel Σ-Δ analog-to-digital converters (ADCs), a 32-bit ARM Cortex™-M0+ processor, and on-chip Flash memory. The LH32M0G3XX integrates an analog subsystem, an MCU, digital control logic optimized and enhanced for high-precision ADCs, analog output modules, power supply and driver modules, and complies with the IEC61508 functional safety design standard. The LH32M0G3XX contains an on-chip 32 kHz oscillator and an internal 32 MHz high-frequency oscillator. The high-frequency oscillator outputs clock signals to a programmable clock divider to generate the core operating clock frequency, eliminating the requirement for external crystals. The maximum core clock frequency is 32 MHz, which is not limited by operating voltage or ambient temperature. The microcontroller core of the LH32M0G3XX is the low-power ARM Cortex™-M0+ processor. It integrates a flexible 4-channel DMA controller for accelerating data movement, an on-chip interconnection trigger unit CROSSLINK, an on-chip MAC math accelerator and a CRC32 calculation accelerator, and supports communication peripherals including SPI, UART, I2C, OWI, etc. The on-chip non-volatile Flash memory is 128 kB, paired with 8 kB SRAM. The analog subsystem consists of dual-channel ADCs, namely two integrated low-noise 24-bit Σ-Δ ADCs. Register configuration supports 6 differential inputs or 12 single-ended/pseudo-differential inputs. Two on-chip low-noise programmable gain amplifiers (PGAs) enable direct sampling of tiny input signals. Both ADCs support full-differential and single-ended operating modes. The main signal channel is composed of PGA and 24-bit ADC, and the auxiliary temperature measurement channel consists of an integrated temperature sensor and another 24-bit ADC, realizing high-precision collection of sensor signals and temperature data. Additional on-chip ADC functions include dual-channel programmable excitation current sources, thermocouple common-mode bias voltage generation, integrated temperature sensors, open-wire detection, power supply monitoring, DAC output detection and other functions. The LH32M0G3XX integrates abundant on-chip peripherals configurable by MCU software according to application requirements: Serial communication controllers: 2 × UART, 1 × I2C, 2 × SPI Up to 21 GPIO pins 1 enhanced multi-function IO port configurable to implement multiple communication protocols Timer resources: 2 basic timers, 2 general-purpose timers, 2 low-power timers, wakeup timer, system watchdog timer The LH32M0G3XX is designed for low-power applications. Under typical test conditions: main clock set to 2 MHz, CPU and memory active, both ADCs enabled with a sampling rate of 25 SPS, PGA gain set to 8, one UART port enabled to transmit dual-channel ADC data at 2400 baud; the total system current is approximately 1.3 mA. Multiple low-power operating modes can be configured through direct register programming. In deep sleep mode, the power consumption is controlled at roughly 6 μA, with the CPU and SRAM data retained. Peripherals such as external interrupts, internal RTC and low-power timers can wake the device from deep sleep. This mode allows the device to run with ultra-low power consumption while responding to external asynchronous events and periodic internal events. Multiple ADC channels can be enabled simultaneously. Combined with the on-chip DMA controller, the LH32M0G3XX performs conversion and configuration switching sequentially on each enabled channel in the configured order, simplifying communication with host devices. Some channels feature analog input measurement or diagnostic functions such as power supply inspection and LOOPN pin detection, which allows alternating execution of diagnostic detection and signal conversion. Each channel supports independent configuration, including gain, filter type, output data rate and other parameters. The LH32M0G3XX integrates rich on-chip diagnostic functions, including watchdog timer, cyclic redundancy check (CRC), PWM output shutdown, self-inspection of clock circuits, memory and analog circuits, to provide more robust system solutions. Built-in diagnostics reduce the number of external components required for detection, saving PCB space, shortening design cycles and lowering costs. In accordance with IEC61508, FMEDA analysis for typical applications verifies that the Safe Failure Fraction (SFF) is greater than 90%. Factory pre-programmed on-chip firmware supports in-system programming via the 2-pin SWD serial wire debug interface or customized dedicated serial interfaces. Analog supply voltage: 2.5 V ~ 5.5 V Digital supply voltage: 2.5 V ~ 5.5 V Operating temperature range: −40 °C ~ +125 °C Package options: 32-pin QFN, 40-pin QFN, 48-pin QFN
LH32M0G317

Product Features

• Core

— 32-bit ARM® Cortex®-M0+ processor, maximum frequency up to 32 MHz

— Enhanced security functions with vector remapping supported

— Supports SWD download and debugging

• Accelerators

— Enhanced DMA for memory access acceleration; 4-channel DMAMUX enables arbitrary mapping

— Performance-optimized hardware multiply-accumulate unit and division acceleration peripheral

— On-chip CRC peripheral with 32-bit polynomial

• Memory

— 128 kBytes Flash memory

— 8 kBytes SRAM

• Clock

— Internal 32 MHz high-speed RC oscillator (HRC), accuracy ±1%

— Internal 32 kHz low-speed RC oscillator (LRC), accuracy ±10%

— Supports external 32.768 kHz crystal oscillator

— Internal clock can be output to GPIO pins

— Independent power-off control for each peripheral clock

• Power Management

— Low-power modes: Sleep mode, NAP mode (ADC independent operation), Deep Sleep mode, Power-down mode

— Supports POR/PDR (Power-on Reset / Power-down Reset)

— Supports LVD low-voltage diagnosis monitoring

• 2-channel Sigma-delta (Σ-Δ) Analog-to-Digital Converters (ADC)

— Two optional 24-bit multi-channel SD ADCs

— Maximum 6 differential input channels or 12 single-ended input channels

— 4 internal channels for monitoring DAC, temperature sensor, IOVDD/5 and AVDD/5 (ADC1 only)

— Programmable ADC output rate: 2.5 Hz ~ 7.8125 kHz

— Synchronous 50 Hz / 60 Hz power frequency rejection

— Diagnostic functions: input short-circuit and open-circuit detection

— Built-in temperature sensor with ±3 °C accuracy

— PGA supported, gain range: 1 ~ 128

— Configurable flexible hardware trigger conversion and synchronous conversion

— DMA sequential conversion configuration to reduce CPU load

— Internal clock output function supported

— ADC supports monitoring of 4–20 mA current from DAC output

• 16-bit Digital-to-Analog Converter (DAC)

— Absolute voltage output: 1.2 V / 2.5 V / 5 V / AVDD

— Ratiometric voltage output: 0 V to AVDD

— Supports 4 mA ~ 20 mA transmission output

— Configurable PWM mode output

— Diagnosis and update protection functions supported

• On-chip low-temperature-drift reference voltage

— Selectable reference voltages: 1.262 V / 2.048 V / 2.5 V / 4.096 V

— Drive capability: 16 mA

— Typical temperature drift: 5 ppm/°C

• Excitation Current Source Output

— 2 programmable sensor excitation current sources

— Max output 1 mA, minimum 50 μA

• General-purpose Input/Output (I/O)

— Up to 21 pins, low-latency operation at full core frequency

• Internal Trigger Interconnection Unit

— 26 trigger input sources, 18 trigger output sources

— Simple logic operation implementation available

• Timers

— 2 general-purpose 16-bit multi-function timers with PWM support

— 2 low-power timers, support PWM and wake-up

— 2 16-bit basic timers for timing and triggering

— 1 24-bit SysTick timer

— 1 watchdog timer

— 1 real-time clock counter, supports wake-up and external crystal

• External Interrupt (EXTI)

— Up to 8 external pin interrupt sources for chip wake-up

— All GPIO pins can be mapped to external interrupts

• Communication Interfaces

— Up to 2 Serial Peripheral Interface (SPI)

— Up to 2 UART, one UART shares pins with SPI

— 1 I2C interface

— 1 OWI interface

— 1 enhanced multi-function IO group; extra SPI/I2C/UART/PWM interfaces can be configured from arbitrary GPIO pins

• Compliant with IEC61508 functional safety requirements

— Power supply monitoring, ADC open/short-circuit detection and self-diagnosis

— CPU core self-diagnosis, clock precision monitoring circuit, independent watchdog, PWM output shutdown, memory self-test function

— 128-bit Unique ID

• Serial Wire Debug (SWD)

• Operating Environment

— AVDD voltage: 2.5 to 5.5 V

— IOVDD voltage: 2.5 to 5.5 V

• Temperature Range

— -40 ℃ to 125 ℃

• Package

— QFN48 / QFN40

Application Scenario

• Temperature measurement

• Pressure measurement

• Industrial process control

• Instruments and meters

• Smart transmitters