2024-03-04 02:41 AM
2024-03-04 05:41 AM
Is the code making it there? Perhaps it's getting stuck in MX_ETH_Init.
Usual advice here: debug the program, examine where the code is at, examine state of software state machines and registers if something isn't matching up. There's an answer in there somewhere.
adc_buf should be volatile, probably isn't the issue here.
No mention of board hardware or chip name. Presumably the chip is in the IOC file.
2024-03-04 06:16 AM
Thank you for the reply. The board i'm using is the nucleo-H723ZG.
I can't understand why it's getting stuck in MX_ETH.
I will try to change into a volatile buffer and see what happen.
2024-03-04 06:29 AM
Do you have an ethernet cable plugged in with an active connection at the other end? If not, MX_ETH_Init will hang. Disable the ethernet peripheral if you aren't using ethernet.
2024-03-05 01:19 AM