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

STM32F072RbT6 I2C1 not working.

Hello,I am using STMCUBEMX 5.2.1 to initialize the configurations of my STM32F072RBT6. My application requires the use of i2c1 since i2c2 is already occupied on our board by a pressure sensor. However, it seems to me that i2c1 is not working (i.e. th...

YGehl.1 by Associate II
  • 1141 Views
  • 5 replies
  • 0 kudos

Hi i am using stm32f746zg nucleo board and i want to establish communication between two CAN modules where CAN1 should transmit and CAN2 should receive the msg but its not happening dont know why ..can anyone help me with the code ..?

here is my codevoid can(void){   CAN_TxHeaderTypeDef TxHeader;   uint32_t TxMailbox;   uint8_t usr_msg[10]={'h','e','l','l','o'};      TxHeader.DLC=2;      TxHeader.RTR= CAN_RTR_DATA ;      TxHeader.IDE= CAN_ID_STD;      TxHeader.StdId= 0x65;   if(HA...

B Vinod by Associate II
  • 2003 Views
  • 14 replies
  • 0 kudos

STM32F4xx I2C slave not working

I'm currently trying to setup a STM32F4DISCOVERY Board with the STM32F407VGT6 chip as a I2C slave. Somehow the controller doesn't send any ACK bit after the address was received. I've tried with the General Call function as well.Here is my initialisa...

MBind.1 by Associate
  • 629 Views
  • 1 replies
  • 1 kudos

nucleo-g431kb voltage reference buffer

Hello everyone!I'm want to use the internal reference voltage buffer of the mcu stm32g431kb as input with comparator, but when i checked the reference manual they say VEREFBUF must kept disabled because no VREF+ pin in 32 pin package!!I don't want th...

0693W000003Bte5QAC.png
LLah.1 by Associate II
  • 556 Views
  • 1 replies
  • 0 kudos

stm32f103 spi communication with ad7730 random wrong number

I am communicating with ad7730 (24bit adc) using atm32f103ZCT6. I try to read one of the registers of the adc but each time I receive a random wrong figure. The strange thing is that while debugging using serial wire (STLINK) everything is perfect an...

DKari.1 by Associate II
  • 825 Views
  • 3 replies
  • 0 kudos

How do I configure MCU as an I2C slave device?

Remark : I am asking this question again, since even after trying multiple times on my own, and asking on other platforms, nobody has answered it yet. I can't figure out how am I supposed to configure as slave. So sorry for that. I am not able to del...

KSchr.11 by Associate II
  • 1060 Views
  • 2 replies
  • 0 kudos

What "EXTI" stands for ?

Hi AllAbout EXTI :In some stm reference manual about "EXTI" i read some strange things : For example:In STM32f070 Ref. manual "EXTI" stands for " Extended Interrupt/event Controller".In STM32f407 Ref. manual "EXTI" stands for " External Interrupt/eve...

Syous.1 by Associate
  • 3914 Views
  • 7 replies
  • 1 kudos

I2C communication with multiple slaves

Hi guys may I ask for your inputs on the I2C communication. I am using STM32F103C8 MCU with 2 slaves on the I2C bus. 1st slave is PCF8574 IO expander and 2nd slave is MCP4725 DAC. I'm using CubeMX to generate my codes. What I wanted to do is use ...

RSy.1 by Associate III
  • 3533 Views
  • 5 replies
  • 0 kudos