Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22030

Re: Intel 8080 bus example for sending commands, data

$
0
0

Hi, thanks for replay.
I get new dsp board so i continiu my project..

By using some one else init finaly i get sending and receiving data without any odd behavior.

void Init_AMI(void)

{

     *pEPCTL &=~B3SD;

     *pSYSCTL |= MSEN; // Enables FLAG2 and 3 (IRQ2 and TIMEXP) as MS2 and 3

     *pAMICTL3 = ( AMIEN | BW16 | PKDIS | WS1 | HC2 | AMIFLSH | PREDIS);

   

}

and sending data like this:

    for(i=0; i<65536; i++)
    {
 
(*((volatile unsigned short *) 0xC000000)) =i;
    }

 

ok, still one thing is unclear for me. I know how to control AMI_RD, AMI_WD, but where i get RS pins (Data/command) ?, CS pin as far as i understand is memory select pin.

SRAM does not have Command/Data pin, so i should use address pin to create RS ?
like 0 address is Command, and 1 is data ?


Viewing all articles
Browse latest Browse all 22030

Trending Articles



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