Ask questions, find answers, and share insights on STM32 products and their technical features.
for exmple, this is a part of the code:void DAC_AD5621_Write ( uint64_t DAC_Data){ HAL_GPIO_WritePin(dac_cs_GPIO_Port, dac_cs_Pin, GPIO_PIN_RESET);////Select SPI DAC_Data = (DAC_Data&0x0FFF)<<2 ; uint8_t DAC_Data1= (uint8_t)((DAC_Data>>8)&0x00FF); ui...
Hi everyone!I'm in a hurry, I have a canbus network working with stm32F4 without problems working in STD Periph drivers, and even I have 2 sTM32F0 working HAL Can with out problems (I'm gonna left the 2 config), when I try to conect both networks, th...
My project uses dual-bank flash memory, bank 1 (0x0800 0000) for main code and bank 2 (0x0808 0000) for ota image and also allocated (0x080F F000) for saving the system setting. After switching bank (FB_MODE =1), the main code runs at (0x0808 0000) a...
Datasheet:https://my.st.com/resource/en/datasheet/1-5ke.pdf
Hello everyone!I am trying to write to flash without using built-in HAL functions. Initially, I want "Hello World!". The Flash is only aligned double word writable as shown in the reference manual (RM0394) standard Programming technique Section 3.3.7...
Hello,I have NUCLEO-STM32F429ZI kit and I want to operate the SPI as max speed. So, I design one simple example like make SPI1 as Slave and SPI4 as a master mode.This is worked for SPI_BAUDRATEPRESCALER_8 (11.25 MHz), SPI_BAUDRATEPRESCALER_16 (5.625 ...
I have a custom board design using a STM32F407. Timer6 is running in interrupt mode with a 42 usec period. I also have Timer7 running in interrupt mode with a 3 second period (upcount mode).Each time the Timer6 interrupt runs I reset the Timer7 TIM...
I'm struggling to find a solution to this by searching.I have an existing system running using PA1 as an EXTI set up through Cube MX. I just need to add an exrernal interrupt to PA0As far as I can see the following code is all I should need to add...
Hi,I try to send data via CAN from the nucleo board to a USB-to-CAN device (peakCAN).I configured PA12 and PA11 as FDCAN1_TX and FDCAN1_RX. I measured pin 12 and pin 14 on the CN10 connector with a salea logic device, but got no valid frame. Pin 12 ...