Receiving Ethernet Frames on S32K148

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

Receiving Ethernet Frames on S32K148

2,926 Views
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 Kudos
Reply
4 Replies

2,685 Views
vutran
NXP Employee
NXP Employee

Hi @ozancs ,

Do you still have this issue?

Regards,

Vu

0 Kudos
Reply

2,851 Views
cuongnguyenvan
NXP Employee
NXP Employee

Hello @ozancs 

Can you provide the configuration of your application?

 

Regards

Cuong

0 Kudos
Reply

2,891 Views
veronicavelciu
NXP Employee
NXP Employee

Hello,

 

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

 

Best regards,

Veronica

0 Kudos
Reply

2,887 Views
ozancs
Contributor I

Hi @veronicavelciu ,

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

Cheers,

Ozan

0 Kudos
Reply