Posted by didier_edna January 25, 20052005-01-25

OK, found the answer in message 5139.

when sending an 8 bitter (a char) the write line is not used.

Sorry to bother.

--- In , "didier_edna" <didier_edna@y...> wrote:
>
> Hello anyone, or all,
>
> I'm playing with the LPC2294 ARM (from Phillips of course) and dont
> seem to be able to write data into the RAM space. A latch is located
> at offset 0x60000, on CS3.
>
> Here is what I do (extract from the main routine) :
>
> // Enable data and address bus, together with Rd, Wr and CS x pins
> __PINSEL2 = 0x0FE169EC;
>
> // Set CS 3 register of eexternal memory controller
> __EBI_CRS3 = 0x1000FBEF;
>
> // Write Some byte to the address located in CS3 range
> __DigOut = Some byte; > These are defined as :
>
> #define __PINSEL2 *(volatile unsigned long*)(0xE002C014)
>
> #define __EBI_CRS3 *(volatile unsigned long*)(0xFFE0000C)
>
> #define __DigOut *(volatile char*)(0x83060000) > On CS3 I get a nice negative puls, the data is vissible on the data
> bus, but the write stays high. Am I missing something obvious.
>
> If someone has a hint, welcome,
>
> Thanks,
>
> Didier



An Engineer's Guide to the LPC2100 Series

Posted by didier_edna January 25, 20052005-01-25

Hello anyone, or all,

I'm playing with the LPC2294 ARM (from Phillips of course) and dont
seem to be able to write data into the RAM space. A latch is located
at offset 0x60000, on CS3.

Here is what I do (extract from the main routine) :

// Enable data and address bus, together with Rd, Wr and CS x pins
__PINSEL2 = 0x0FE169EC;

// Set CS 3 register of eexternal memory controller
__EBI_CRS3 = 0x1000FBEF;

// Write Some byte to the address located in CS3 range
__DigOut = Some byte; These are defined as :

#define __PINSEL2 *(volatile unsigned long*)(0xE002C014)

#define __EBI_CRS3 *(volatile unsigned long*)(0xFFE0000C)

#define __DigOut *(volatile char*)(0x83060000) On CS3 I get a nice negative puls, the data is vissible on the data
bus, but the write stays high. Am I missing something obvious.

If someone has a hint, welcome,

Thanks,

Didier