I/O Resource Summary; Channel/Resource Routing - Kauai Labs VMX-pi Reference Manual

Hide thumbs Also See for VMX-pi:
Table of Contents

Advertisement

VMX-pi Hardware Reference Manual (version 1.10)

I/O Resource Summary

Each VMX-pi channel can be used for multiple functions. This flexibility functionality is provided by a set
of I/O Resources. Each VMX-pi channel may be routed (under software control) to different I/O
resources, depending upon the VMX-pi application requirements.
Type
Digital Input
Digital Output
PWM Generator
PWM Capture
Interrupt
Accumulator
Analog Trigger
UART
SPI
I2C
Table 3 VMX-pi Resource Summary
Many I/O Resource Types support a single I/O Channel; certain Resource Types may support more than
1 channel (e.g., a Quadrature Encoder Resource supports two I/O Channels, one for the A signal and
another for the B signal).

Channel/Resource Routing

To use an I/O Resource, one or more I/O Channels must be routed to the resource. Each I/O Channel
Type may be routed to the following I/O Resources:
Type
DIO/
Encoder PWM
PWM
# Chan
1
2
per
Resource
FlexDIO
Yes
Yes
HiCurrDIO
Yes
Description
Detects current signal digital level
(high/low)
Transmits current signal digital level
(high/low)
Transmits periodic pulses with
configurable period and pulse-width
Measures pulse with (frequency and duty
cycle) of periodic pulses
Generates Interrupts on selected signal
edge transitions
Performs Oversampling/Averaging on an
Analog Input
Generates Interrupts on analog input
high/low level transitions
TX/RX line data transceiver
CLK/MOSI/MISO/CS line data transceiver
SCL/SDA line data transceiver
Interrupt Accumulator Analog
Capture
1
1
Yes
Yes
Yes
Typical Use
Reading state of a button
Triggering a Relay
Controlling a motor or servo
Reading current pulse width
from servo controller
Counting "ticks" of an ultrasonic
distance sensor
Noise-removal and resolution
enhancement on inputs from an
analog potentiometer
Counting "ticks" of an analog
sensor input
Communication with an
external GPS
Communication with an
external IMU sensor
Communication with an
external LIDAR sensor
Trigger
1
1
10
UART SPI
I2C
2
4
2

Advertisement

Table of Contents
loading

Table of Contents