Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

8 bit parallele port on at91sam7s64

Status
Not open for further replies.

naderus

Member level 1
Joined
Sep 7, 2004
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
213
if i want to make a 8 bit fast parrallel port in PIOA8 ~ PIO15 that
writing and reading data in one instraction like AVR,LPC200,TMS470 ...
how can i do that?
i know i must write in PIO_ODSR reg and for get access only in pin 8 ~15
must shift the data << 8 & OR it with PIO_ODSR reg but it take two more
instraction more than a simple write on 8 bit bus. is there any way to do
that like LPC2000.they have byte access to 32 bit port for getting up speed.


unsigned char data;

/*
...
...
...

*/


// writing on DAC that connect on pin 8 ~ 15
// one shift,getting a word from RAM,one OR
// totally about 3 instraction for simple
// write data in 8 bit bus that have every low performance

PIO_ODSR |= (unsigned int)(data << 8);
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top