Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123597

Forum Post: RE: how can we read and write into EMIF?

$
0
0

Rakesh,

FYI, the SN74LVCH16245A is not a latch because it does not retain a pin's value after some latch condition is met. This device is a simple bus transceiver.

What is the 20 pin connector you are mentioning, if that is relevant to this discussion?

[quote user="Rakesh T"]Now I am getting the correct value in 'k' only when AWE pin of EMIF high because I am using SN74LVCH16245A latch and AWE is connected to DIR pin of the latch, GPIOs are connected to A side and ED are connected to B side of the latch. So when AWE is high, data from A to B of the latch taking Place.[/quote]

Every time you read OUTPUT in your program, the AWE signal from the EMIF will be high. So every time you assign the value from OUTPUT to the variable 'k', the value should be correct, from what you have said here.

If the value in 'k' is always correct, what is the problem that you are asking about?

[quote user="Rakesh T"]Is there any chance to manually enable the AWE pin other than connected to Vcc permanently?[/quote]

If you write to OUTPUT in your program, then AWE will pulse low during that operation. For example, use

OUTPUT = k;

What is connected to the OEn pin on the SN74LVCH16245A?

To understand the use of the EMIF, please refer to the C6000 EMIF Reference Guide, spru266. And the links that Titus referenced in his first reply.

Regards,
RandyP


Viewing all articles
Browse latest Browse all 123597

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>