Receiving Ethernet Frames on S32K148

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

Receiving Ethernet Frames on S32K148

2,684件の閲覧回数
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,443件の閲覧回数
vutran
NXP Employee
NXP Employee

Hi @ozancs ,

Do you still have this issue?

Regards,

Vu

0 件の賞賛
返信

2,609件の閲覧回数
cuongnguyenvan
NXP Employee
NXP Employee

Hello @ozancs 

Can you provide the configuration of your application?

 

Regards

Cuong

0 件の賞賛
返信

2,649件の閲覧回数
veronicavelciu
NXP Employee
NXP Employee

Hello,

 

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

 

Best regards,

Veronica

0 件の賞賛
返信

2,645件の閲覧回数
ozancs
Contributor I

Hi @veronicavelciu ,

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

Cheers,

Ozan

0 件の賞賛
返信