STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

Hello , I am trying to read address from GP30 using spi as an interface between stm32l476RC and to transfer it to pc via UART, there is no errors , i have reversed the programmer using Cube Programme but I am not able to see data sent .please help

int main(void){ /* USER CODE BEGIN 1 */  uint8_t read_opcode ;  uint8_t read_addr ;  uint8_t Result_read = 0x00;  uint8_t Result_read_buff=0x00;  char*commande;  commande = (unsigned char *) 0x5A; /* USER CODE END 1 */ /* MCU Configuration-----------...

Douma.1 by Associate II
  • 474 Views
  • 2 replies
  • 0 kudos

Error Code Writing to FLASH On STM32L496

I have a project based on the L496. The application does a few writes to FLASH. The initial write works correctly, however subsequent writes fail. The code is directly from STCube:/** * @brief Wait for a FLASH operation to complete. * @param Ti...

jvavra by Associate III
  • 2596 Views
  • 11 replies
  • 0 kudos

HAL_FLASH_Program returns with error

Posted on January 25, 2018 at 14:07Hi,I use STM43L476 and try to use fast flash program to program 256 bytes (decripted_firmware_data buffer).The flash area is erased (all 0xFF), but the function HAL_FLASH_Program always returns with HAL_ERROR and n...

Why UART1 block UART2

Hello ST Community,I use two UARTs at the same time, 1 to communicate with a sensor and the other to communicate with the BlueNGR-M2SP BLE module.The UART2 is configured with DMA IDLE because the length of the frame I receive varies and the UART1 has...

PCong.1 by Associate II
  • 929 Views
  • 5 replies
  • 0 kudos

Target not responding after motor starts running

Hi,I am using STM32H743VI MCU for running a BLDC motor. When I debug and run the code without connecting the motor then I can able to debug the code and I also printing some messages on the UART, its working fine. As soon as I connect the motor with ...

RJain.1 by Associate II
  • 211 Views
  • 0 replies
  • 0 kudos

I am trying to communicate between Bluepill and Arduino but I am not able to see the data transfer happening. The code details are as below:

STM32F103C(Bluepill) Tx:#include "stm32f103x6.h"#define USART2CLKEN (0x01UL << 17U)#define SYS_FREQ 72000000#define APB1_CLK 36000000#define UART_BAUDRATE 9600void uart2_write(int ch);void uart2_tx_init(void);int main(void){ uart2_tx_init(); while(1)...

SVemp.2 by Associate II
  • 888 Views
  • 8 replies
  • 0 kudos