Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Cant get write puls from LPC2294

Cant get write puls from LPC2294

2005-01-25 by didier_edna

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

Re: Cant get write puls from LPC2294

2005-01-25 by didier_edna

OK, found the answer in message 5139.

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

Sorry to bother.

--- In lpc2000@yahoogroups.com, "didier_edna" <didier_edna@y...> wrote:
Show quoted textHide quoted text
> 
> 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

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.