STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Reading Vcc at ADC

Hello I need to read the voltage where I connected ADC to the voltage divider. I have a code of ATmega where I need it to convert to HAL code. Can you please suggest me how?here's the code:void readVcc(byte ATR[]) {    ADCSRA |= _BV(ADSC); // Convert...

RWagh.2 by Associate II
  • 1098 Views
  • 2 replies
  • 0 kudos

OLED pixels (H & W) Issue

Hi,I am using STM32F303CBT6 MCU and WEO004864AWPP3N00000 OLED.Problem :Imagine, the black color shape is an actual OLED display, If I am showing something in the display. It is shown in the red color shapes. Once I scroll the display, only I can see ...

0693W00000WJrhJQAT.png

Resolved! STM32H743, ADC_CAL flag is not cleared

Hello.I try to use ADC with STM32H743II. The problem is that the calibration flag is not reset.//ADC1 RCC->AHB1ENR |= RCC_AHB1ENR_ADC12EN;   //Exit DEEP Sleep ADC1->CR = 0; while(ADC1->CR != 0) { ADC1->CR = 0; };   //Enable LDO ADC1->CR = ADC_CR_A...

4bit SDIO not working, but 1bit SDIO working fine.

I use CMSIS to write program that transfer data from SD card through SDIO. For my task i need 4bit mode, but it isn't working. When i try to read some block from SD card STBITERR bit in SDIO_STA register goes high, that means that start bit hasn't be...

LPlyu.1 by Associate
  • 1411 Views
  • 3 replies
  • 0 kudos