Application Note: General Purpose I/O for the CFV2-40

The General Purpose I/O board is an example of how to add custom hardware to the NetBurner CFV2-40 using the 60-pin interface connector. The schematics and software drivers can be used freely in your application.

The General Purpose I/O board has the following features:


Block Diagram

Schematics

Click here to view the schematics in PDF format.

If you need Adobe Acrobat Reader, follow this link:

Operation Details

Chip Selects and Memory Map

Chip Select 1 (*CS1) from the ColdFire 5206e is fed into a 3-to-8 line decoder to create 8 individual chip selects:

The smallest block of memory that can be assigned with the ColdFire is 64kb, so *CS1 will address a 64kb block. The 3-8 line decoder uses R/W, A3, and A4 to further subdivide the 64kb memory into 8 byte segments. If we say the base address of *CS1 is defined as IO_BASE (e.g. #define IO_BASE 0x50000000), the individual chips would be mapped in memory as follows:


A/D and D/A Operation

Please see the Maxim Semiconductor web site


Software Drivers

Click here to view example software drivers: View Drivers