STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

LPUART does not work

Helloi am using STM32 NECLEO-L010RB here i use low power uart (LPUART) so i try to send string on the terminal but i get garbage on the terminal so please provide me some example code.Thanks.

SMask.1 by Associate II
  • 1505 Views
  • 7 replies
  • 0 kudos

Resolved! PB5 remap pin on STM32F103C8

The pin PB5 used by SPI1 in REMAP mode conflicts with the SMBAl pin of i2c1, how to configure it as the MOSI function of SPI1 on STM32F103C8?PB5 seems to be used as SMBA by default when we use SPI1(remap mode) and i2c1 at the same time. Even if I con...

0693W000000UZykQAG.jpg
FHui.1 by Associate II
  • 2583 Views
  • 9 replies
  • 0 kudos

Write and read block on eMMC with DMA

I am using a STM32F411 and I want to write and read blocks on an 8 GB eMMC. There is no problem with the command part towards the eMMC but when I try to write a block of data it looks like the DMA never starts to move data to the fifo. Is there an e...

UHans.1 by Associate
  • 661 Views
  • 0 replies
  • 0 kudos

Reading Acc. Values from lsm303dlhc (I2C)

I started a new project using CubeMX for my STM32F303-Discovery board and try to get the Acceleration values but without success!In my main.c, I do the following:i2cBuf[0]=0x20;//CTRL_REG1_A ODR = 1344HZ | Normal Mode | XZYeni2cBuf[1]=0x97;HAL_I2C_Ma...

Ala1980 by Associate II
  • 316 Views
  • 0 replies
  • 0 kudos

UsageFault Handler is not been called

Hi there,I am using the MCU STM32F103C8T6 and in my code I force an UsageFault condition but the UsageFault_Handler is not been called. I have enabled the USGFAULTENA bit in the SHCSR register, which enables the UsageFault. I envoked an UsageFault by...

ASele.1 by Associate
  • 437 Views
  • 0 replies
  • 0 kudos

Doubt on DMA Settings generated by IDE

Hi,I would like to use DMA request for USART1 RX and SPI1 RX. The AN4301 at section 4.3 states:Software sequence to enable DMAThe following software sequence applies when enabling DMA:Configure the suitable DMA stream.Enable the DMA stream used (set ...

simo zz by Senior
  • 321 Views
  • 0 replies
  • 0 kudos