Other Parts Discussed in Thread: TMS320F28386D
Tool/software:
Hello,
I have connected a TMS320F28386D DSP to a DP83848 Ethernet board.
Currently, when I use the send_packet
command, I can see the packet in Wireshark, but the contents are incorrect and the packet is not recognized by external devices.
MDIO/MDC have been configured, but the link partner is not being detected, so I’m currently focusing on loopback testing.
I'm encountering issues with the PHY loopback test and would like to ask a few questions regarding the ethernet_ex2_phy_loopback
example provided by TI.
Q1. According to the TMS320F28386D datasheet, it includes internal oscillators named INTOSC1 and INTOSC2.
Also, it seems the X1 pin can be used as an external clock input, and currently, I have connected the X1 pin of the 28386D module to the OSCIN pin of the DP83848 module.
My question is:
-
Are there specific pins that must be connected in order to use INTOSC1 or INTOSC2?
Q2. Can the DSP (TMS320F28386D) provide a 50 MHz clock to the DP83848 module?
Or must an external oscillator be used to supply the clock to both devices separately?
(I'm currently using the following code:SysCtl_setEnetClk(SYSCTL_ENETCLKOUT_DIV_2, SYSCTL_SOURCE_SYSPLL);
)
Q3. The initInterfaceConfig.clockSel
setting is set to external
by default.
If the TMS320F28386D is capable of supplying the clock to the PHY, should this setting be changed to internal
?