19
EFM32 Series 0: Low Energy Sensor (LESENSE) Interface

EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

EFM32 Series 0: Low Energy Sensor (LESENSE) Interface

Page 2: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

2

Page 3: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE – Low Energy Sensor Interface

Analog eventsCapacitive, inductive or resistive sensors

3

Page 4: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE – Low Energy Sensor Interface

Analog eventsCapacitive, inductive or resistive sensors

Generic MCUWake-up periodically to detect the events

4

Page 5: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE – Low Energy Sensor Interface

Analog eventsCapacitive, inductive or resistive sensors

Generic MCUWake-up periodically to detect the events

EFM32 MCUWake-up only on the events

5

Page 6: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE – Low Energy Sensor Interface

EFM32 MCUConditional wake-up(e.g. on every 2nd event)

Analog eventsCapacitive, inductive or resistive sensors

Generic MCUWake-up periodically to detect the events

EFM32 MCUWake-up only on the events

6

Page 7: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE – Low Energy Sensor Interface

EFM32

ZZ

ZZ Z

• Autonomous sensing in Deep Sleep

• LESENSE with central control logic

• ACMP for sensor input

• DAC for reference generation

• Measure up to 16 sensors

• Inductive (LC)

• Capacitive (eg. capacitive buttons)

• General analog sensors (e.g. resistive)

• Programmable state machine

• 16 states, 4 input channels

• Can do quadrature decoding

•Interrupt/PRS on sensor events

7

Page 8: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE – Requirements & Interactions

CPU and Memory

Peripheral Reflex System

SecuritySerial Interfaces

Clock Management

I/O Ports Timers and Triggers Analog Modules

Energy Management

High Freq

Crystal Osc

High Freq

RC Osc

Low Freq

Crystal Osc

Low Freq

RC Osc

ARM Cortex-M3

processor

Voltage

Regulator

Voltage

Comparator

Power-on

Reset

Brown-out

Detector

USART UART

Low

Energy

UART

I2CGeneral

Purpose

I/O

External

Interrupt

Pin

Reset

ADC

LCD

Controller

Analog

Comparator

AES

Accelerator

Ultra Low Freq

RC Osc

Timer/

Counter

Low Energy

Timer

Backup

RTC

Pulse

Counter

Watchdog

Timer

Low Energy

Sensor IF

Memory

Protection

Unit

Operational

Amplifier

DAC

Auxiliary

RC Osc

External

Bus

Interface

USB

Embedded

Trace

Macrocell

Flash

Program

Memory

RAM

Memory

Debug

InterfaceDMA

ARM Cortex-M3

processor

Memory

Protection

Unit

TFT

Driver

Auxiliary

RC Osc

Back-up

Power

Domain

Real Time

Counter

GPIO

Wake-up

32-bit bus

Available down to: EM1

(Sleep)

EM0

(Run Mode)EM2

(Deep Sleep)

EM3

(Stop Mode)

EM4

(Shutoff Mode)

8

Page 9: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

Capacitive Measurement

Z z Z

LESENSE300

412

<

Compare

Counter

ACMP

<CPUInterrupt!

240

9

Page 10: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

Resistive/General Measurement

EFM32

Sensor

Power supply

Output

CPU

Z z Z

LESENSE

Excitation

Input

SampleSampleSample

ACMP

-

+

..101..

PRS

11

Page 11: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE Inductive Measurement

Metal

No metal

EFM32

ACMP0_CH0

DAC0_OUT0

Fixed at Vdd/2

13

Page 12: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE Inductive Measurement – Timing

• LESENSE scans all the

enabled channels at a

configurable frequency.

Analog Comparator and DAC Enabled

Sampling Window

EFM32

ACMP0_CH0

DAC0_OUT0

LESENSE10

<

6

Acmp and DAC on

Excitation (pull CH0 pin low) High-Z inputHi-Z

Acmp gated to counter

14

Page 13: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

Feel the flow!!

LESENSE

Pulse Counter

011011

Flow

EFM32

000CH1

CH0

001002003004005006007008009010011

CPU

Compare

Count

Interrupt!!Z z

Z

16

Page 14: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

State Machine - Slide to Wake up!

LESENSE

2 3 4

5

ACMPCPU

Z z Z

EFM32

1

2 3 4

5Decoder

Interrupt!

Count & Compare

CPU

• Autonomous Gesture Detection

• Up to 16 Different States

• Output to PRS or Interrupt

17

Page 15: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

Slide to Wake up!

LESENSE

2 3 4

5

ACMPCPU

Z z Z

EFM32

1

2 3

Decoder

Count & Compare

• What happens on incomplete

gesture ??

18

Page 16: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE – Statemachine / Decoder

Next State Alternative A

Decision Block

CurrentState

Next State Alternative A

Next State Alternative B

Decision Block

Input

PRS Output Interrupt

Next State Alternative A

Next State Alternative B

Decision Block

Next State Alternative A

Next State Alternative B

Decision Block

Input

• Up to 16 states.

• 4 Inputs from scan-result or PRS.

• 2 configurable next states per transition.

• 3 output action signals on state transition.

• Interrupt on state transition.

• One transition per scan-sequence.

19

Page 17: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

LESENSE Overview

20

Page 18: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

Measurement Timing

21

Page 19: EFM32 Series 0: Low Energy Sensor (LESENSE) InterfaceACMP-+..101.. PRS 11. LESENSE Inductive Measurement Metal No metal EFM32 ACMP0_CH0 DAC0_OUT0 Fixed at Vdd/2 13. LESENSE Inductive

www.silabs.com/efm32