Ethernet Internal loopback program

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ethernet Internal loopback program

1,085件の閲覧回数
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 件の賞賛
返信
5 返答(返信)

1,075件の閲覧回数
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 件の賞賛
返信

1,049件の閲覧回数
Vishnu6
Contributor I
How to transfer user defined data buffer.?
0 件の賞賛
返信

1,045件の閲覧回数
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 件の賞賛
返信

936件の閲覧回数
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 件の賞賛
返信

930件の閲覧回数
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 件の賞賛
返信