Skip to main content

New answers tagged

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 ...
Pablo Carvelli Vargas's user avatar
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.
Hans mitm Flammenwerfer's user avatar
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. ...
ElectronicsStudent's user avatar
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 ...
Dave Tweed's user avatar
  • 176k
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 ...
Attie's user avatar
  • 2,438
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, ...
Michal Dudka's user avatar
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 ...
Rohat Kılıç's user avatar
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 ...
Justme's user avatar
  • 164k
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.
Nima Azad's user avatar
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, ...
Justme's user avatar
  • 164k
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 ...
girikks's user avatar
  • 11
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 ...
Justme's user avatar
  • 164k
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"...
Marcus Müller's user avatar
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 ...
liaifat85's user avatar
  • 160
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. ...
niko1007's user avatar
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 ...
Oscyzilla's user avatar
  • 137
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()
Wahyu Dwi's user avatar

Top 50 recent answers are included