STM32 MCUs Products

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
  • 1366 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
  • 1119 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
  • 558 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...

I have to restart MCU to set RTC date in STM32F205ZG. I wrote a Set date and set time function for RTC. while Set time function updates the RTC time properly, set date function does not update the RTC date until I reset the MCU!

I am using STM32F205ZG RTC with External clock; the RTC initalization, RTC set Date function in the following lines:int16_t RTC_HAL_init(void){  RTC_InitTypeDef RTC_InitStruct;  /* Enable the PWR clock */  RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, E...

MYahy.1 by Associate II
  • 1620 Views
  • 6 replies
  • 0 kudos