It is currently 06 Feb 2012, 04:18





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
 Coprocessor 
Author Message
Post Coprocessor
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


17 Mar 2008, 15:30
Post Re: Coprocessor
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


17 Mar 2008, 15:30
Post Re: Coprocessor
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


17 Mar 2008, 15:30
Post Re: Coprocessor
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


17 Mar 2008, 15:30
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 5 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group, phpBB SEO.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.