Re: Hello. I'm trying to make a low power board.
Posted: Wed May 29, 2024 4:26 am
OK, you are talking about a step-down or buck-converter ...myksj1105 wrote: Tue May 28, 2024 10:46 pm Q1) Can you recommend a low-power ‘SMPS’?
Q2) Is it possible to make 3.3VDC with low power other than 'SMPS'?
Is it a good idea to use such a part, if you want to read values of an ADC???
From switching there is a noise on power line.
Go to a distributor like Digikey or Mouser and search for parts.
You need one with a low quiescent current (the current a regulator need itself without load). And it should work up to 100% duty cycle.
Of course there are also LDOs with low quiescent current:
MCP1700 with IQ = 1,6 µA and ILOAD < 250mA.
Another important parameter is dropout voltage. Here it is about 178 mV (typ) for ILOAD = 250 mA. That means: for 3.3V at output you need 3,48 V at input minimum. Of course if µC needs less that 250 mA, dropout voltage is lower.
An LDO may work with lower input voltage and simply reduce output voltage. But you have to try out.
Most of buck converters have higher IQ than LDOs!
-------------------------------------------------
Correct, USB normally needs a accurate 48 MHz clock (if I remember right)myksj1105 wrote: Tue May 28, 2024 11:47 pm 3) After removing the crystal, DFU USB is not recognized.
But: for what your board needs USB, if it is somewhere outside, where there is no electricity and you are using a battery???
Once more: take a look into datasheet.myksj1105 wrote: Tue May 28, 2024 11:47 pm Q1) Do I need to set the internal 'clock'? But I don't know what to do.
STM32-chips should start with HSI clock and if you want HSE (with external crystal) you have to activate. But there are other users who will know it better.
And when a µC is using HSI: why oscillator for external crystal should be active?
Do you checked it with oscilloscope, if there is a signal at crystal?
Or do you simply like to remove parts from a board?

-----------------------------------------------
One year means 365 * 24 = 8760 hours.myksj1105 wrote: Tue May 28, 2024 10:46 pm - 3.6~4.2V, lithium battery, 2000mAh
- I want to use it for 1 year.
2000 mAh / 8760 = 228 µA overall - active and sleep mode.
If you assume, that µC will need 5 mA during active period (1 min) calculation is:
5 mA * 1/60 + x mA * 59/60 = 0,228 mA
or
x = (60 * 0,228 mA - 5 mA) / 59 = 147 µA during sleep.
From this you have to subtract current for LDO or buck converter.
A STM32F103 at 8 MHz and all peripherals disabled still needs 3 mA during sleep.
In run mode it will have 5.5 - 8.6 mA at 8 MHz.
Datasheet of STM32L151 sounds really difficult with different core voltages and ranges.
But I guess with HSI clock you will not go below some mA for sleep mode and you will need MSI and a low clock frequency.
BTW: how you will get out data after a year from pseudoEEPROM?
And is pseudoEEPROM area large enough to store data for a whole year?
One last remark:
You can walk by feet, take a bicycle or a fast Ferrari. If you are on the road in wrong direction, you will never reach your destination!