GPIO Mod54415

Discussion to talk about software related topics only.
Post Reply
thetech
Posts: 1
Joined: Mon Apr 06, 2015 2:24 pm

GPIO Mod54415

Post by thetech »

I'm on a project that demands high performance so I've chosen this board, out runs anything I've used before.

I know how to do the below for individual pins that’s easy.

#include <pins.h>
J2[44].function(PINJ2_44_GPIO); // Configure pin J2-44 for GPIO
J2[44] = 1; // Drive pin as output

Using this how would I read or write several pins as a group ( char Data = ReadGPIO();) (WriteGPIO(0xF4))

Thanks
Randall
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: GPIO Mod54415

Post by rnixon »

The 54415 has a special set of gpio pins called RapidGpio. Take a look at the netburner examples, it shows the various performance modes and timing for pins class, C and assembly.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: GPIO Mod54415

Post by pbreed »

The easy to use GPIO class is not approriate for that.
Look at the earlier rapid GPIO app note, look at the GPIO section in the freescale manual.
Post Reply