I encountered a hard error problem, it appeared at a seemingly random time, the pointer points to address A5 or FF (I allow memory space is much lower than 80000000 and above). It seems A pointer t
Tag: STM32
STM32 multi-block CAN bus interconnection card dead problem
There is no problem when a single board is connected to the CAN bus, but when multiple boards are connected to the CAN at the same time, basically only one can be used, and the other boards will be
STM32’s printf () function serial port redirection (HAL library standard library)
1. Create a project
2. Core: add a new file usar_fputc.c (name whatever you want), add the file to the project Go
#include “stdio.h”
#include “stm32f1xx_hal.h”
extern UART_Handl
Embedded 02 STM32 07 serial communication
STM32 serial communication (F1 series contains 3 USARTs and 2 UARTs)
1. The purpose and significance of the serial communication between the microcontroller and the PC:
Since its birth,
STM32 single-chip serial port one-click download circuit and operation method detailed
The storage media corresponding to the three boot modes of STM32 are all built-in chips. They are:
1) User flash memory = Flash built into the chip.
2) SRAM = The RAM area built into the chip is
STM32 serial interrupt instance two
int main(void )
{
uint8_t a=0;//LED high and low voltage control
/* System Clocks Configuration */
RCC_Configuration(); //System clock settings
/*Nested vector interrupt controller
Exp
STM32 serial optoth experiment
In experimental phase 1, the timer is timed for 1s to trigger an interrupt, and data is sent out during the interrupt.
The timer is set to 36000 frequency division, the period is set to 2000,