Receiving Ethernet Frames on S32K148

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

Receiving Ethernet Frames on S32K148

2,799 次查看
ozancs
Contributor I

Hi,

I'm trying to read some frames with S32K148 EVB (176 pins) coming from an Arduino board (working at 150 MHz) via media converter and TJA1101 daughter card. The demo application PHY TJA1101 in the SDK doesn't work as described in the application notes of the demo. The pre-integration of TJA110x driver is done as described in ADTJA1101-RMII User Guide. The Ethernet component is configured to have RMII mode for data interface and it's 100 Mbps full-duplex. Each frame will have 4672 Bytes on the payload. The Processor Expert Code is generated before flashing the MCU with these settings. However, I can't get more than 48 valid (nonzero) Bytes at a time and those 48 Bytes don't have the values I set at Arduino side. Within those 48 Bytes, I can sometimes see the IP that I set at Arduino side and sometimes the data payload (of course inconsistent). What could the issue be here? You can find my main function and Arduino code attached. Any help would be appreciated.

Cheers,

Ozan

0 项奖励
回复
4 回复数

2,558 次查看
vutran
NXP Employee
NXP Employee

Hi @ozancs ,

Do you still have this issue?

Regards,

Vu

0 项奖励
回复

2,724 次查看
cuongnguyenvan
NXP Employee
NXP Employee

Hello @ozancs 

Can you provide the configuration of your application?

 

Regards

Cuong

0 项奖励
回复

2,764 次查看
veronicavelciu
NXP Employee
NXP Employee

Hello,

 

Did you also update maximum frame length in the Processor Expert configuration?

 

Best regards,

Veronica

0 项奖励
回复

2,760 次查看
ozancs
Contributor I

Hi @veronicavelciu ,

Yes I have, I set it to max. data length + 18 Bytes as recommended.

Cheers,

Ozan

0 项奖励
回复