Re: Unexpected/shorter CS when interfacing LCD controller | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Thursday, 3. February 2005 11:17 am, frahmsen wrote:
> Hi,
> we also have a custom AT92RM9200 board with an Epson LCD- Controller, but
> at CS2. At CS5 we have some Binary I/O. We have no unexpected CS-strobes on
> either CSs.
> Ingolf
>
In AT91RM9200-Loader/include/AT91RM9200.h I found these two lines:
#define AT91C_EBI_CS4A_SMC ((unsigned int) 0x0 << 4) //
(EBI) Chip Select 4 is assigned to the Static Memory Controller and NCS4,NCS5
and NCS6 behave as defined by the SMC2.
#define AT91C_EBI_CS4A_SMC_CompactFlash ((unsigned int) 0x1 << 4) //
(EBI) Chip Select 4 is assigned to the Static Memory Controller and the
CompactFlash Logic is activated.
I couldn't find any other references to CS4. Could it be that I need to tell
the EBI to not use CF? What is the default when not set?
Do I need something like
AT91F_PIO_CfgPeriph(AT91C_BASE_PIOC,
AT91C_PC11_NCS5_CFCE1 | AT91C_PC12_NCS6_CFCE2,
0
);
to initialize the pins correctly? (On CS6 there is a 2x20 alpha LCD.)
--
Mike Wolfram
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
[Site Home] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]