2023-11-05 05:30 AM
Hi!!!
Need assist. 2 boards with stm32F439 (Nucleo boards) direct connect
1 board send packet (every 1 sec) using function:
HAL_ETH_Transmit(&heth, &txConfig, HAL_MAX_DELAY);
ok. packed succes captured and verified with WireShark, no errors.
Try receive this packet with 2nd board.
When i receive RX_COMPLETE Callback what i need to do?
I was try HAL_ETH_ReadData(heth,&ptp_frame_incoming);
But it filled 0x00 and after 4 frames (ETH_RX_DESC_CNT) i have ERROR_Callback with DMA errors;( with every next incoming frames.
Please help to receive frames from ethernet with HAL
Solved! Go to Solution.
2023-11-05 02:56 PM
Please close. Problem was found and fixed.
void MY_ETH_RxAllocCallback (uint8_t **buffer),
void MY_ETH_RxLinkCallback(void **pStart, void **pEnd, uint8_t *buff,uint16_t Length)
need process for data receiving.
2023-11-05 02:56 PM
Please close. Problem was found and fixed.
void MY_ETH_RxAllocCallback (uint8_t **buffer),
void MY_ETH_RxLinkCallback(void **pStart, void **pEnd, uint8_t *buff,uint16_t Length)
need process for data receiving.