Communication with interrupt between 2 cores
Hello,I am trying to communicate with interrupt between the Cortex M4 and M7. I tested the HSEM but, maybe I'm wrong, the semaphore locks a process when it waits for it.Thanks for you help
Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello,I am trying to communicate with interrupt between the Cortex M4 and M7. I tested the HSEM but, maybe I'm wrong, the semaphore locks a process when it waits for it.Thanks for you help
Hello there, I've been looking a way to sample ADC continously with DMA for measuring power supply current and voltage, and then another ADC for temperature reading which probably just readed only once per second.I've read STM32 ADC modes and yet don...
I am using STM32F407VG. I am transmitting data from PC to STM32 using uart. I wrote the code to receive 100 bytes. Firstly I call the HAL_UART_Receive_DMA more than once and then I sent the data from PC to STM32.I observed it receives only 100 byte...
I'm using STM32F108RG on 48MHz clock configuration.I need to generate a 1 micrososeconds timer tick on it, for driving an output pin interfaced with a 3rd party device. Using PWM is not an option available.I tried configuring TIM3 with following para...
I am getting this error while debugging "Break at address "0x20004000" with no debug information available, or outside of program code". I am attaching main and linker file. How to solve this? Thanks in advance..
I have been trying to calculate voltage of the battery connected to ADC_IN7 of STM32L010K8. I have connected a battery to it via voltage divider. When I read the ADC I get raw values of 1948 for applied voltage of 3.7V. After going through the datash...
I'm trying to get a very simple example working with the DAC on the STM32L475VG in the B-L475E-IOT01A development board. I've generated the code below with STM32CubeMX for use in STM32CubeIDE. I can see the DAC register values changing, and LD1 blink...
Hi,I'm using CubeMX generated HAL drivers to use SPI in DMA mode. In my particular situation, we are sending a small amount of data (3 bytes) very often over the SPI interface. The data transmission works fine most of the time, but sometimes (as litt...
#define RCC_CFGR *((long*)0x40023808)#define RCC_CR *((long*)0x40023800)#define RCC_AHB1ENR *((long*)0x40023830)#define GPIOC_ODR *((long*)0x40020814)#define GPIOA_MODER *((long*)0x40020000)#define GPIOA_OTYPER *((long*)0x40020004)#define GPIOA_AFRL ...