STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F401 I2C driver using register in Proteus simulation

I want to use two STM32F401xx MCU in proteus. One of them is to be a master and the other is to be a slave. This is my code for the master:     #include <stdint.h> #include <stdio.h> uint8_t temp=0; void begin(); void end(void); void Write (uin...

address.PNG proteus.PNG
AH25 by Associate
  • 1664 Views
  • 2 replies
  • 1 kudos

Resolved! STM32WB QSPI FLASH - Winbond(W25N01GV)

Hello,I have been trying to make a driver for the Winbond(W25N01GV)  NAND flash over QSPI but I've been failing so far. Can somebody give me some ideas about what I am doing wrong?        #define UNPACK_UINT16_TO_2_BYTES(num) {(uint8_t) (((num) & 0x...

Screenshot_45.jpg
Dracu by Associate II
  • 4903 Views
  • 7 replies
  • 3 kudos

Resolved! LAN8742A - STM32 and REF_CLK

Hi,I plan to use LAN8742A and STM32H7 for an ethernet application.In the datasheet for LAN8742A there is this very interesting sentense on page 34 i the datsheet:The REF_CLK Out Mode is not part of the RMII Specification. To ensure proper system oper...

tyassin by Associate III
  • 6795 Views
  • 9 replies
  • 3 kudos

Resolved! Running STM32H7 timers at 480Mhz

Hello, how can I get timers running at 480Mhz to have maximum resolution?Here is a capture using latest stmcube version:I have tried D2PRE1 & D2PRE2 =1 but then warnings appear

stm32.jpg
JLope.11 by Associate III
  • 4008 Views
  • 7 replies
  • 3 kudos

Getting possible error of FLASH write operation

I need to check to outcome of a FLASH write operation. EOP would indicate, that it was successfully, but it needs the interrrupt to be enabled to show the outcome. Oh well, then i use the error flag instead (because i dont want to use interrupts). Bu...

stm err omfg.jpg
Tobe by Senior III
  • 1421 Views
  • 10 replies
  • 0 kudos

Stm32cube

Hello, when I try to compile the code in the Stm32cubeide program, I see the error that the flash.ld file does not exist. And there is no file with flash.ld extension among my files. It is not created by stm32cubemx.

Interrupt callback function blocked by delay

Hey there !I'm trying to use an ultrasound range captor on STM32 Nucleo. To beggin, I'm on a very simple case of use : User press a button, it's trigerring an interrupt, handled by a callback function `emettre_ultrason()`. Then, when the callback fun...

TzuNa by Associate
  • 1431 Views
  • 3 replies
  • 1 kudos