Hi
I have successfully run my Ethernet Driver on TWR-SER board for TWR-K70F120M but not working on TWR-SER2.
1. Is Ethernet Device in Single/Dual RMII mode is supported on TWR-SER2 board for TWR-K70F120M? According to this link, (Line: 241) it is not supported?
2. If supported, then is there any change in signal settings like (MDC, MDIO, CRS_DV, RXDn, RXErr, TXDn, TXEN and RMII_REF_CLK) as compared to TWR-SER board?
Regards
TWR-SER2 has dual RMII and also signle MII port (this is not part of the TWR-SER features), and just as Mark mentioned before there are certainly changes between both boards it means that you probably need to make some changes on the pins.
I suggest you to take a look and compare TWR-SER_Schematic VS TER-SER2_Schematic, below you will find a list of pins that have changed from SER to SER2 (is referenced on the J15A and J15B elevator connector of SER2 board), I hope you find it useful.
J15A
Pin | Related Change |
---|---|
B12-B15, B17-B20 | RMII & MII |
B55,B57,B59,B61,B65 | IRQ (missing connection in reference to TWR-SER) |
A57 | USB (missing connection in reference to TWR-SER) |
A43-A44 | ELE RX/TX (from SER) changed to UART RX/TX |
A35 | GPIO6 (from SER) changed to USB_VBUS |
A7-A8 | SDA0 and SCI0 signals has been removed (in reference to SER) |
A9 | ELE_CTC has been removed (in reference to SER) |
J15B
Pin | Related Change |
---|---|
D1,C1 | Has been connected to 5v power supply |
D3,D82,C82,C36,C3,C4 | Has been connected to 3.3v power supply |
D13,D15,D19-D25,C16,C19-C20 | RMII has been connected to these pins |
C21-C25,C10-C11 | ULPI has been connected to these pins |
C41-C48 | UART has been connected to these pins |
Have a nic day :P,
Perla
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
Ethernet is working on TWR-SER2 but there is a packet loss against PING Command (after random time). Did following pin muxing
PORTA_PCR12-17 = 0x00000400;
PORTB_PCR0 = 0x00000400 | PORT_PCR_ODE_MASK | PORT_PCR_PE_MASK | PORT_PCR_PS_MASK;
PORTB_PCR1 = 0x00000400;
And only enabled this clock
sim->SCGC2 |= SIM_SCGC2_ENET_MASK;
And there was no jumper on J8 and J9. Switch settings was 11000000 and 10100000
I have been looking for information but I am pretty sure that if your project works fine until you send PING command something weird should be happening, could you please share your project? I would like to reproduce the error.
Hi
The TWR-K70F120M can be used with "one" of the TWR-SER2 RMII connections. There are no connection difference so the same code can be used for configuring the required peripheral lines as used with TWR-SER board.
The PHY is of course different and there is no PHY interrupt available so it may be necessary to poll the PHY to get link state information.
Check also jumper settings on the TWR-SER2 according to the details in its user's manual.
Regards
Mark