# Tag Info

As an informational commentary on the keypad design in the question I wanted to indicate that there could be some issues to deal with. I made a spreadsheet to calculate the nominal switch detect ...
• 55.1k

The STM32F407 ADC has an analog watchdog mode that generates an interrupt when a set threshold is crossed. You can use that to detect change from idle state to a button press. You can also stop using ...
• 87.4k
Accepted

### Using a FDCAN controller with a CAN transciever on the STM32 platform (G431KB)

The solution was to simply set the correct timings. In case anyone else comes across this thread, you can use http://www.bittiming.can-wiki.info/ for CAN messages and https://www.kvaser.com/support/...

### Voltage regulator consume more current

The LP3961 has a typical quiescent current of 3 mA in normal operation. Look for another linear regulator or find a way to shutdown/enable the LP3961.
• 1,578

### STM32F401 failed the search for probes ensure that the usb drivers are installed

Have reached this same error after I wrote a program to Transmit "Hello World" via LPUART1 on Nucleo-G431RB. Error message from IAR EWARM Nucleo Board's LPUART1 pins are shared with built-...

...

### Ebyte E32 RF Module Configuration Problem

Check AUX goes low indicating self-test on power on reset (POR). Get UART working. Ensure signals from Radio : Tx, Aux go to Vdd or add pull-up 4k
Accepted

### Difference between open drain and push-pull modes

Open-drain depends on a pullup resistor to provide the high state, while the low state is actively created by a transistor. So the pullup network has relatively high impedance to VDD and very low ...
• 4,995
Accepted

### How can I control an ESC with an STM32F303K8

Easiest way to do is to use rc servo signal similar to throttling signal from receiver. For more advance protocol like D-Shot, Multi-shot there are no library for that yet. You need to generate ...
• 952

### Smooth wave plotting using 3 inch thermal printer

Without reading the datasheet, it is obvious from these lines that you operate on a number of bits: ...
• 12.7k
1 vote

### Using MDMA for buffer manipulation on STM32H743vit

The random number generator only supports interrupts, so has no mechanism to signal to any DMA controller when a new value is available. One way to do it is of course to set up a timer to generate DMA ...
• 87.4k

### STM32L496 ADC with HAL and DMA: only one byte updated in results buffer

I was having a similar issue, I was able to fix it by setting DMA Continuous Requests to Enabled.
1 vote

### Cannot configure timer to 10µs on STM32F401 device

I got my solution: there wasn't any problem with the initialization. The problem was that in the stm32f4 series and beyond, you have to set freeze bits in the DBGMCU_APB1_FZ register. This is used if ...

### Cannot configure timer to 10µs on STM32F401 device

According to the screenshot you provided, your TIM3 clock frequency is 84 MHz, as it's connected to APB1. (see "APB1 Timer clocks" box) By default, timers continue to run even when your code ...
• 1,132
1 vote
Accepted

### USART stop bit not pulled high during nRF update

The problem was the clock setting (low accuracy clock was used probably) solution is here: https://devzone.nordicsemi.com/f/nordic-q-a/87580/issue-with-updating-nrf52832-over-usart ...
Accepted

### ADC doesn't start from 0V

1M$\Omega$ is too high for the on-chip ADC source impedance (it depends on how you are using the ADC, and the information is in the MCU datasheet, I'm not going to evaluate how you are using it, ...
• 328k
1 vote

### Measuring capacitance with STM32

In order to use measure capacitance and inductance we use AC sources. Emulate a AC sine source using the microcontroller , make a Sauty bridge then feed the differential input of the Sauty bridge to ...
• 469
1 vote

### Measuring capacitance with STM32

The proper way to measure capacitance is with a constant current or by impedance ratios at some frequency. Consider the timer method. Use two threshold voltages, (one could be 0V) with a difference ...

### Measuring capacitance with STM32

You have the GPIO going to the capacitor through a 1 Meg resistor, and then you've connected the ADC input to it. What is the impedance of the ADC input? If I read the datasheet correctly it is 50 k. ...
• 3,642

### Reading MPU6050 with Nucleo-32, Arduino IDE

Regarding the pinout, you need to check the datasheet of the board: https://www.st.com/resource/en/user_manual/dm00231744-stm32-nucleo32-boards-mb1180-stmicroelectronics.pdf As written on page 25, you ...
Accepted

### STM32H743 MDMA can't access APB2

The big reason the DMA isn't transferring is that it isn't actually connected to the peripheral. In most Cortex implementations I've seen, there are multiple memory buses. The ST implementation isn't ...
• 2,351
1 vote

### Offset in creating delay between two PWM in STM32 board

I have a hardware solution, but you need to use TIM3 or TIM4 instead of TIM6. Timers can be configured to trigger each other on specific events. Here, both TIM1 & TIM2 are configured in [Slave ...
• 1,132

### STM32 FMC minimum clock

It makes little sense to put a device with such a slow bus on the FMC. You likely will write multiple bytes sequentially, which makes the whole system to pend on a write until FSMC bus operation is ...
• 87.4k
1 vote

### Offset in creating delay between two PWM in STM32 board

This could be caused by a difference between the two timers being used. Timer 1 has break inputs. Timer 2 has not. And because of that I think the call to ...
• 16.2k

### "Could Not Verify ST Device" when flashing STM32H747XIH6 over SEGGER J-link within STM32CubeIDE

The debug probe is trying to access memory (0x23000FD0) that is out-of-bounds. Check your project/debugging toolchain configuration. You probably specified the ...
• 1,084

### Does the frequency of APB1 on stm32f4 have to stay at 42 MHz?

You can basically make the clocks do whatever you like within their limits. However, changing the clocks has an effect on all attached peripherals an it looks like UART 2,3,4 an 5 are connected to ...
• 20.4k

### Problems increasing VCO frequency above datasheet recommendations

Is it safe? No, it is not. If it is a hobby project run on your desk - you can experiment. But if you want to put it into the drone - never do it. In commercial projects - never do it. One of my ...
• 2,279

### Problems increasing VCO frequency above datasheet recommendations

Well, 720 MHz is 66% over the 432 MHz limit so highly unlikely it will work. As you have correctly calculated, you can achieve 168 MHz as the highest core clock when 48 MHz USB clock is required. That ...
• 87.4k