staringlizard
  • Member for 5 years, 2 months
  • Last seen this week
  • Helsingborg, Sweden
STM32 custom board
6 votes

Yes, that will be fine. The board will always be accessible through JTAG, or swj-dp as is it called. Here is some general advice though: Do not forget about the BOOT pins. They need to be set ...

View answer
Should I consider debouncing my push button?
6 votes

Yes, you should consider debouncing your push button if the push button does not do this for you.

View answer
AVR Microcontroller board capacitor recommendations
2 votes

The absolute best approach is (as mentioned in the datasheet for the MCU) to place at least one decoupling cap as close as possible to one power pin. The capacitor should be as stated in the datasheet!...

View answer
What are the indicators of insufficient decoupling
2 votes

I have an easier and shorter answer: When you have inadequate power you will get all kinds of weird problems that are usually not related to each other and that at first glance seems impossible to ...

View answer
STM32L011 temperature sensor - almost constant output
2 votes

I would recommend you to take a look at stm32 examples (STM32CubeL0): They have example for how to read the internal temperature sensor. They are using HAL library but you can easily backtrace the ...

View answer
maximum distance between IC power pins and decoupling capacitor
2 votes

Although I agree with the other answers for this question, I would also highlight that you will always be better off adding some decoupling to your board. Also, decoupling scheme depends on the ...

View answer
What is the best tips to use while soldering?
2 votes

Just buy a tip from a good brand and you will be good to go. You really do not need to worry about the coating or metal. One important thing would be to have a welding tip cleaner (steel wire ball) ...

View answer
External interrupts in stm32f10x
Accepted answer
2 votes

When using a GPIO pin for external interrupt (without setting the alternative function for the pin) you can have exactly one interrupt per line. Hence, you can never have an external interrupt for ...

View answer
Can I use just plain GCC to compile program for Nucleo?
1 votes

Yes, you can! You can get your linker script from the stm32cubef4. Then just make a simple Makefile and you are ready to rock. Make sure that you link in the basic stuff (CMSIS). The cubef4 contains ...

View answer
SimCom SIM5360 sharing SD card with uController
1 votes

Make Sim5360 "master" for the SD card. So it can get dedicated access to the sd card when needed. This can be achieved using some input pin on the uC that is controlled by Sim5360. If uC is not able ...

View answer
Open Error on host while using VCP on STM32
1 votes

This is probably because your Hal_Delay function is not working properly. Hal_Delay function will enter a busy loop that will compare an interrupt incremented value with the value you specify as ...

View answer
STM32F373 Input Capture
Accepted answer
1 votes

According to the datasheet PB0 AF2 is TIM3_CH3 and not TIM3_CH2. I would change to this: TIM_ICInitStruct.TIM_Channel=TIM_Channel_3; TIM_ICInitStruct.TIM_ICPolarity=TIM_ICPolarity_Rising; ...

View answer
Soldering help - RPi 0
1 votes

Possible reasons for not being able to melt solder: Small footprint for the pad makes it harder to transfer heat. Crappy solder iron. Too small solder tip. Pad is efficient in dissipating heat. It ...

View answer
I2C Problem on STM32F4 Discovery connecting to CS43L22
1 votes

You never activate the clock for GPIO port C because of copy-paste mistake. Change this: RCC->AHB1ENR |= RCC_AHB1ENR_GPIOBEN; //Enable the clock for GPIOA To this: RCC->AHB1ENR |= ...

View answer
Buck converter PCB traces width
1 votes

8 Amp is a whole lot of current and you need to understand where all this current will flow on the PCB. After this is understood you can go ahead and design the trace width for all the different ...

View answer
Mounting micro USB B connector on a PCB
1 votes

Never ever use SMD parts that will be subject to mechanical stress. Connectors like these should always be securely mounted and not rely on some pad on the pcb (which is generally very weak).

View answer
How to make my Deo-nano work on 100Hz with internal clock?
1 votes

You need hook up the posedge clk_50mhz to the internal oscillator of the FPGA device you are using. Normally the vendor will supply you will convenient tools that you can do this with and that will ...

View answer
meddling with phone battery and charger
1 votes

Batteries contain energy and chemicals and those two things generally tends to be unsafe. A good battery should contain functionality to stop bad things to happen, such as thermal shutdown and short ...

View answer
What is the penalty for using vias?
0 votes

If I may be somewhat strict (4Mhz is not really that big of a deal) in this matter. Unless all other traces are carrying higher frequencies I would not have a "high energy" signal like this going ...

View answer
What's the min space between exposed via pad to exposed component pad during reflow?
0 votes

In my opinion, the solder will not run into the via as long as there is a reliable soldermask web between them. Is that right? Yes, that is generally correct. The fab will however have requirements ...

View answer
Structure of a usb 2.0 connector
0 votes

The outer metal connector is the USB connector shield. It will shield the wires from EMI. Note that the shield should not serve as connecting wire, i.e. should just be grounded by one end.

View answer
STM32F072C8 - USB communication issue
-1 votes

You need to set the pins to its alternative functions. See examples below (this is for stm32f7 series, so you probably cannot use it directly): Full Speed Device void HAL_PCD_MspInit(...

View answer