Forum Posts
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 ...
A voice in Educational Resources is hard to bear. Is it possible to change?
I think some others dont like this voice either. Ist it possible to change it (its a computer voice)? I would not ask, if it would be only in a few ones, but sadly it is not. And it really hurts to listen to it! (change the url, since i cannot post d...
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,...
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...
Gray symbols in diagram. What do they mean?
I spend quite some time trying to figure out, what the gray symbols/areas mean. Still i dont know. Any one knows this?
Resolved! STM32G0 series Programmers & Debuggers
Hello All,I'm new to ST products. We are using STM32G041F8P6 in our project. This IC will be programmed through I2C/USART and there's no JTAG available for this chip. Please suggest some low-cost programmers/debuggers.Thank you