AMC 68VZ328 software manual List of all available digital I/O pins

Page 67

Table 1: List of all available digital I/O pins

 

 

 

 

 

Backplane Header Pin

Pull-Up/ Pull-Down

Class

Circuit Name

Port

Bit

Backplane System Slot

Resistor

 

 

 

 

 

 

 

 

LCD

LCD0

Port C

0

A18

JP6, pin 9

Pull-Down

 

 

 

 

 

 

 

 

 

 

LCD1

Port C

1

B18

JP6, pin 10

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

LCD2

Port C

2

A17

JP6, pin 11

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

LCD3

Port C

3

B17

JP6, pin 12

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

LFRM

Port C

4

A15

JP6, pin 2

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

LLP

Port C

5

B15

JP6, pin 3

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

LCLK

Port C

6

A16

JP6, pin 4

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

LADC

Port C

7

B16

JP6, pin 1

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

LCONTRAST

Port F

0

A14

JP6, pin14

Pull-Up

 

 

 

 

 

 

 

 

 

 

EEPROM

EE MOSI

Port E

0

B13

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

EE MISO

Port E

1

B14

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

EE CLK

Port E

2

A13

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

SPI

SPI nINT0

Port D

5

A24

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

SPI nINT1

Port D

6

B23

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

SPI MOSI

Port J

0

B28

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

SPI MISO

Port J

1

A27

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

SPI CLK

Port J

2

A29

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

SPI nSS

Port J

3

B26

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

SPI nRDY

Port K

0

B27

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

SPI CS0

Port K

4

B24

 

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

SPI CS1

Port K

5

A25

 

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

SPI CS2

Port K

6

B25

 

Pull-Down

 

 

 

 

 

 

 

 

 

 

 

SPI CS3

Port K

7

A26

 

Pull-Down

 

 

 

 

 

 

 

 

 

 

ICE_DEBUG

EMU IRQ

Port G

2

B7

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

EMU PD

Port G

3

A7

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

EMU CS

Port G

4

B8

 

Pull-Up

 

 

 

 

 

 

 

 

 

 

 

EMU BRK

Port G

5

A8

J7, pin 1

Pull-Up

 

 

 

 

 

 

 

 

 

 

www.amctechcorp.com

67

Image 67
Contents DimmPCITM 68VZ328 Hardware / Software Manual Contact Information Copyright noticeDimmPCITM Software Development Kit NETdimm Developers Kit Quick Start Guide Etc/issue Page This page left intentionally blank Launching Linux at the embedded IntroductionPage System Requirements What’s on the CD?This page left intentionally blank Backplane FeaturesUC68VZ328 Embedded Microcontroller CPU ModuleCPU Module Description General DescriptionBackplane Description CPU Architecture ArchitectureSystem Memory MCU CoreMemory Map Memory Map MemoryLayout of the Flash and Flash Schematic Layout of the Flash Sdram Viewing the Ethernet MAC ID Ethernet ControllerNETdimm Ethernet Schematic IOdimm Digital I/ODigital Output Schematic Analog Output Schematic Analog Input Schematic Digital to Analog Converter Schematic Watchdog RS-232Highlights Usage LCD Interface LCD SchematicDimmPCITM signals for System Slot DimmPCITM Signal DescriptionsPCI Maximum Ratings Electrical CharacteristicsThis page left intentionally blank Before beginning Installing the dimmPCI TM SystemInstallation Builder KitConfiguring and compiling the µClinux kernel Customizing the filesystem Creating a ROM imageAccessing your dimmPCI development board via the serial port Static IP Accessing the NetworkDynamic IP Compiling your own source code Accessing your dimmPCI development board via telnetUsing NFS to streamline the development cycle Home directory/dimmpci/source Method Updating Applications on your dimmPCI moduleThis page left intentionally blank Loader Programming the uC68VZ328Oops Cd /opt/boottools/oops Oops -p /dev/ttyS0 -k kernel.bin Page Page This page left intentionally blank Sample Code AppendixClose the file afterwards fclose filehandle Page Longwatchdogid #include unistd.h #include stdio.h int main void This page left intentionally blank Journalling Flash File System Umount /usr Sbin/mkjffs /dev/flash0 Page This page left intentionally blank Development Tool Chains Normal Usage of the PIC-COFFTool Chain Page This page left intentionally blank Introduction D1 Application NoteKernel and Filesystem Configuration YES Kernel and Filesystem Configuration Flow ChartAvailable Digital I/O Pins List of all available digital I/O pins Dimmio structure description Programming StructureDigital I/O Functions Page In0 In1 In2 In3 In4 In5 In6 In7 Out0 Even Parity Sample ProgramsMknod io1 c 123 Page This page left intentionally blank Abstract D2 Application NoteRequirements Kernel ConfigurationAgain, from the main menu under Network device support Kernel Configuration Flow Chart AtCommandPrompt Filesystem Configuration Cd /opt/filesystem name make clean Make Modifications to ‘rc’ file Filesystem Configuration Flow ChartTesting Host machine ConfigurationPage This page left intentionally blank Application Note Using Multiple NETdimm ModulesInetd based Server & Client Simple Server & ClientPage This page left intentionally blank IOdimm Using Analog and Digital I/O withCd /opt Cp -Rpdx newfs iodimmmfs ADC MAX1203 Category Channel Backplane System Backplane Header Slot Pin Available I/O PinsDigital Inputs and Outputs Functions+ Κ Iodimm/dio Samples/cardspecific/iodimm/dio Page This page left intentionally blank Purpose & basic format of files for oops Using OopsUpload & Flash Download Upload & RunCommon oops program arguments Appendix This page left intentionally blank 104 DimmPCITM Software Development Kit Distribution Licensing, Copyrights & LiabilityPreamble 106 107 108 109 Appendix How to Apply These Terms to Your New Programs No Warranty111 112 113 This page left intentionally blank 114 References/ Suggested Reading