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

STM32F098 CAN works in loopback mode but not in normal mode

Hello, for my personnal project I use a stm32F98 with the CAN peripheral activated.First of all I have an issue with the configuraiton gave in the stm32f0_firmware example but if I set the GPIO_InitStruct.Pull to GPIO_NOPULL, I cannot have the INAK b...

SOsen.1 by Associate II
  • 825 Views
  • 2 replies
  • 0 kudos

Resolved! I2C stops working after exactly 1 minute 6 seconds

Controller : STM32L031F6P7 custom board.I2C stops working after exactly 1 minute 6 seconds? I can replicate this every time.When it stops working, i cannot reset the i2c pheriperal in any way i have found in this forum.These are attempts i already tr...

0693W00000HoANXQA3.png 0693W00000HoAKUQA3.png 0693W00000HoANmQAN.png
sde c.1 by Senior II
  • 1588 Views
  • 5 replies
  • 0 kudos

STM32F429 + OV9655

I am currently working on this topic as part of a project and I need to know how to use the camera with the STM and connect it to it, how to take a picture with it and save it in the memory , and how to take it back from the memory again when I ne...

Shreif.1 by Associate
  • 976 Views
  • 2 replies
  • 0 kudos

Resolved! I am getting the warning: #174-D expression has no effect.

I am trying to get the bits of an uint8_t into an array. I use two for loops for that and don't know why I get this warning. This is the code I use:void System_Info_Get_Jumper_State(I2C_HandleTypeDef* hi2c1, uint8_t* Jumper_State_Array_Address) { ...

MMüll.5 by Associate II
  • 2667 Views
  • 2 replies
  • 0 kudos

DMA issues ADC on stm32H743

Im having some problems getting DMA to work, none of the interrupt routines are called, Simplified code below, hints appreciatedADC_HandleTypeDef hadc1;DMA_HandleTypeDef hdma_adc1;static uint32_t HAL_RCC_ADC12_CLK_ENABLED = 0;boolean ADC1_done = fals...

JColl.5 by Associate II
  • 1514 Views
  • 5 replies
  • 0 kudos

Can the STM32F,H Mix 2 I2S channels?

I have a project that requires 2 I2S inputs (4 audio channels) to be level controlled, then mixed into the left channel of an I2S output. 32 bit word length 24 bit samples. I was contemplating using an STM32F or STM32H on a nucleo board to start. Can...

Russ1 by Associate
  • 773 Views
  • 1 replies
  • 0 kudos

WHY DOES I2C DMA NOT WORK

simply trying to read 9 bytes from a I2C sensor on my 446re necleo boardif I use non dma I can read data fineHAL_I2C_Master_Receive( &hi2c1, Sensor_Adr << 1 | 0x01, I2C1_DATA , 9, HAL_MAX_DELAY );this works fineBUT DMA IS BROKEN OR VERY BUGGYALL THIS...

JHERI by Senior
  • 1553 Views
  • 6 replies
  • 0 kudos

How to use the 'HAL_UART_Receive_IT' within a function?

Hello,I'm working with an STM32G4 MCU and I want to listen the UART3 with interruption. I am testing with a code which changes the color of a led. The following code works fine ://main.c   #include "main.h"       FDCAN_HandleTypeDef hfdcan3;   FDCAN_...

Marco S by Associate II
  • 7770 Views
  • 11 replies
  • 1 kudos