I'm designing circuit with STM32L0 MCU that storage some data in microSD via SPI interface.
I have power budget of 5V @ 500mA via VBUS so, I would like to estimate microsd's current consumption.
I have seen two posts(1, 2) about microSD current consumption. to sum it up, the answers in both posts says that current consumption is variant and vendor specific. it differents from microsd to another.
could you please suggest me what to do about it? How should I design the circuit with a variant gap of current consumption?
For example, limit the microsd's current consumption to 150mA and put current limiting IC at microsd's VDD pin?
EDIT: my circuit also contains 8ohm 0.2W speaker that power from 3.3V power rail. speaker's current consumption is about 160mA. only the speaker and the microSD alone current consumption is about ~300mA. the application should record data on demand from UART and write it to micro sd card in real-time. every 2sec the system should write data, 16Kbytes, to micro sd card. meanwhile, the application should play a couple of sounds in different frequencies. my concern is to exceed VBUS current consumption (500mA) while the speaker and the microSD are on