Ethernet Internal loopback program

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Ethernet Internal loopback program

1,631 次查看
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,621 次查看
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,595 次查看
Vishnu6
Contributor I
How to transfer user defined data buffer.?
0 项奖励
回复

1,591 次查看
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 项奖励
回复

1,482 次查看
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 项奖励
回复

1,476 次查看
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 项奖励
回复