AMC 68VZ328 Frozen Dessert Maker User Manual


 
www.amctechcorp.com 89
D4
Application Note 5
Using Analog and Digital I/O with the
IOdimm
June 30, 2003 Version 0.1
Author: Bernice Lau
Introduction
The IOdimm is designed to support dedicated analog and digital I/O. There are 8 analog inputs, 2 analog
outputs, 8 digital inputs and 4 digital outputs. All of these I/O channels are accessible from the dimmPCI
backplane. User-space programs interact with the I/O channels through a device driver using standard system
calls.
Requirements
dimmPCI passive backplane
IOdimm 2.0 or higher
SDK 2.05 or higher (2.0.38 or higher kernel source and filesystem)
sample programs in SDK /opt/samples/card_specific/iodimm
o fir.c
o xor_iodimm.c
o even_parity_iodimm.c
Kernel and Filesystem Configuration
The uClinux 2.0 kernel must have the IOdimm SPI option compiled for proper operation. These options will be
set using the kernel configuration
cd /opt/uClinux/linux
make menuconfig
Using this main menu, under Platform dependent setup the following options must be selected
SPI support for IOdimm
ADC MAX1203