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.
Tool/software:
Hello,
is there any option to connect a 100BASE-TX Ethernet with MACsec to the AM263P4 MCU?
I was only able to find partial information about this problem:
Any ideas on how to achieve this?
Hi Jiri,
- MACsec is listed under "CPSW0 Not Supported Features," but there is no information about MACsec support in the PRU-ICSS module.
Both CPSW and ICSS on AM263Px MCU do not have support for MAC Sec.
- TI does not offer any external MAC or switch with MACsec support. We found some devices from other companies (e.g., MaxLinear GPY115), but they require an SGMII interface, which is not supported on the AM263P4 (neither by CPSW nor PRU-ICSS).
One way could be software implementation (similar to how MbedTLS offers L4 security), integration of some stack at L2 for MACSec (3rd Party or Open source). This hasn't been internally evaluated so I cannot comment on the technical feasibility here.
Regards,
Shaunak
Also adding to Shaunak comments
we have TI PHY which support mac sec in the phy:
https://www.ti.com/product/DP83TC818S-Q1
this way you can have Mac sec in the network agnostic of the MAC
DP83TC818S-Q1 is not 100BASE-TX but 100BASE-T1.
It's fine for small cars, but our vehicles are a bit larger - too large for the T1 15m cable limit.
That's why we need TX, not T1.
Maybe we have found a solution, but it is not without problems.
We are thinking of using the DP83869HM as an RGMII-to-SGMII converter and the MaxLinear GPY115 as the MAC.
It is overengineered, but we don’t have many options to solve this situation.
However, it has a problem.
Can the CPSW on the AM263P4 be configured to accept undersized packets?
Jiri
Hi Jiri,
Apologies for a delayed response, it was a holiday on Friday in TI India.
Undersized Frames (frames shorter than 64B without any errors), will be forwarded to the host port if RX_CSF_EN bit in CPSW_PN_MAC_CONTROL_REG is set to 1h, but, CPSW will drop frames less than 33B in size.
For CPSW based applications, this can be enabled from example.syscfg, by checking the "Pad Short packets" checkbox.
Regards,
Shaunak