Re: CAN controllers



On 2007-06-29, Michael <nleahcim@xxxxxxxxx> wrote:
On Jun 29, 3:14 pm, Hans-Bernhard Bröker <HBBroe...@xxxxxxxxxxx>
wrote:
Michael wrote:
Hi there - on an upcoming project I will need to use a CAN controller.
I have previously used the Microchip MCP2515. What other CAN
controllers are there out there? All I know of is the NXP SJA1000. Any
opinions on advantages of one over the other?

By far the biggest advantage to be had is to use a CAN controller
integrated with a microcontroller, not as a separate chip. Stand-alone
CAN controllers will take considerable resources just to connect them to
the micro: read/write message box control and data registers, route
interrupts, do access control and all that. CAN itself is just two
wires taken care of by the CAN controller. A lot simpler.

I agree, for the most part. Though really the MCP2515 did not take all
that many cycles when I used it. It generates an interrupt when a
message is received. The ISR starts the DMA reading in the message.
The DMA generates an interrupt when it finishes.

I've also been told that that simply is not an option, as all of our
code is written for a very specific line of chips.

It's also not an option for cost sensitive applications. Using
a uC+MCP2515 was about half the cost of an equivalent uC with
integrated CAN.

I have to go with an external CAN controller.

I could have used an integrated one for another $5...

--
Grant Edwards grante Yow! Now we can become
at alcoholics!
visi.com
.



Relevant Pages

  • Re: Intel 8748/8749 PIC, compatible PICs available anywhere?
    ... Microchip just used it for their line of parts, ... Once I was asked if I can work with the PIC controllers made by AVR. ... Of course what they meant was Atmel AVR. ... somewhere deep in my 'Raider's of the Lost Arc' warehouse) and don't ...
    (comp.arch.embedded)
  • [PATCH] can: CAN_MCP251X should depend on HAS_DMA
    ... Driver for the Microchip MCP251x SPI CAN controllers. ...
    (Linux-Kernel)
  • Re: [PATCH] can: CAN_MCP251X should depend on HAS_DMA
    ... Driver for the Microchip MCP251x SPI CAN controllers. ...
    (Linux-Kernel)
  • Re: CAN controllers
    ... I have previously used the Microchip MCP2515. ... opinions on advantages of one over the other? ... By far the biggest advantage to be had is to use a CAN controller integrated with a microcontroller, ... Stand-alone CAN controllers will take considerable resources just to connect them to the micro: read/write message box control and data registers, route interrupts, do access control and all that. ...
    (comp.arch.embedded)
  • Re: [RFC] killing the NR_IRQS arrays.
    ... introduce an irq_nr(irq) to get the actual irq number for the places ... the linux "virtual" interrupt domain from the physical numbering domains ... catches interrupt packets and below that I have interrupt controllers ... That is a 16 entries irq_desc* array, so we can go from a legacy IRQ ...
    (Linux-Kernel)