STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L4 RTOS SDCard doesn`t work

Hi, I have custom HW with STM32L496RGTx. On board I have SD card slot. I tried HW with CubeMX. Setted SDMMC1 to Mode: SD 1, SD DMA - SDMMC1 and divider to 24. In code I wroted: FATFS SDFatFs; /* File system object for SD card logical drive */ char S...

lorant124 by Associate III
  • 336 Views
  • 1 replies
  • 0 kudos

Weird characters on I2C 16x2 LCD

Greetings to all.I'm Following some online courses to learn to program STM32. I have a very weird behavior of my board that gives me not few headaches. After reviewing, changing, testing my codes for 2 days i found a way to get my program running cor...

VForm by Associate II
  • 1761 Views
  • 2 replies
  • 0 kudos

Resolved! an IAR message

hiI work with IAR application (Ver:8.4) for debugging and programming. Sometimes when I am in debug mode and I try to break and reset micro via iar tool bar, I encounter this message and I am not able to break and I have to reprogram. Could you pleas...

0693W000006HK8DQAW.jpg
MSm by Associate II
  • 618 Views
  • 2 replies
  • 0 kudos

Hi, I'm new to STM32L4. I'm trying to connect an ADI evaluation board to my STEVAL-STWIN through SPI2. I had to adapt the different functions to the HAL library.

I am trying to read the register of the chip_id, but the function returns a nDevId that is probably wrong. I set STG3692 switch to obtain SPI configuration and I introduce a GPIO_PIN to configure CS. What could be wrong? below the basicsteps of the c...

GLoiz.1 by Associate
  • 222 Views
  • 0 replies
  • 0 kudos

Resolved! STM32F302R8 TImer 6 Clock Speed / Time BAse

HI,So I cannot seem to get the time base that I expect out of Timer 6. I have got timer working wiht the right freqnecy however I cannot seem to get timer 6 to work at the expected freqency. It seems to be running twice as fast to what I set it to.I ...

glenn0010 by Associate III
  • 895 Views
  • 6 replies
  • 0 kudos

I2C repeated start condition to read BME280 problem

Hi,Device: STM32F103C8T6Driver: LL (low layer)It's been days I have struggle reading BME280 which is connected with i2c to my mcu. After configuration, I'm trying to read registers with standard reading procedure as following:Generate Start condition...

0693W000006HJUXQA4.bmp 0693W000006HJUmQAO.bmp
IDavo.1 by Associate II
  • 225 Views
  • 0 replies
  • 0 kudos

ADC to DAC problem

Hi guys, I have a problem with ADC conversion I would say. I put sine wave on ADC input and then I just transfer the value to DAC register, but the negative half of the sine wave is clipped. The code is just this ( Inside HAL_ADC_ConvCpltCallback):DA...

0693W000006HJO0QAO.jpg 0693W000006HJNvQAO.jpg
binarybee by Associate III
  • 366 Views
  • 1 replies
  • 0 kudos

There seems to be a difference between the system clock immediately after the firmware update and the system clock after the reset (or after power off->on).

Hello. I am using stm32f765 series mcu with iar compiler. A strange thing was caught during development and I left an inquiry.The problem I'm facing seems to be the difference between the system clock right after the firmware is uploaded and the syst...

YKim.5 by Associate
  • 448 Views
  • 2 replies
  • 0 kudos