AMC 68VZ328 Frozen Dessert Maker User Manual


 
www.amctechcorp.com 63
Application Note 1
Using Digital I/O with dimmPCI Modules
D1
July 4, 2003 Version 0.4
Author: Bernice Lau
Introduction
For the purposes of direct digital I/O, there are a maximum of 27 general-purpose I/O lines leading from the
Motorola MC68VZ328 to the dimmPCI backplane. These lines also have dedicated functions, the LCD, EEPROM,
SPI, or ICE_DEBUG, so all lines may not be available, depending on the hardware and the options compiled into
the kernel. Digital I/O can be used on a dimmPCI module when in either the system slot or peripheral slot.
The I/O points can be accessed through a character device driver using standard system calls. Upon opening
the device on first use, the set of unreserved I/O points will be made available to the user. Pins that have been
reserved for their dedicated function will not be accessible. Configuration of the I/O points is achieved through
ioctl calls, after which reads and writes can be performed.
Requirements
dimmPCI passive backplane
NETdimm, or IOdimm, or CANdimm
SDK 2.05 or higher (2.0.38 or higher kernel source and filesystem)
sample programs in SDK, /opt/samples/user_code/dio
o even_parity.c
o xor.c