Thread: CPLD + CAN bus
View Single Post
  #4 (permalink)  
Old 11-29-2004, 11:11 AM
Jim Granville
Guest
 
Posts: n/a
Default Re: CPLD + CAN bus

Falk Salewski wrote:
> Thank you very much for your reply.
>
> However what I am looking for is how difficult is it to connect a CPLD to a
> CAN-controller chip like the SJA1000
> http://www-eu3.semiconductors.com/pip/SJA1000.html
> and how many of the CPLD resources it takes to initialize/communicate with
> this CAN-controller.


You'll need to setup the registers [either a rom in the CPLD, or
a Serial EE holding the init values, to BUS], and then be able to poll
messages, and manage TX packets (which come from where ?).

All of these are not CPLD-centric tasks, so why not use a small uC
instead - or even better, choose a uC with CAN on chip ?
If you have the XC2C256 there already, needing > 128 MC for other
tasks, then you could use a small portion, for SPI-SJA1000 bridge, and
then use a small SPI uC for the CAN manager/init.
Philips LPC9xx or Silicon Labs C8051F33x series would do this, in tiny
11-20pin packages.
-jg


Reply With Quote