cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750VBT6 Potentially Bug in the IDE or Live Expression

zahrayudha
Associate

I'm using the latest of STM32CubeIDE. to program my STM32H750VBT6 created by WeACT. I've created very simple program that consist of I2C from DS3231 RTC and simple counting with the code below

 

HAL_GPIO_TogglePin(GPIOE, GPIO_PIN_3);

statusrtc = HAL_I2C_Mem_Read(&hi2c2, DS3231_ADDRESS, 0x00, 1, get_time, 7, 1000);

HAL_Delay(500);

count1 = count1+3;

HAL_Delay(100);

 

The problem is, the count1 is not counting, but the count goes to statusrtc. I realize the statusrtc give the HAL status (like HAL_BUSY, HAL_TIMEOUT) after the counting is done (>256 because count1 is uint8_t). What actually going on with my device? Or it is the bug of STM32H7 in CubeIDE? 

 

zahrayudha_1-1762409931513.png

zahrayudha_2-1762410197459.png

 

 

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

Hello @zahrayudha ,

 

Let me thank you for posting and welcome to the ST Community.

Your request is under investigation, and I will get back to you ASAP.

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @zahrayudha ,

 

The same issue was already reported through this Post.

Make sure you select the same number format for both Expressions and Live Expression views to get an even presentation.

A solution for that problem was already published by @Makk :

Step 1) Close the Tab of the Live Expressions.

Step 2) Right Click on Project >> Select "Clean Project"

Step 3) Build and debug

Step 4) Select the "Live Expression" from the windows tab

 

Thanks.

Mahmoud

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.