Forum Posts
NSS pin (chip select) driven by hardware.
Good morning.I'm trying to use SPI communication on STM32L051 MCU but experiencing some problems. In my application, the MCU is working as a master and using all communications signals: SCK, MISO, MOSI and NSS.I started with the example code "01_Full...
STM32 CubeMX bug report: missing initialization of GPIO_InitStruct.Alternate
Posted on March 19, 2018 at 20:15Looks like I found a small bug in STM32 CubeMX code generation. It can be reproduced this way:1. Create new project for STM32F091RB.2. Enable USART5 with Asynchronous mode and Hardware Flow Control (RS485) on.3. In P...
STM32F429ZIT SDRAM to SPI using DMA
Hello,I'm facing a problem with the DMA and FMC. This is my setup:I'm using a STM32F429ZIT at 180MHz. I am using the same SDRAM as the STM32F429-DISCOVERY board. For the HAL configuration, I am using the STM32CubeMX software, version 4.25. This is wh...
Need .SVD file to debug STM32F413ZH with Segger's Ozone
HelloI prefer to use Ozone debugger of Segger over Atollic. The only issue i have is missing of Peripheral Registers Window. In the User Manual Segger apply Ozon's users to vendors for a specific .SVD file that will allow to see Peripherals in the Re...
['F446 documentation] SPDIF-Rx - mention RXNE and CSRNE in narrative
Posted on January 16, 2018 at 15:59SPDIFRX_SR.RXNE should be mentioned in 27.3.6 Data reception management and SPDIFRX_SR.CSRNE in 27.3.7 Dedicated control flow. JW
I am trying to code my STM32L1 controller bit by bit. I am trying to initialize the ADC and read a single channel and it is not working. I am not sure where the problem is?
#include <stdio.h>#include <stdint.h>#include "stm32l1xx.h"void TIM3_IRQHandler(void); uint32_t Channel_1=0;void TIM3_IRQHandler(void) %Interrupt every 1 second%{ TIM3->SR&=~TIM_SR_UIF; %Clear Flag% ADC1->CR2|=ADC_CR2_SWSTART; %ADC ...
Load Capacitors Crystals
How to prove if the selection of the load capacitors CL1 and CL2 for HSE and LSE Crystals is correct?Maybe with oscilloscope?
What is a CS32F103C8 and why do most STM32F103C8s have 128k Flash rather than the advertised 64k Flash?
Hi AllThe Arduino community's Blue Pill (based on the STM32F103C8) is known as a useful but very inexpensive development board (one can order about 10 pieces for $15, including post and packaging). Also it is common knowledge that most of the STM32F1...