Jan Kedzierski

How to configure Chip Select MPC555?

Discussion created by Jan Kedzierski on May 19, 2008
Latest reply on May 20, 2008 by Jan Kedzierski
Hello

I've got a problem with configure USIU in MPC555. I'm using Phytec phyCORE-MPC555 module. There are two free chip selects (CS2, CS3). I'd like use one.
My configuration is following:

    USIU.BR2.B.BA=0x0200;
    USIU.BR2.B.PS=1;
    USIU.BR2.B.V=1;
    USIU.OR2.B.AM=0xff00;

and i try read from addres:

#define TEST (*(volatile unsigned char *)( 0x02000000))

tmp=TEST;

Unfortunately it doesn't work. Codewarrior show message box (Check Mashine Exception 0x200) when I try read this addres.
Thank you for Your help. I'm using this module in my final thesis. Could You send me any example how to configure chip select?
 

Outcomes