CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PSP ruminations

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kender_a
Guest







PSP ruminations
PostPosted: Sat Jan 03, 2004 5:27 pm     Reply with quote

Colleagues,

I'm designing a PC/104 motor controller (4 steppers + 2 brushless). The controller will be talking to a main CPU through an 8MHz 8 bit data bus (ISA). Since there are 6 motors, I'd like to connect 3 address lines to the PIC pins, and sample them in the ISR. So far such approach doesn't look feasible, because address lines will change their values by the time PIC can sample them. Is there a technique that allows sampling address lines by PIC?

Another question - what's the depth of the PSP's I/O buffers?

Thanks and Happy New Year!

Nick
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jan 03, 2004 11:25 pm     Reply with quote

Quote:
I'd like to connect 3 address lines to the PIC pins, and sample them in the ISR. So far such approach doesn't look feasible, because address lines will change their values by the time PIC can sample them. Is there a technique that allows sampling address lines by PIC?


I would use a GAL for this. But that requires a GAL programmer
which you probably don't have.

Do a web search on this: "isa bus" pic
Here's one approach:
http://www.nomad.ee/micros/isapic.html

To find more info, do other searches like this:
"isa bus" port decoder AEN
Those keywords get you this page:
http://www2.ece.wpi.edu/~fjlooft/isa/

Also, here is a link to an old post of mine that
tells how to get more info from PicList on interfacing
the ISA bus to the PSP port. Click on the link
in that post. Remember the password is: piclist
(Type it into both boxes).
http://www.pic-c.com/forum/old/messages/3898.html
kender_a
Guest







PostPosted: Sun Jan 04, 2004 12:56 am     Reply with quote

Hi,

Thanks for your answer! I was prepared to hear about programmable logic Smile. This was my second choice if there is no elegant PIC solution. Luckily, I have a Xilinx programmer. By the way is there a big difference between GAL and FPGA?

Nick
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jan 04, 2004 1:39 am     Reply with quote

Quote:
By the way is there a big difference between GAL and FPGA ?

The GAL is small and the FPGA is big.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group