New answers tagged stm32
1
vote
Can ESP32 be used in a commercial application?
Well, in my opinion, based only on my 2 years experience working with both, first with STM32 and then with ESP32, I think it it's a matter of IDE and tools, the STM32 ones being much more comfortable ...
1
vote
Using 3.3 V on a STM32F407-DISCO board instead of 3 V
Instead of modifing your discovery board, you could check the datasheet.
Some pins are tolerant up to 5V, look for FT in the column I/O structure.
1
vote
STM32 Multimaster / Multislave RS485 implementation with manual flow controll
Make your live easy! I would drop the idea of using the physical line for communicating the 'bus-busy-state'.
Assuming your setup is static, i would assing one of the masters as 'root-master' via e.g. ...
2
votes
Accepted
STM32 Multimaster / Multislave RS485 implementation with manual flow controll
I spent a bunch of time trying to understand your bus state machine in the function busDrvUpdate() and controlled by the variable ...
3
votes
Driving large LCD with stm32
Physical size is fairly irrelevant in terms of "LCD Control", though it may be an important consideration when it comes to power - especially for things like the backlight.
The resolution ...
2
votes
Accepted
Issue with Generating Pulse of Desired Frequency with Multiple Modes using stm32fo30c8tx- timer- outputcapture
That sound like symptoms of timer rollover. You probably face following problem:
For example ARR = 100. Timer counts and CNT = 56. Then you write new value to ARR = 30. And situation is now CNT = 56, ...
3
votes
Accepted
How to connect ceramic resonator to OSC_IN/OSC_OUT pins of CH32V203 MCU?
It usually/normally doesn't matter but I found another datasheet (same series, CERALOCK, but may not cover the particular part you have which appears to be obsolete BTW) and the manufacturer suggests ...
2
votes
How to connect ceramic resonator to OSC_IN/OSC_OUT pins of CH32V203 MCU?
Usually ceramic resonators don't have separate input and output pins as they are symmetric like crystals are.
If you are worried, connect the MCU input to resonator input, and resonator output to MCU ...
1
vote
Accepted
Which STM32F405RGT6 pins are suitable for PWM?
Picture below shows timer1 pin configuration in STM32CubeMX for STM32F405RGT
you can also use other timers for this purpose.
0
votes
Choice of oscillator for microcontroller
Your calculations are correct.
Also you are not choosing an oscillator, you are choosing a crystal. You kind of chose the oscillator because it is in the chip you will design with.
With that crystal, ...
1
vote
STM32 PWM generation polarity changes after the DMA cycle transfer complete interrupt
Yes I found the answer.
Forget to use HAL for continuous operations. Maybe with right usage half and full complete callbacks and rewrite arrays for DMA. For continuous PWM never break TIM setup only ...
0
votes
How to disable Tx line of USB to Serial converter?
You seem to have an XY problem. You have a simple problem X, but have decided to solve in a way Y that raises even more questions and problems than if you just had asked about solving the original ...
0
votes
Accepted
How to disable Tx line of USB to Serial converter?
Calls for a mux IC: these can be had for cents and can be used to control which lines get connected without your discrete FET circuitry.
The 74LVC1G157 (e.g. Nexperia implementation) is "the"...
2
votes
Accepted
MAX98357A creating popping noise/Understanding I2S for STM32
The MAX98357A typically expects a 16-bit data format, which means that if your MCU is transmitting 32-bit data.You have to adjust the I2S data format to 16-bit (I2S_DATAFORMAT_16B) by modifying the ...
1
vote
Accepted
STM32L431VC reading single channel ADC from multi channel set up
If you want to read values from different channels at different times, the easiest way is to read all the inputs through circular DMA, and in the software, you simply look at the individual values. ...
2
votes
Accepted
Weird SRAM failures when heat is applied to the system and when probed
Answering my own question in case anyone out there might come across the same problem:
There was no issue with the timing specification from a SW or HW perspective nor was there an issue with the PCB ...
1
vote
STM32F03C8T6 (Bluepill) problem when work with JSON using cJSON library
thanks guys this problem solved by increasing heap min size using cubeMX, i change it from 200 to 400 and delete memory allocated every end of function call using free() dan cJSON_delete()
Top 50 recent answers are included
Related Tags
stm32 × 5612microcontroller × 939
c × 363
arm × 338
embedded × 333
adc × 303
uart × 301
spi × 271
stm32cubemx × 253
timer × 231
dma × 209
i2c × 207
usb × 204
interrupts × 200
hal-library × 153
pwm × 146
st-link × 140
gpio × 133
flash × 129
nucleo × 129
keil × 105
bootloader × 104
can × 97
clock × 94
arduino × 85