Yahoo Groups archive

Lpc2000

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

Message

LPC2106 & CS8900A -- delay needed in Rd/Wr?

2005-10-16 by Michael Anburaj

Hi,

I have got the CS8900A talking to the LPC2106 in 8bit
mode. Strange things are happening

Without any delay (without additional delay added in
code) in the Rd & Wr cycles, repeated reads result in
random values.
Then I added delay to stretch the RD_low

RD_low
delay
Read_Data
RD_hi

With this I get consistent reads, but the bytes seem
to be swapped.

For instance, when read 0 (ProductID), read from Data0
== 0x63 & Data1 == 0x0e
yields 0x0e63, but it should have been 0x630e

Similarly I get 0xd000 when I read SelfST. With
different delay values I get 0x0000 for SelfST or
0x6363 for ProdID.

Can someone let me know what delays are required &
where, it will be great!

Thanks a lot,
-Mike.


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/

Attachments

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.