Ethernet Internal loopback program

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet Internal loopback program

1,091 Views
Vishnu7
Contributor I

For attached S32DS ethernet loop program we need data flow of Tx message and How read Rx message data using same RTD API. I have some other questions

1]since Tx message is register dependent or H/w dependent, we can able to modify data at software level?

2]If yes how to do it?

please give detailed explanation of above questions...

0 Kudos
Reply
5 Replies

1,081 Views
PavelL
NXP Employee
NXP Employee

Hello @Vishnu7 ,

please create a project from example related to your MCU. E.g. here's list of available internal loopback examples in RTD 4.0.0:

PavelL_0-1748499770479.png

If you look to GMAC_Ip_InternalLoopback_S32K344, to file main.c , you will see how to allocate TX/RX buffers and provide to the GMAC driver.

Best regards,

Pavel

0 Kudos
Reply

1,055 Views
Vishnu6
Contributor I
How to transfer user defined data buffer.?
0 Kudos
Reply

1,051 Views
PavelL
NXP Employee
NXP Employee

Hello @Vishnu6 ,

what RTD version do you use?

Do you want to use MCAL driver Eth_43_GMAC or low level driver GMAC_Ip ?

Sending the user defined data buffer by GMAC is very well seen in the internal loopback examples.

Best regards,

Pavel

0 Kudos
Reply

942 Views
Vishnu6
Contributor I
RTD Version I'm using is 5.00.
I want to send the data as below
typedef struct
{
uint32 Des0;
uint32 Des1;
uint32 Des2;
uint32 Des3;
uint32 Info0;
uint32 Info1;
uint32 Padding0;
uint32 Padding1;
} Gmac_Ip_BufferDescriptorType;

* @brief Send/Receive internal buffer descriptor
* @implements Gmac_Ip_BufferDescriptorType_structure
0 Kudos
Reply

936 Views
PavelL
NXP Employee
NXP Employee

Hello @Vishnu6 ,

please check out my last response in this thread Need information for GMAC descriptors. - NXP Community

Best regards,

Pavel

0 Kudos
Reply