STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Read/Write on a register

Hello, I'm having a trouble to read or write bits on registers, for example I would like to change the comparator input minus pin, according to the RM I have to change the INMSEL bits in the COMP1_CSR register, but when I write this line code:COMP1_C...

Vertinhol by Associate III
  • 4867 Views
  • 4 replies
  • 1 kudos

Setting the I2C timing register values for STM32L073RZ

Hi all,I am trying to interface a STM32L073RZ to a Si2151 tuner IC using I2C. I keep getting HAL_ERROR everytime i use the HAL_I2C_Master_Transmit function. I used STM32cubeMx to set the I2C parameter settings (freq to 400K) but the generated code ha...

HPala.1 by Associate
  • 482 Views
  • 1 replies
  • 0 kudos

How to use printf() function with NUCLEO-F072RB??

I have used NUCLEO-F072RB EVK and just print "Hello World" using printf function but didn't print anything on console.IDE : STM32CubeIDEMay I know How to use printf function with proper steps?Please find below code : #################################...

Bhautik by Associate II
  • 973 Views
  • 1 replies
  • 0 kudos

STM32H7 PSSI

Hi,I know that PSSI can be used to transfer data between two STM32H7 microcontrollers. I wonder if there are other uses for PSSI?Are there any other components that use this interface?

Asantos by Senior
  • 571 Views
  • 1 replies
  • 0 kudos

Switch GPIO interruption

Hi, I have 3 interruption pins PA13, PA14 and PA15, I would like to enable one pin for interruption at a time and changing the interruption mode, I made this function, but I'm not sure if it's the right way to achieve that.void Switch(uint16_t PIN, u...

Vertinhol by Associate III
  • 371 Views
  • 2 replies
  • 0 kudos

STM32H743ZI2 ADC3 AND DMA

I am using NUCLEO-STM32H743ZI2. I try ADC3 + DMA, but I confuse ADC3 CLOCK, from cubeMx, I found THERE ARE 3 SOURCE (PLL2P,PLL3R,PER_CK) for adc clock, in manual, it mentioned SCLK and HCLK can be clock resource as well. In RCC adc clock selection, o...

yang hong by Associate III
  • 836 Views
  • 2 replies
  • 0 kudos

Issue while adding padding to generated file

In my project I need to add padding to few flash address. I generated hex file which has flash data till 0x1000(Suppose) but I want to pad till 0x4000 with 0xFF. I am using below gcc commands but unable to get desired output.arm-none-eabi-objcopy --s...

Generate interrupt on center aligned mode at counter overflow

Hi,i am using STM32F334C6T.i try to set my PWM as Center Aligned mode and generate interrupt at counter overflow. my code as below.whatever i do in my code, i can not take just one interrupt which is counter overflow. everytime it generates two times...

AKOCA.1 by Associate II
  • 1547 Views
  • 4 replies
  • 0 kudos