STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hello everyone I'm a RT embedded engineer and I want to ask question about HardFault_Handler debug. I'm working on STM32G070RB, Can somebody have a good tequinqe how debug HardFault_Handler?

void HardFault_Handler(void){ /* USER CODE BEGIN HardFault_IRQn 0 */  __asm volatile  (    " tst lr, #4                        \n"    " ite eq                          \n"    " mrseq r0, msp                       \n"    " mrsne r0, psp               ...

gilramon by Associate II
  • 1265 Views
  • 8 replies
  • 0 kudos

libraries st7282 or configuration st7735 object

Good morning I have a tft st7282 with which I should view manually created images (pixel by pixel color for a thermal scanner) I would need the reference library to use functions such as FIll_Rect, Draw_line etc... where can I find it? currently I ha...

Icont.1 by Associate II
  • 390 Views
  • 0 replies
  • 0 kudos

__CC_ARM and __ARMCC_VERSION regarding __attribute__

In the example projects there is no dedicated __ARMCC_VERSION (ARM compiler V6).file: stm32_wpan_common.h, in the BleHeartRateRTOS example#if defined ( __CC_ARM ) #if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050U) //We never get here! ...

DS.4 by Senior II
  • 2618 Views
  • 0 replies
  • 0 kudos

Resolved! STM32F030 SPI1 enable bit (CR1->SPE) is not set to 1

Hi,I am trying to interface eeprom module with STM32F0308-Disco board using CUBE IDE - HAL library. SPI communication is not working properly, I am getting random values while trying to read the Eeprom ID.While debugging the code I found that the SPE...

0693W00000GXsxMQAT.png
SSala.3 by Associate III
  • 1133 Views
  • 3 replies
  • 0 kudos

Question about calculating i2c timing

I use stm32373c_eval board and I try to acquire and send test data by i2c communication.The max speed of usb-i2c i use is 400k and board i2c clock frequency is 72M.I downloaded the I2C_Timing_Configuration_V1.0.1.xls from st website.I try to configur...

0693W00000GXoyQQAT.png
KShen.1 by Associate II
  • 1403 Views
  • 5 replies
  • 0 kudos

Wake from standby not working. STM32H743IIT6

I have a custom board with an led on PD7 and Normally High push button on PI11. There is also a pushbutton set up on NRST. Device is a  STM32H743IIT6I can get the processor to go into standby okay. This is confirmed by the __HAL_PWR_GET_FLAG(PWR_FLAG...

FColl.1 by Associate III
  • 820 Views
  • 3 replies
  • 0 kudos

DRDY pin for HTS221 on B-U585I-IOT02A?

Having previously worked with the STM32L4S5 IOT board with an HTS221 on it, I'm familiar with the I2C interface and the HTS221's DRDY exti pin.In the reference manual for the STM32U585-based IOT board, though, there is a giant blank on the I/O line f...

0693W00000GYUd0QAH.png