AnsweredAssumed Answered

ADSP21369 connecting the net Modular of the W5100 with Parallel mode has some problem?

Question asked by jett on Mar 9, 2012
Latest reply on Mar 26, 2012 by Mitesh

hi all

      i send command to the Initialize the W5100, but it seems it is not right .

      the ADSP21369  DATA 0-7     connect    W5100 DATA0-7         

      the ADSP21369  A 0-14          connect   W5100 A0-14    

      the ADSP21369    RD,WR    connect   W5100RD,WR

                                  MSO         connect   W5100CS

 

*pSYSCTL |=EPDATA8|MSEN;


*pEPCTL =     0xf0;

*pAMICTL0 = ( PKDIS  | AMIEN | BW8 | WS31 | HC1 | HC2 | RHC1 | RHC2 | IC7);

 

void IINCHIP_WRITE(unsigned int address,unsigned char data)

{

 

     int  *p_data,temp=0;

 

    p_data=0x00F00000;    //

    temp=*p_data;

    p_data=0x00F00000+address;//

    *((volatile unsigned char*)(p_data)) = data;

    Delay(50);

    p_data=0x00Ffffff;    //

    *p_data=temp;

 

//    return 1;

}

 

hope someone give me some advice'!

thanks

jett

Outcomes