This thread has been locked.

AM2434: Questions about modifying profinet_device_demo on AM243x-LP

Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG

Hello,

My name is Uie-Tae Lee, and I am an embedded firmware engineer at Autonics R&D Center in Korea.

I have some questions regarding modification of the PROFINET example.

Environment

  • SDK: ind_comms_sdk_am243x_2025_00_00_08
  • Example: profinet_device_demo
  • Board: AM243x-LP

I would like to modify the example for my custom PROFINET device, and I have the following questions:

  1. Changing the example from 2-port to 1-port
    The current example is configured as a 2-port device.
    I would like to use it as a 1-port device.
    • What needs to be changed in SysConfig and/or source code to support 1-port operation?
    • I tried changing PN_API_IOD_PDEV_NUM_OF_PORTS to 1, but this alone does not seem to be sufficient.
    • Are there any additional required changes in GSDML, board configuration, or driver/stack configuration?
  2. Increasing PN_API_IOD_NUM_OF_BYTES_PER_SUBSLOT
    I would like to support submodules with I/O sizes of:

    • 40 bytes
    • 264 bytes
    • 520 bytes
    • 1008 bytes

    For this, I considered increasing PN_API_IOD_NUM_OF_BYTES_PER_SUBSLOT to 1008.

    • Is it supported to increase this macro value in the example?
    • If not, what is the recommended way to support larger submodule I/O sizes in profinet_device_demo?
    • Are there any constraints in the stack/library generation that prevent changing this value?

Any guidance would be appreciated.

Best regards,

**Attention** This is a public forum