Part Number: AM263P4-Q1
Other Parts Discussed in Thread: AM263P4, SYSCONFIG
I am using the AM263P4 LaunchPad with MCU+ SDK 10.02.15.
I am currently debugging the enet_layer2_cpsw_example and trying to configure the CPSW policer to filter frames based on a specific Source MAC address.
To achieve this, I used the function EnetApp_setCpswPolicer() function present in the l2_cpsw_cfg.c file.
I have configured it to accept frames only from a particular Source MAC address.
However, during testing, I am still receiving frames from different MAC addresses as well, not just from the configured source.
Could you please help me understand:
-
Whether any additional configuration is needed to make the policer work as a source-based filter?
-
If there are any known limitations or specific register settings required to ensure that only frames from the given MAC address are accepted?
Additionally, I find it difficult to understand the CPSW configuration structures and parameters used in the example. Because of this, it’s challenging to write my own simplified application that performs basic frame transmission and reception using CPSW.
If there are any simple examples or documentation that explain how to perform basic CPSW frame transmission and reception (without the complex configuration structures)?
Regards
Sravanthi R.




