zephyr: STM32H750B-dk fails sdram test provided by zephyr

I am using stm32h750b-dk board and whenever I am running test code provided by zephyr in zephyr/tests/drivers/memc/ram the code passes for sram1 and sram2 but always fails for sdram2 even though the board has one sdram2. The test results are as follows

Please also mention any information which could help others to understand the problem you’re facing:

  • What target platform are you using? I am using STM32H750B-DK with VScode on wsl Ubuntu

  • …

To Reproduce Steps to reproduce the behavior:

  1. go to zephyr/tests/drivers/memc/ram
  2. Build and upload the code for stm32h750b-dk
  3. Check results
  4. It will failt for sdram2

Expected behavior After successful running of the test SDRAM should pass.

Logs and console output image

Environment (please complete the following information):

  • OS: WSL Ubuntu 22.04
  • Toolchain Zephyr SDK

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (8 by maintainers)

Most upvoted comments

Hi, I am using zephyr tests directly and I have not touched the clock settings. Even though can you guide me how to set the clock settings I will set them to what you have and then I can test again.

You can change the clock setting new properties in the &rcc node (bus clocks) or even the &pll configuration of the stm32h750b_dk.dts. Use the STM32CubeMX to help defining the right combination.

I’ll check the clock frequency and update on the same. Apart from that there are couple of boards that will be arriving soon so will test on them as well