cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help with RX ETH using HAL

User25
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
User25
Associate

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.

View solution in original post

1 REPLY 1
User25
Associate

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.