cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with Azure Quick Connect on STM32U5: TrustZone Error, DNS Fail, and Invalid SPI

Hello ST Team,

I am currently working with the STM32U5 Discovery board (B-U585I-IOT02A) to connect to Azure IoT Central, and I’ve tried two different approaches. I'm facing two distinct issues in each method, as described below:

1. YouTube Method – TrustZone Issue

Reference: https://www.youtube.com/watch?v=BZn2PCvgL9s

  • The video references a specific GitHub repository for the Azure connection demo, but the repo is currently unavailable .

  • I proceeded using the latest available X-CUBE-AZURE package from the official ST GitHub.

  • When I run the project on my B-U585I-IOT02A board, I get the following runtime error: STM32U5_TrustZone_Disable

This seems to be a TrustZone configuration mismatch between the project and the board

2. ST Community Tutorial – DNS and SPI Errors

Reference: https://community.st.com/t5/stm32-mcus/how-to-quick-connect-stm32u5-to-azure-iot-central/ta-p/49685

  • I followed the ST community Quick Connect guide.

  • Wi-Fi connects successfully to my access point.

  • However, the board fails to resolve the Azure endpoint with the error:  DNS create fail

  • When I re-run the application, I receive:  Invalid SPI Type ef
    Request:

    1. What is the correct TrustZone setting required for the latest Azure Quick Connect examples?

    2. Could you share or restore the GitHub repo referenced in the YouTube video

    3. What could be causing the DNS create fail even after successful Wi-Fi connection?

    4. How can I properly reset or reinitialize the SPI interface to avoid Invalid SPI errors?

       

       

0 REPLIES 0