Other Parts Discussed in Thread: TDA2
Tool/software: TI-RTOS
I am working on project using TDA2xx(X5777A7XGABC) in Custom board.
I am developing with vision sdk 03.06 & ndk_2_24_02_31 & nsp_gmacsw_4_16_00_00.
My system is as follows.
* TDA2 RGMII-0 <--> Another System
* TDA2 RGMII-1 <--> External Ethernet Switch(NXP SJA1105) <--> Port1/2/3/4/5
I rebuild nsp as dual emac mode. NSP is executed in a15(RTOS).
External Ethernet Switch don't have MDIO. It is seperately initialized by SPI. It is controlled correctly.
vision_sdk\links_fw\src\rtos\utils_common\ndk\ndk_nsp_hooks.c |
GMACSW_Config *GMACSW_getConfig(void) { ...... pGMACSWConfig->macInitCfg[i].mdioModeFlags = MDIO_MODEFLG_NOPHY; ...... pGMACSWConfig->macInitCfg[i].macConnectionType = MAC_CONNECTION_TYPE_RGMII_FORCE_100_FULL; ...... pGMACSWConfig->macInitCfg[i].phyMask = (uint32_t)((uint32_t)0x1 << (uint32_t)(0)); ...... } |
I sure that TXC(25Mhz)/RXC(25Mhz) each is output. I confirmed MAC Address in console log.
I assigned static IP Address.
[HOST ] MAC Port 0 Address: [HOST ] MAC Port 1 Address: [IPU1-0] 3097.101171 s: My IP address for interface 1 : 169.254.252.100 |
How do I modify RGMII-1? Please let me know if it's wrong or if there are additional edit points.