Random peaks occurs when bg95-m3 modules turns on

komal.nagda
Posts: 1
Joined: Mon Jun 13, 2022 4:23 am

Random peaks occurs when bg95-m3 modules turns on

Postby komal.nagda » Mon Jun 13, 2022 1:34 pm

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.
Attachments
MCU GPIO Glitchh.png
MCU GPIO Glitchh.png (282.28 KiB) Viewed 1130 times
Screenshot from 2022-06-10 12-53-59.png
Screenshot from 2022-06-10 12-53-59.png (257.74 KiB) Viewed 1130 times

ESP_Sprite
Posts: 9745
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Jun 14, 2022 1:44 am

You could try to use gpio_configure() instead of that set of commands.

Who is online

Users browsing this forum: No registered users and 91 guests