This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RMII configuration in TMS570LS1227

Other Parts Discussed in Thread: HALCOGEN, DP83640

Hi,

I'm trying to run the example HALCoGen EMAC Driver with lwIP Demonstration but using the RMII. For this, I've placed a 50MHz oscillator connected to a DP83640. Besides, I've also changed the HALCoGen project. in the PINMUX tab I've enabled the RMII and in EMAC global I've disabled the MII mode. 

I can load the project without problems, but there's no repsonse. I've been following the value of txtIPAddrItoA to see if I can get the IP address, but this isn't generated. By running the code manually, I've seen that  the script jumps to the following condition:

if(NULL ==netif_add(&hdkNetIF[instNum], &ip_addr, &net_mask, &gw_addr, &instNum,hdkif_init, ip_input)) {return 0;};

 returns an error of initialization and the script stops. There's something else I have to do to configurate the RMII mode??

Thanks and regards,

David