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

Resolved! STM32F303 and L9616 CAN transceiver

I have a STM32F303 connected to a L9616 as displayed below.  The pullup resistor R3 is not present any more. Please ignore it. Vdd is 3.3V but, as can be seen, I have set Vs to 5V, believing that was necessary to make the CAN BUS work. With an osci...

enhering_0-1711296523818.png enhering_1-1711296567728.png
enhering by Associate III
  • 12226 Views
  • 23 replies
  • 18 kudos

Resolved! Can't set USART_CR1_RXNEIE to enable

I tried to enable RXNEIE with following code: USART2->CR1 = (USART_CR1_TE | USART_CR1_UE | USART_CR1_RE | USART_CR1_RXNEIE);  But when I checked CR1 register, it's still set to 0: gdb: x /8ub 0x40004400 0x40004400: 45 0 0 0 0 0 0 0 I checked the manu...

Jemegen by Associate III
  • 1548 Views
  • 2 replies
  • 1 kudos

Resolved! Setting up a UART caused device reset

I am trying to build a uart implementation from scratch to learn the Stm32, but such a code implementation seems to cause my Stm32F030 to go into Reset_Handler state.What might be wrong with my code? Thanks in advance!  void uar2_rx_tx_init(void) { ...

Jemegen by Associate III
  • 1621 Views
  • 5 replies
  • 1 kudos

PTP/USB controlling camera (STM32F4)

Posted on August 05, 2017 at 04:09Hi,I'm working on a project which should communicate with a camera (canon, Nikon ....) and should be able to get pictures from the camera through Usb port.i search in the net for a way to do that and i found that th...

xEventGroupWaitBits function usning

HiI use STM32H7 with free-rtos for my projct.I need to synchonized analog samples reading from 2 DMA channels and from 2 different ADCs.I use the xEventGroupWaitBits function to stop the execution of the sampling before starting a new sampling cycle....

Ofer by Senior
  • 2418 Views
  • 2 replies
  • 1 kudos

Resolved! Using TCXO with STM32L0

Hello,I would like to use TCXO (25 MHz) for timing STM32L071. It doesn't really work for me. When I put a scope probe behind C1, a signal can be seen in the picture. (some 27 Hz). Do you know what's wrong? The power supply for TCXO is 3.3Please any i...

IMG_20240330_120959.jpg pcb.png
JR2963 by Senior II
  • 2193 Views
  • 5 replies
  • 0 kudos

spi tser,tsize value ?

hello ,I use stm32h750vbt6I'm trying to send data with spi 16 bit data constantly, I checked the reference manuallyBut there were some parts that I didn't understand. To send 16-bit data at intervals of a certain time, tser,tsize and what should my F...

How to disable OCTOSPI Prefetch in Memory Mapped Mode?

Hello everybody,for my current application I would like to disable the prefetching of the OCTOSPI peripheral.I'm using a STM32H723VGT6. Ideally one can configure it to be in memory mapped mode but still do every transmission without caching or prefet...

Resolved! How to set the timing of the external SDRAM extended by FMC?

Hi there,I am trying to extend an SDRAM(W9825G6KH-6) for my homemade board with STH32H743IIT6.According to the SDRAM datasheet:I want to set the FMC clock to 130MHz with CL=2.So the MCU clock config is as follows:and according to the SDRAM datasheet:...

Junde_0-1711883240183.png Junde_1-1711883438907.png Junde_4-1711886286820.png Junde_5-1711886657191.png
Junde by Senior III
  • 2069 Views
  • 1 replies
  • 0 kudos

STM32F767 flash programming problem

Hi everyone,We are trying to program the MCU flash memory to write and save some data on it.After successfully writing to a single sector, we can't delete the sector content anymore.We are using HAL_FLASHEx_Erase to delete the sector.In particular, w...

gsaru.1 by Associate II
  • 2749 Views
  • 5 replies
  • 0 kudos