Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A device which includes a central processing unit (CPU), memory, and (generally) an assortment of I/O peripherals (UART, ADC, DAC, general-purpose I/O, I2C, etc.) in a tightly-coupled standalone package.
0
votes
Generating a delay on the order of microseconds (timer vs HAL_Delay())
Here is the code on how ST implements a delay in one of their example projects (also as another user has suggested here):
for (volatile uint8_t i=0; i!=0xFF; i++);
Change the value of 0xFF to the max …
1
vote
1
answer
681
views
How to know if DMA on STM32 is being used or not
I am using the STM32F410CBT's DMA to output a square wave on the PWM peripheral with varying duty cycle. The duty cycle will vary at a button press (through GPIO interrupt). I managed to vary the PWM' …
1
vote
0
answers
761
views
Configure STM32 to sleep inside an ISR
This microcontroller is also equipped with an LED indicating that it has send data through SPI. … I am planning to do something like this on a larger project, where the microcontroller sleeps until an interrupt occurs, then the microcontroller processes data in a while loop, and then go back to sleep …
1
vote
1
answer
3k
views
Configuring LPTIM Parameters with the STM32L4
I bought an STM32L433 Nucleo-64 board (STM32L433RCTxP) and I am trying to learn more about the LPTIM peripheral. I am experimenting with setting up the LPTIM1 peripheral so that it generates an interr …
0
votes
Accepted
Configuring LPTIM Parameters with the STM32L4
I obtained the equation from a different Q&A forum, and the update rate (in Hz) is:
\begin{equation}
UpdateRate_{LPTIM} = \frac{ClockSource}{(Prescaler)(ARR + 1)}
\end{equation}
Based on the equation …
2
votes
STM32 standby mode power consumption is too high
Hopefully it isn't too late to answer this. You should configure all unused GPIO pins to GPIO_MODE_ANALOG and GPIO_NOPULL. If you need GPIO output pins configured on the STM32, you should use the lowe …
2
votes
2
answers
2k
views
SPI data arrives at every 2nd send and in the wrong sequence
I am simulating a project where two STM32s communicate with each other through SPI (HAL drivers), where the SPI Master is an STM32F4 and the SPI Slave is an STM32F3. Basically, the master will send 5 …
0
votes
0
answers
2k
views
SPI Slave sometimes sends incorrect data
I apologize in advance if I should have not created a new thread as I ran through new issues after making updates to my project posted on this previous thread: SPI data arrives at every 2nd send and i …
1
vote
1
answer
350
views
Trying to understand the FLASH region of an STM32L433
STM32's FLASH memory (on the Nucleo-64 STM32L433RCT6P) so that I can use a page of the FLASH memory to store some user configuration (so that the data is retained even when power is not supplied to the microcontroller …