STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 534 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
  • 1332 Views
  • 11 replies
  • 0 kudos

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...