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

Receiving data from L3GD20 gyroscope sensor via SPI

I'm trying to understand how SPI works on STM32. I use a STM32L472-discovery kit which includes a L3GD20 gyroscope sensor. On the board, STM32L4 is connected to the sensor via SPI2. I configured the GPIO pins needed for SPI2 and provided clocks to th...

TLee.15 by Associate II
  • 2792 Views
  • 8 replies
  • 1 kudos

STM32 with USB charging

I want to charge the Android phone along with USB data transfer. I am using STM32F072C8T6 as micro-controller and NCP1855 for mobile charging.The problem is this, in some mobile phones the charging is happening but the USB is not getting detected(And...

STM32L4 ADC does not stop

Hello,According to the Reference Manual of the STM32L431 controller, the ADSTP in the ADC_CR register must be set to 1 to stop the ADC. Additional condition is that both ADSTART=1 and ADDIS=0 must be. Once the ADC is stopped, the ADSTP bit is cleared...

user 143 by Associate III
  • 908 Views
  • 2 replies
  • 0 kudos

SPİ SCK frequency ?

hello , I use spi and ı use slave mod spi. When I send a frequency of 500khz or more as a clock so data is shifting or I recieve wrong data but I send a frequency less than 500 khz I recieve true data. what is the reason of this.( use stm32h743z...

Writing to array to flash memory which is uint16_t. I am using a STM32L053 nucleo. My program gets a hard fault error.

This is the how I'm trying to write to flashBasically I pass my uint16_t array to a function called FLASH_WriteA which accepts the array, the destination array or the location and the lengthvoid FLASH_WriteA(uint16_t * src, uint16_t * dest, uint16_t ...

AV.9 by Associate II
  • 1049 Views
  • 2 replies
  • 0 kudos

Resolved! STM32L4R: How do Flash Option DBANK and DB1M interacts?

In FLASH_OPTR, both DBANK and DB1M are r/w and have no restrictions beside that PCROPA/B needs to be disabled. For 1M device there are two(?) sensible settings DBANK=1, DB1M = 1 for 1Myte dual bank continous modeDBANK=0, DB1M = 0 for 1Myte single ban...