Coprocessor

  • Thread starter Thorsten Kiefer
  • Start date
T

Thorsten Kiefer

Guest
Hi,
my can controller is attached to my microcontrolled over several pins.
I allready have procedures to access the registers of the can controller.
How do i realized memory mapped IO ??

Regards
Thorsten
 
On Feb 8, 8:09 am, Thorsten Kiefer <thorstenkie...@gmx.de> wrote:
Hi,
my can controller is attached to my microcontrolled over several pins.
I allready have procedures to access the registers of the can controller.
How do i realized memory mapped IO ??

Regards
Thorsten
Tell us the IC part numbers.

Most common microcontrollers don't support memory mapping of external
IO devices.

If your microcontroller supports external memory mapped IO then you
need to read the datasheet that describes exactly how it works.
You may need address decoding logic, that depends on the details of
the can controller. If the can controller only has a typical I2C style
interface
then making it memory mapped might require significant extra logic to
make it IO mapped and probably would not be a worthwile thing to do.

Bob
 
Infineon XC164CM-16ff and Bosch CC770.

I found out, that the CM-version has no external mem-controller.
But the CS-version has one. Bad luck for me ;)

Thanks, Bob


Bob wrote:

On Feb 8, 8:09 am, Thorsten Kiefer <thorstenkie...@gmx.de> wrote:
Hi,
my can controller is attached to my microcontrolled over several pins.
I allready have procedures to access the registers of the can controller.
How do i realized memory mapped IO ??

Regards
Thorsten

Tell us the IC part numbers.

Most common microcontrollers don't support memory mapping of external
IO devices.

If your microcontroller supports external memory mapped IO then you
need to read the datasheet that describes exactly how it works.
You may need address decoding logic, that depends on the details of
the can controller. If the can controller only has a typical I2C style
interface
then making it memory mapped might require significant extra logic to
make it IO mapped and probably would not be a worthwile thing to do.

Bob
 
On Fri, 08 Feb 2008 09:09:43 +0100, Thorsten Kiefer wrote:

my can controller is attached to my microcontrolled over several pins.
I allready have procedures to access the registers of the can controller.
How do i realized memory mapped IO ??
Treat your IO devices like memory locations.

Cheers!
Rich
 

Welcome to EDABoard.com

Sponsor

Back
Top