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