Tool/software:
Hi Ti,
I am using CPSW2G and want to transmit and receive ethernet frames to and from external device, which is CANoe in my case.
I have a few questions which are as follows:
- I want to set transmit MTU for HOST Port (Port 0) to send data to CANoe, which CPSW register is needed for it?
My understanding: CPSW_TX_PRI0_MAXLEN_REG - I want to set reception MTU for HOST Port (Port 0) to receive data to CANoe, which CPSW register is needed for it?
My understanding: There is no register to set this because Host Port acts as a transmit engine to external device.
Athrough CPSW_P0_RX_MAXLEN_REG exists but this doesn't have any impact on setting of ethernet packets received from CANoe because this setting needs to be done with MAC Port. - I want to set transmit MTU for MAC Port (Port 1) to send data to CANoe, which CPSW register is needed for it?
My understanding: There is no register to set this because MAC Port acts as a receive engine tfrom the external device. - I want to set reception MTU for MAC Port (Port 1), to receive data to CANoe which CPSW register is needed for it?
My understanding: CPSW_PN_RX_MAXLEN_REG
Please correct me when I am wrong for the questions above based on my understanding.
Looking forward to your response.
Best Regards,
Hasan