STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC always returns 0

I'm trying to read 2 ADC channels (ch 0-1) on an STM32G030C8T6 but the only result I can get from the ADC is a 0.I've confirmed the voltages I'm trying to read are at ~1.6V and that the VREF+ pin is at ~2.7V using a multimeter so I dont believe its a...

0693W00000YAqalQAD.png
MMurr.2 by Associate II
  • 4209 Views
  • 7 replies
  • 1 kudos

STM32H7x SPI Slave FIFO data loading

Hello,We have been trying to use the STM32H747I-DISCO to act as a SPI slave which should respond to a command byte, behaving similarly to how a sensor or EEPROM might.That is, the fist byte sent from the master will be a command and our slave device ...

2024-06-21-17-11-06-image.png 2024-06-24-08-29-28-image.png 2024-06-24-08-46-26-image.png
vegac by Associate II
  • 951 Views
  • 3 replies
  • 0 kudos

Resolved! FDCAN filtering issue on G473

Hello, I am writing FDCAN driver filtering function for the open source ChibiOS RTOS, both for FdCanV2(H7) and FdCanV1(G4) For the H7 side, all went easy, and the driver works as intended. On the G4 side,  FdCanV1 is a bit simpler (the ram buffer is ...

interrupt is not working for I2C

Hello,we are using the I2C in STM32L431 as below configurationSTM32L431RCT6 as Master in I2C busSTM32L431RBT6 as Slave in I2C busin all .ioc file we enabled the event and error interrupt for both controllersMaster will send query to slave for some da...

Can we give PDM data directly into as a DAC input?

I am using STM32H5 nucleo board and it is connected with MIC which gives PDM output based on analog input. I am reading the mic data using I2S protocol. To verify the received I2S PDM data, I am giving this data directly to DAC to get original signal...

Nagarajan by Associate III
  • 406 Views
  • 0 replies
  • 0 kudos

Resolved! How to configure I2C_TIMINGR for STM32L073RZT6?

I2C_TIMINGR is configured for I2C bus speed of 400kHz. Is his configuration correct?   PRESC[3:0] = 0010 (PRESC = 2)SCLDEL[3:0] = 0001 (SCLDEL = 1)SDADEL[3:0] = 0001 (SDADEL = 1)SCLL[7:0] = 00001010 (SCLL = 10)SCLH[7:0] = 00001010 (SCLH = 10) Is it c...

Timing.png
Mohsin by Associate II
  • 823 Views
  • 1 replies
  • 0 kudos