Other Parts Discussed in Thread: DP83869, SYSCONFIG,
Tool/software:
Hi all,
I'm currently using AM4232 ALX MCU with DP83822 PHY for EtherCAT Communication.
SDK used - ind_comms_sdk_am243x_09_02_00_08 -> ethercat_slave_demo
Test Setup,
Added CUST_PHY_DP83822.c
In Code, I've integrated CUST_PHY_DP83822.c with CUST_PHY_Dp83869.c
Phy got detected and configured based on IEEE IDENT
Log: (While taking the log Port 2 is connected with PC TwinCAT)
Local Implementation
Pruicss max =3 selected PRU:3
Did Map 0x30080000 len 0x2000 to 0x30080000 (dram0)
Did Map 0x30082000 len 0x2000 to 0x30082000 (dram1)
Did Map 0x300b4000 len 0x4000 to 0x300b4000 (iram0)
Did Map 0x300b8000 len 0x4000 to 0x300b8000 (iram1)
Did Map 0x30090000 len 0x10000 to 0x30090000 (shdram)
Did Map 0x300a2000 len 0x400 to 0x300a2000 (control0)
Did Map 0x300a4000 len 0x400 to 0x300a4000 (control1)
Did Map 0x300a0000 len 0x2000 to 0x300a0000 (intc)
Did Map 0x300a6000 len 0x2000 to 0x300a6000 (cfg)
Did Map 0x300a8000 len 0x2000 to 0x300a8000 (uart0)
Did Map 0x300ae000 len 0x2000 to 0x300ae000 (iep)
Did Map 0x300b0000 len 0x2000 to 0x300b0000 (ecap0)
Did Map 0x300b2000 len 0x400 to 0x300b2000 (mii_rt)
Did Map 0x300b2000 len 0x1c00 to 0x300b2000 (mdio)
Phy Reset: 0.28
Phy Reset: 0.20
pRegPerm = 0x30082000, dram1=0x30082000, offset = 0x00000000, size = 0x00001400
PRU ESC: Rev 0690 | Bld 0514 | INTC base: 0x300a0000 , id = 0x4e82a900
INTC.HIDISR addr: 0x300a0038
TxPDO created 0x1A00: 0x701609f0
EC_SLV_APP_SS_populateDescriptionObjectValues:3430 PDO Out Len: 0xa0
Phy Reset: 0.28
Phy Reset: 0.20
Phy UnReset: 0.28
Phy UnReset: 0.20
Configure Phy bits: PhyAddr:3, LinPol:HIGH, PhyAddr:1, LinPol:HIGH, (0x0)
DP83822 detected
DP83822 detected
PRU_PHY_detect:185 Phy 1 alive
PRU_PHY_detect:185 Phy 3 alive
Phy 3 : Enable AutoMDIX
Phy 3 : Restart ANEG
Phy 3: BMSR post ANEG: 7849 ANEG:NComplete Link:No
Phy 1 : Enable AutoMDIX
Phy 1 : Restart ANEG
Phy 1: BMSR post ANEG: 786d ANEG:Complete Link:Yes
PHY Disable Magnetics
PHY Enable Magnetics
Device - e0000000h / 50000004h
****EC Slave*********************************************************
Numeric Version: 0x00020001
Source Id: <d1ef1d4bb48950f43f413c583128ca745fd7dca7>
****HWAL*************************************************************
Numeric Version: 0x00020001
Friendly Version: <KB HWAL v00.02.00.01>
Source Id: <bc8219a368952975ce823b0b8d3d9662d590bdd9>
****OSAL*************************************************************
Numeric Version: 0x00010201
Friendly Version: <KB OSAL v00.01.02.01>
Source Id: <e8e43e42ad9e606fd698b4b6d43b669ef7d05f16>
*********************************************************************
State change: 0x0 -> 0x1
SSC_checkTimer:MaxD:9039790 (9)
SSC_checkTimer:MaxET:81
SSC_checkTimer:MaxD:11999545 (11)
I'm able to configure the same setup as ICSS_TCPServer (Works fine)
While trying to connect with TwinCAT I got no devices.
Can you suggest anything to check on firmware.
Regards,
D.Jenita