libstock ETHERNET Library - RMII Alternate / Default signals

General discussion on mikroBasic PRO for PIC32.
Post Reply
Author
Message
phil31
Posts: 348
Joined: 02 Apr 2009 15:02
Location: France
Contact:

libstock ETHERNET Library - RMII Alternate / Default signals

#1 Post by phil31 » 06 Apr 2015 15:08

Dear all,

i plan to use the libstock Ethernet library with the LAN8720A PHY and PIC32MX664F128H.

there is 2 mode available for the RMII interface : Default or Alternate interface signals.

- Need i only select the right values in the FETHIO bit of DEVCFG3 register ?
- either interface signals works witht the ME library ?
- no advantage / disadantage to use standard or alternate interface ?

thanks for any advice, regards
Phil

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: libstock ETHERNET Library - RMII Alternate / Default sig

#2 Post by darko.minic » 07 Apr 2015 15:13

Hi Phil,

1. You should set right value of FETHIO bit, and change configuration bits in InitPHYPins() sub procedure.
You can set FETHIO bit in project settings (Ethernet I/O pin select), disabled is 0, enabled is 1.
2. Either interface signals should work with our library.
3. There is no advantages or disadvantages of using default or alternate interface signals.
With our MCU card we use alternate interface signals.

Regards,
Darko

Post Reply

Return to “mikroBasic PRO for PIC32 General”