Page 1 of 1

Random peaks occurs when bg95-m3 modules turns on

Posted: Mon Jun 13, 2022 1:34 pm
by komal.nagda
Hello,
We are currently testing the current of our device with the PPK2 kit.

We use the ESP32 as MCU and we are switching Cellular Module i.e BG95-M3 mPCIe

Module using the P-Channel High Side Switching, as you can see in the attached image.

The EN pin of the N channel MOSFET (in the attached image) is controlled by ESP32 GPIO IO23(Bg95_TRIGGER).

we are changing the gpio state from on to off using below APIs:-
gpio_set_level(BG95_TRIGGER, 0) //off

gpio_reset_pin(BG95_TRIGGER)
gpio_set_direction(BG95_TRIGGER, GPIO_MODE_INPUT) //direction input
gpio_set_pull_mode(BG95_TRIGGER, GPIO_PULLDOWN_ONLY) .
we use Reset API to optimize the power consumption. due to this reset api we get Glitch voltage on bg95 trigger pin i.e GPIO IO23(Bg95_TRIGGER) of 250 microseconds and due to this glitch we get 1.5A peak current for 30 milliseconds.
In attached image -
red line -> bg95 supply
blue line -> bg95 trigger pin

is there any alternate solution for this or any API available?
Looking forward to hearing from you soon.

Re: Random peaks occurs when bg95-m3 modules turns on

Posted: Tue Jun 14, 2022 1:44 am
by ESP_Sprite
You could try to use gpio_configure() instead of that set of commands.