Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: AM3359, AM3357, AM4377, AM4379, TPS65218
Tool/software: TI-RTOS
Hello TI team!
I have a custom board which similar to EVM_AM437x but some pins are rerouted and some functionality is removed to make it smaller (nothing is added). And I have to run EtherCAT slave on my custom board (I'm using EtherCAT slave example for IDK_AM437x).
So I decided to take existing pinmux configs for the IDK_AM437x and EVM_AM437x boards and to create my own made-to-measure configuration. But I lack some understanding of how to correctly configure pins. Here we go:
Now questions related to IDK_AM437x:
I'm running EtherCAT slave on the IDK_AM437x board and it is working just fine. So I assume the configuration is correct.
- Why EtherCAT is not enabled on the PRU but it actually works?
- Why I2C is not enabled at all but it actually works (I can read board ID from the EEPROM through I2C)
- Why no network card is defined in general?
- GPIO groups GPIO1 and GPIO4 are not mapped, but EtherCAT slave actually triggers AD23 pin which is located on GPIO4 and it works! Why?
/*PRUETH0_RESETn */
PhyResetInfo[0].pin = 20;
PhyResetInfo[0].baseAddr = SOC_GPIO4_REG;
Why does it work?
Now questions related to EVM_AM437x:
- Why EtherCAT is not described although the board listed as theoretically supporting EtherCAT (for unknown reasons there is no sample/demo project for EVM board!!!)
- Why I2C is defined here? It is different from IDK_AM437x
- Why no network cards are described?
- Why no PRU is described/defined? How it works in that case?
On my custom board pins T20, T21 and T22 are used to reset the NICs (not AD23 as for IDK_AM437x board OR Y23(?) for the EVM_437x board). But they are not working and it looks like the reason is because these pins are described as RX (read-only). Am I correct?
And the final very important question about EtherCAT slave demo (binary libs):
It is designed to work on IDK_AM437x (AM4379 CPU) - ethercat_slave_demo_AM437x_arm
Will it work on the board with AM4377 CPU? Theoretically these are the different processors and instructions can be different?
Documentation from the EtherCAT stack says it is possible: "PRU-ICSS EtherCAT firmware implements EtherCAT slave controller layer2 functionality and provides EtherCAT ASIC like functionality integrated into AM3357/AM3359/AM4377/AM4379 SOC with PRU-ICSS IP." But it is not clear if it is related to the source distribution only or to the binary also.
Any help will be very appreciated!!!



