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 ...
I am using STM32F427XX, for which APB1 timer frequency is 84Mhz and APB2 is 168Mhz. Actually per datasheet, max clock frequencies are 45 and 90. My application is running correctly with the above frequencies. Will there be any problem with the MCU u...
I'm use STM32F103C8T6. I use DBGMCU->CR = DBGMCU_CR_TRACE_IOEN to change the value of DBGMCU->CR, but the operation is failed after POR, the register is alway read 0.I suspect that the cause of this problem is the the debug component is not be powere...
Hi guys,I'm using STM32F767 nucleo with STM32Cubeide. I've configured an ADC to operate with DMA at a sample rate of 1.8Msps. I've calculated this sample speed by:HCLK = 216MHzPCLK2 = 108MHzPrescaler of 4 : ADCCLK = 27MHzResolution (12bits + 3)Theref...
Hi, I want to do a computer vision application on stm32f407VG discovery board. I have an CNN code with cmsis-nn library. My challange is that Using the camera datas as an input. But i need rgb data as 1 dimentional array. How can save the image in a...
We developed a new board with STM32G071cbu MCU which we already successfully used in our previous project.In this project we desided to use buttons with internal MCU pull up. Buttons connection is actually very simple:So in this configuration with pu...