STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Synchronising I2S reception with LSE

This is probably more of a wish list item than a question that can be solved - I'm using an STM32L4 chip's SAI to interface to an I2s microphone (SPH0645lm4h Knowles microphone). It works well. But things would be even better if the I2s reception cou...

gregstm by Senior III
  • 763 Views
  • 5 replies
  • 0 kudos

Resolved! STM32F103C8T6 TIM1 in ENCODER MODE GPIO Pins

Hi, I am using stm32f103c8t6 connected to a rotary encoder using SPL. I was planning to use TIMER 1 in encoder mode, but probably I had made a mistake by connecting channel A of encoder to PB13 (T1C1N) and channel B to PB14(T1C2N) - this se...

Vin1947 by Associate
  • 1038 Views
  • 2 replies
  • 0 kudos

STM32G070CB: What are Flash Zones A and B?

The HAL Manual for the STM32G070xx mentions OB_WRPAREA_ZONE_A and OB_WRPAREA_ZONE_B. The Reference Manual mentions Zone A and Zone B. But there is no mention of the difference between the two or when to use one vs the other. There are 64 pages of Fla...

DBroo.1 by Associate III
  • 531 Views
  • 1 replies
  • 0 kudos

STM32F051K8, I2C and UART Communication Issue

Hi,I am trying to receive voltage from an external ADC, MCP3421 using I2C. These values are then transmitted over USART to be viewed by the user ranging from (-2.048 to 2.048). The MCU I am using is STM32F051K8.The problem that I am facing is that th...

Shirish by Associate II
  • 609 Views
  • 3 replies
  • 0 kudos

Has a problem when using STM32F405 spi + dma as a slave

Use STM32F405's SPI + DMA as a slave, circular mode, DMA 16bytes interrupt, but every time send 16bytes to master, the first byte is always the byte that last frame's last byte , it looks like spi tx register is not clear, always contain the last by...

CJi by Associate II
  • 1638 Views
  • 11 replies
  • 0 kudos

STM32F7 Timer Event Generation Register Wrong address?

Hello I'm using a STM32F769 discovery board. I was trying to use timer2channel2 to trigger the ADC conversion. I am setting registers manually and wanted to turn on event generation on channel 2 match. TIM2->EGR |= TIM_EGR_CC2G_Msk;However when I ran...

Resolved! I'm trying to blink one led but two led blinks

Hi,i'm trying to blink only one led. I have a problem with one of four leds. Because as you in my code, i'm trying to blink only 'green led'. But 'blue led' blinks also. #include "stm32f4xx.h" // Device header #include "stm32f4xx_hal...

STM32 trying to get uasart to transmit

Hello, I wanted to upgrade my simple blinky program with the usart 2, so that it sends a simple 'B' over the serial port to my PC. I am using a Nucleo-F334R8. In the datasheet it says usart2 is connected with the USB port.Here is my code, that is not...