STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Interrupt pin doesn't working STM32L053

Hi friends, I have STM32L053C8T6TR, where I use PPS pulse from GPS connected to PB8. I set this pin: #define GPS_PPS_Pin LL_GPIO_PIN_8 #define GPS_PPS_GPIO_Port GPIOB     void gps_pps_pin_init(void) {   LL_EXTI_InitTypeDef EXTI_InitStru...

Conflict in the definition of VTOR register

Hi.In PM0214 programming manual page 40 it says:On system reset, the vector table is fixed at address 0x00000000. Privileged software can write to the VTOR to relocate the vector table start address to a different memory location, in the range 0x0000...

Why is RCC MCO config affecting other pins?

 I'm using a nucleo F446RE. I want to set up MCO1 as 42MHz output. CUBEmx generated the the HAL_RCC_MCOConfig function below.void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv) { GPIO_InitTypeDef GPIO_InitStruct; ...

0693W00000D1vfoQAB.jpg 0693W00000D1vfPQAR.jpg 0693W00000D1vfZQAR.jpg
ZHama.1 by Associate II
  • 601 Views
  • 0 replies
  • 0 kudos

DAC with DMA not working for STM32H753VIT6

Hi there,Here is the code for DAC with DMA. I can not see the error in the code. I have been looking at the oscilloscope for the sine wave but it is not coming. I tried without DMA, and works nice. But the DAC with DMA is not working. Please someone...

TPanc.1 by Associate II
  • 2864 Views
  • 10 replies
  • 0 kudos

SPI3 does not function for STM32H753VIT6

Hi there,Here are the two lines which I am using for SPI communication.while(HAL_SPI_GetState(&hspi3) != HAL_SPI_STATE_READY); HAL_SPI_TransmitReceive(&hspi3, (uint8_t *)& ADC_write, (uint8_t *)&ADC_read, 4, 100);The drier derived from CubeMX is not...

TPanc.1 by Associate II
  • 603 Views
  • 3 replies
  • 0 kudos

STM32F412 CAN filter configuration

Hi,I am using STM32F412 and want to receive CAN message of both 11 bits and 29 bits ID, can i configure CAN filter to separate out the 11 bit and 29 bit IDs.Regards,Jignesh Gohil

JKG by Associate
  • 269 Views
  • 0 replies
  • 0 kudos

Resolved! Is it possible to use the RTC alarm signal on the tamper pin in order to turn on a transistor or maybe hold that value in a D flip flop?

I've been doing a lot of research concerning Low power modes for the stm32 bluepill and I was wondering if i could power my board through VDD and execute a code through it and then right after going into sleep mode I would use a switch to only power...

HAbay.1 by Associate III
  • 456 Views
  • 1 replies
  • 0 kudos

Hello, I am using STM32L053 nucleo board. I am trying to read Multiple ADC Channels but values are not coming correct. Here is my code in details. I am using continuous mode using polling method.

#include "main.h"#include<stdio.h>ADC_HandleTypeDef hadc;UART_HandleTypeDef huart2;void SystemClock_Config(void);static void MX_GPIO_Init(void);static void MX_USART2_UART_Init(void);static void MX_ADC_Init(void);int main(void){ HAL_Init(); SystemCloc...