Skip to main content
Associate III
March 28, 2025
Solved

Need resources for STM32H563ZI nucleo board

  • March 28, 2025
  • 2 replies
  • 546 views

I was recently working on STM32H563ZI nucleo board like connecting peripherals like LTE module, I2C sensors like MPU6050, LCD display, SPI modules like W25Q flash storage, USB  and some analog module like potentiometer. As per normal coding of individual  peripherals resources were available but for smooth integration of all the peripherals i was planning to use DMA for reducing the load for smooth operation. But i didn't get any clear documentation or resources of using GPDMA (present in STM32H563ZI)  for I2C, SPI and  UART. As i was planning to use FreeRTOS instead of Azure RTOS (ThreadX) because how to implement it as in this microcontroller there  is USBX which works on ThreadX. I followed the resources on Youtube from official STMicroelecronics channel, followed the same but the code was not working as expected.

I was going through reference manual the peripheral was USB, that means it can be used without  RTOS

I need help in resources for GPDMA for I2C,SPI and USART, USB with FreeRTOS or normal coding.

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,


@Shubham08 wrote:

I was going through reference manual the peripheral was USB, that means it can be used without  RTOS

 

 Indeed. You can use USB without RTOS unless you are using a specific stack USBX for example.

The resources available are:

The datasheet of the product, the reference manual of the product and the STM32CubeH5 package examples.

 


@Shubham08 wrote:

I need help in resources for GPDMA for I2C,SPI and USART, USB with FreeRTOS or normal coding.


RTOS is not part of the product so you can't find any resources/information or coding in the reference manual nor in the datasheet.

For examples without RTOS, you can refer to the STM32CubeH5 package (especially on STM32H563ZI nucleo board) on this link.

For USB: https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Applications/USBX

For SPI, I2C, UART etc:

https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Examples

Hope that helps.

2 replies

Andrew Neil
Super User
March 28, 2025

@Shubham08 wrote:

 i didn't get any clear documentation or resources of using GPDMA (present in STM32H563ZI)  for I2C, SPI and  UART. .


Those are internal features of the chip - they would not depend on the board.

So you need to look at the chip documentation:

https://www.st.com/en/microcontrollers-microprocessors/stm32h563zi.html#documentation

https://www.st.com/en/microcontrollers-microprocessors/stm32h563zi.html#tools-software 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
March 28, 2025

Hello,


@Shubham08 wrote:

I was going through reference manual the peripheral was USB, that means it can be used without  RTOS

 

 Indeed. You can use USB without RTOS unless you are using a specific stack USBX for example.

The resources available are:

The datasheet of the product, the reference manual of the product and the STM32CubeH5 package examples.

 


@Shubham08 wrote:

I need help in resources for GPDMA for I2C,SPI and USART, USB with FreeRTOS or normal coding.


RTOS is not part of the product so you can't find any resources/information or coding in the reference manual nor in the datasheet.

For examples without RTOS, you can refer to the STM32CubeH5 package (especially on STM32H563ZI nucleo board) on this link.

For USB: https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Applications/USBX

For SPI, I2C, UART etc:

https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Examples

Hope that helps.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.