STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC + DMA Sometimes read Zeros

I am reading the data after sampling 2048 each 3 times.But is there a reason why sometimes the data is read as 0?​​The cube mx configuration and part of the code are as follows.​please help thank you

0693W00000Y8TlIQAV.jpg 0693W00000Y8Tl8QAF.jpg 0693W00000Y8Tl3QAF.jpg 0693W00000Y8TlcQAF.png
Mlee.3 by Associate
  • 377 Views
  • 1 replies
  • 0 kudos

Issue if tick rollover occurs while waiting for flash

I note in the post (from July 31, 2020 at 8:33 AM) entitled "FLASH_WaitForLastOperation CubeMx error" (here: https://community.st.com/s/question/0D53W00000EDrjiSAD/flashwaitforlastoperation-returns-error-in-stm32g070), that there is a mention of an e...

LKett.1 by Associate II
  • 1829 Views
  • 9 replies
  • 5 kudos

Finding the name of the USART handle

Hi. I am going through the STM32 Step by Step instructions, as well as going through the "Description of STM32F7 HAL and low-layer drivers" manual. I am using the STM32756-EVAL board so I have made some appropriate changes based on the pins and ports...

OIp.1 by Associate III
  • 2442 Views
  • 12 replies
  • 0 kudos

STM32H7 SPI2 unrealibe transmission of data

Hi everyone,A new issue has occur and have no idea as to why the transmission would be sometimes corrupt. I try sending the word "Hello World" as a test, however sometimes I would receieve the word but sometimes I would receivbe garage values that va...

0693W00000Y9GFGQA3.png 0693W00000Y9GFaQAN.png 0693W00000Y9GFfQAN.png 0693W00000Y9GFkQAN.png
CLeo.1 by Senior II
  • 487 Views
  • 0 replies
  • 0 kudos

hello i'm trying to make a project whit stm32f401ve and Digital Thermometer DS1621 using I2C protocol, and I have a problem whit i2c receive. here is my source code and photos of datasheet and simulation any help will be appreciated

 static const uint16_t TEMP_ADRESS = 0x48<<1; int main(void) { HAL_StatusTypeDef RETURN ; uint8_t buffer[1]; uint8_t buffer2[2]; uint16_t Val ; float temp_c ;   HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_I2C1_Init();   buffer[0]=0x...

0693W00000Y9DtmQAF.png 0693W00000Y9DvTQAV.png 0693W00000Y9DvnQAF.png 0693W00000Y9DvxQAF.png
SEKLAMIN by Associate II
  • 460 Views
  • 2 replies
  • 1 kudos

Resolved! QSPI nCS behavior on STM32H747

Hello,I am facing an issue with nCS pin of QSPI on STM32H747BIT.Reference manual indicates that SCLK is supposed to wait one period after nCS fall before starting operations :But I do not observe this wait on my board.*Yellow is the clock *Blue is th...

0693W00000Y9DHOQA3.png 0693W00000Y9DIlQAN.png 0693W00000Y9DIbQAN.png
BBute.1 by Associate II
  • 858 Views
  • 1 replies
  • 0 kudos