Hi all,
I encountered a problem while testing S32G399 GMAC0 internal loopback on M7.
First of all, I imported the example project Gmac_Ip_InternalLoopback_S32G399A_M7 and ran the test on our goldbox S32G-VNP-RDB3, the loopback worked.
Next step, I modified my own project - added Gmac module into the driver and did the same config according to the example project, copy paste the example code into my own code and tested the same functionality on our custom board.
Every time, the status was stuck in GMAC_STATUS_RX_QUEUE_EMPTY. It seemed like GMAC0 couldn't get anything from the RxBuffer. The only extra thing I did in my code is that I used GMAC0 SMI interface to start the PHY(TJA1103 100Base-T1), or G3 couldn't get the RXC, because TJA1103 is pin strapped in a non-autonomouse mode.
I am assuming as long as G3 can power on properly, RXC and TXC are present, the internal loopback functionlaity should work. I also used the scope to check that TXC/RXC were indeed present and their frequency were both 25MHz.
Is there any other reason that can cause this issue?
My IDE version is 3.5.10, RTD4.0.2.