cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750VBT6 Potentially Bug in the IDE or Live Expression

zahrayudha
Visitor

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

 

 

1 REPLY 1
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.