STM32H563 MQTT Client failed interface status check
Hello!
I am facing a problem with the STM32H563VIT6 trying to set up MQTT client. I tried to take STM32H573I-DK\Applications\NetXDuo\Nx_MQTT_Client example as a base example on how to do it, but it has not worked for me. The problem I am facing is that no IP can be acquired and thus the MQTT client will not work. I have set up everything correctly in the netxduo header file (DNS, MQTT broker name).
What I am trying to achieve right now is to have the board send simple MQTT packets to my computer (like in the STM32H573I exmaple). The board is connected to the router.
I tested a simple MQTT packet sending by doing it from my phone to my computer. Also, connected my phone to the router via an Ethernet cable, and with using the Wi-Fi. In both times, the test was successful, so from that it seems that the problem cannot be in my computer or in the router.
When debugging the program the error I receive is from the App_Link_Thread_Entry. Getting this error after calling nx_ip_interface_status_check -> 0x43 - NX_NOT_SUCCESSFUL.
What I have tried in hopes of fixing it:
- Change Ethernet cables.
- Create my own DHCP server on my computer and connect the board via Ethernet cable to my computer.
- Lower the clock speed for the ETH interface (250MHz, 125MHz, 64MHz).
As of right now, I am out of ideas about what to do next. Any help would be greatly appreciated!
