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

I/O monitoring with JTAG/SWD

I would like to monitor in real-time the state of the pins on my board (STM32F407D-DISC1) for a HIL (hardware in the loop) application.To do so I want to use the TAPs of the JTAG. I've found in the AN4989 application note that the JTAG was not suppor...

AMabi.1 by Associate III
  • 1726 Views
  • 5 replies
  • 0 kudos

Hlo all, i'm trying to receive data over uart and something weird happens every time i try to receive the data, my buf variable always stays empty. can anyone suggest me the solution. I am attaching my code for your reference.

#include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> //#include "stm32f4xx.h" #include "stm32f411xe.h" #include "uart.h"   #define GPIOAEN (1U<<0) #define PIN5 (1U<<5) #define LED_PIN PIN5   ...

RChou.1 by Associate III
  • 1325 Views
  • 5 replies
  • 0 kudos

Read Continuous Data from An the SPI interface

int main (){   uint16_t txConvertData[2]={0}; uint16_t rxConvertData[2]={0};   const uint16_t ConvertCommandMask = 0b0000000000000000;   while(1){ for (int j = 0; j < 2; j++) { // Send read command HAL_GPIO_WritePin(IN_SPI2_CS_GPIO_Port,...

AE104 by Senior
  • 692 Views
  • 2 replies
  • 0 kudos

What is proper way to resume DMA after waking up?

HiI searched everywhere but I'm stuck with starting DMA after waking up STM32L053C6U6 from stop mode. Chip displays LCD content, goes to sleep, wakes up by external interrupt on pin, receives SPI data through DMA,sends few bytes at the same time, upd...