Questions tagged [stm32ldiscovery]
77 questions
2
votes
2 answers
Rust discovery, config file not working as expected
I am trying to avoid entering the same commands in each GDB sessions. For this, I have followed the instructions in rust discovery book but the program is not working as mentioned in the book when I run the program through cargo run it is giving the…

Jawwad Turabi
- 322
- 4
- 12
2
votes
1 answer
while loop stops just when condition is false and a delay is inserted
i want to execute a while loop until a condition is reached, the condition is given by an interrupt fired with a user button, but when i press the button the while loop does not ends, the strange is that if i put a delay inside the loop then it…

jg_spitfire
- 35
- 4
2
votes
2 answers
No clock I2C STM32L0
Hi i am currently working on a project where i am using a murata cmwx1zzabz (The module is powered by an STM32L072CZ and an SX1276 transceiver).
The goal eventually is to send data from my sensor(VL53L1X) using lorawan to the internet.
So i started…

Twan Vogelzang
- 31
- 6
2
votes
1 answer
STM32 DMA: bytes remaining in buffer, encoded?
For quite a while now I've been struggling with DMA communication with two STM32 boards in some form or another. My current issue is as follows.
I have a host (a Raspberry Pi) running the following code, waiting for the board to initialise…

Joost
- 4,094
- 3
- 27
- 58
2
votes
1 answer
STM32L-Discovery EXTI Interrupt fail
working on STM32L151xx on IAR compiler.
I am trying getting EXTI interrupt but getting nowhere, here is my code which is basically direct from sample codes but not working,
EXTI_InitTypeDef EXTI_InitStructure;
NVIC_InitTypeDef…

Ishmeet
- 1,540
- 4
- 17
- 34
1
vote
1 answer
Can't get the analogue watchdog to trigger an interrupt on the DFSDM peripheral of a STM32L475
I have an AMC1306 current shunt modulator feeding 1-bit PDM data at 10 MHz into a STM32L475. Filter0 takes the bit stream from Channel0 and applies a sinc3 filter with Fosr=125 and Iosr=4. This provides 24-bit data at 20 kHz and is working fine. The…

James Fotherby
- 21
- 3
1
vote
1 answer
how to add stm32l4s5 to IAR Embedded Work Bench?
Am working in a project in which I use Stm32cubemx to generate C Code For drivers like UART and SDMCC using STM32L4S5xx and when I generated my code for IAR , Unknown target error is found...
The error clearly that IAR is not supporting my…

Mohamed Salah
- 11
- 1
1
vote
1 answer
STM32L1 - Malloc issue (Beginner Question)
I'm kinda new to C but feel I have a good basic understanding and hence have posted the question here.
I am trying to port over some demo code for a Waveshare E-paper display to use for an application in my Graduate Project. For now I just wanted to…

norand
- 13
- 1
- 5
1
vote
0 answers
STM32 standard method for remote firmware update
My question is about a special case for Bootloader sequence for The Discovery kit for STM32F0 series with STM32F072RBT6 MCU that we currently have implemented in some of our products in the field.
I will use ST's own bootloader to update my…

Ali You
- 13
- 3
1
vote
1 answer
Exiting STOP mode on STM32L100Rc
I am a new coder using the STM32L100RC discovery board. As such, my problem is quite simple I believe; I cannot exit Stop mode using an external trigger on the WakeUp Pin PA0. The code works as fallow: the LED on the PC9 pin light up, I enter STOP…

Nathaniel Brochu
- 37
- 4
1
vote
1 answer
How to swap two regions in FLASH memory for STM32L475 board?
I am working on STM32L475 IoT kit which is an ARM M4 Cortex device. I want to swap two regions of flash memory. The board I am using has two banks for flash memory each having a size of 512KB.So I have 1 MB Flash memory. I read that for swapping…

zester
- 165
- 3
- 12
1
vote
0 answers
ARM Assembly FPU Interrupt Handler - STM32L4
I'm trying to implement floating point operations on my STM32L476 Discovery Board, ARM Cortex-M4 CPU. All of my code is to be written only in ARM Assembly only.
First, I enabled the FPU by activating the CoProcesser 10 and 11…

Vijey
- 33
- 1
- 1
- 8
1
vote
2 answers
Very slow SPI writing STM32
I am currently writing a code to write on an LCD screen pixel by pixel. The code works fine, however the speed at which the code is processed is incredibly slow. The goal is simply to write number on the LCD screen so I am using the "switch"…

Nathaniel Brochu
- 37
- 4
1
vote
4 answers
In Application Programming issue
I'm working on project on STM32L152RCT6, where i have to build a mechanism to self update the code from the newly gated file(HEX file).
For that i have implemented such mechanism like boot loader where it checks for the new firmware if there it it…

Huzaifah
- 60
- 6
1
vote
1 answer
STM32F3 Discovery board ADC DMA transfer not working
I'm using the STM32F303 (Discovery board) and trying to trigger an ADC conversion externally from a timer signal TRGO2 and store it to a buffer through DMA. However, it doesn't appear that anything is being written to that buffer. Could someone…

NoS89
- 81
- 1
- 10