This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2431: ENET CPSW with DP83826

Part Number: AM2431
Other Parts Discussed in Thread: DP83826E

Tool/software:

Hi,

I build project based on enet_l2_multi_channel_am243x-evm_r5fss0-0_freertos_ti-arm-clang in SDK.

The PHY is using 83826 instead of 83869 in the demo.

The issue is that,

1. In the demo project, there is only configuration for 83822 not 83826. I added 83822 in gEnetPhyDrvs and I am not sure if it is OK.

2. For gEnetCpbBoard_am243x_evm_EthPort, I don't know the extended configuration for 83826, so I leave it empty.

3. I searched in the MCU_SDK, there is files named ethphy_dp83826e.c and ethphy_dp83826e.h. I wonder if there is demo for those files, since I only need to connect to the chip.

For the current project

The modified enet_custom_board_config.c

enet_custom_board_config.c
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
* Copyright (C) 2021 Texas Instruments Incorporated
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

System config

8154.example.zip

For ENET configuration

The log is as follows.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
==========================
L2 Multi-channel Test
==========================
Init all peripheral clocks
----------------------------------------------
Enabling clocks!
Create RX tasks
----------------------------------------------
cpsw-3g: Create RX task
Open all peripherals
----------------------------------------------
cpsw-3g: Open enet
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 2
Init all configs
----------------------------------------------
cpsw-3g: init config
cpsw-3g: Open port 2
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX