The RK3399 Overclock/Undervolt/Voltages Thread
#23
(05-23-2021, 09:05 AM)generaleramon Wrote: i'm compiling a lot recently and i noticed that the red led blinks sometimes, do you know if it is just temp related or it can be an over-current protection? The SoC is now drawing 11W+ and almost touching 75c

As far as I can see, the primary reason for the red LED to start blinking is the overheating of the battery charging IC, BQ24171; the datasheet describes the STAT output and the status LED on pages 5, 17, 18, 23 and 24.  The conditions that cause the battery charging to be suspended because of the battery temperature, and the conditions required to enable or disable the battery charging in general, are described on page 9 and page 18 of the BQ24171 datasheet, respectively. 

Another reason for the red LED to start blinking could be that the battery starts to overheat under load, but that doesn't seem plausibe to me, especially because I've never felt that the part of the back cover above the battery becomes even lukewarm.

Here's what the above-described conclusion has been based on:
  • As configured in the PineBook Pro, the BQ24171 is nowhere near its charging current limit, which can go up to 4 A, but the battery charging current is configured (using the BQ24171's ISET pin) to stay at or below 3.3 * (20 / (20 + 100)) / 0.2 = 2.6 A.
  • The PineBook Pro always takes power from the battery, instead of directly from any of the two power inputs, so no overcurrent protection in the BQ24171 should be taking place, unless the battery is faulty, of course.  This pretty much follows the reference design available on page 28 of the BQ24171 datasheet.  In other words, the BQ24171 is configured to just keep topping up the battery, and the battery provides additional power even when a charger is plugged into the laptop.
  • When the red LED starts blinking, it doesn't return back to solid red until the cooling of the underside of the laptop is improved, nine times out of ten.

As an unfortunate result of the first two bullet points, the most power that the PineBook Pro can effectively consume from any of its power inputs, without reaching into discharging the battery, is around 11.4 W (2.6 A at around 2.1 / (100 / (107 + 100)) = 4.37 V, which is the battery voltage when fully charged), despite the fact that the barrel port, for example, can provide 3 A at 5 V, which equals to 15 W.  Could you, please, use the BQ24171 datasheet and page 11 of the PineBook Pro schematic to verify this and correct me if I'm wrong?

What really s*cks is that the BQ24171 pretty much cannot be made visible to the software, and its configuration is performed using resistors. Sad  This also means that it's impossible to check the current temperature of the battery in software.  The only way to communicate with it is to observe the red LED; however, the pin that drives the status LED could be connected to a GPIO line of the RK3399.

Is the BQ24171 in your PineBook Pro still in touch with the back cover, using the thermal pads you've previously applied?  If so, it might be worth trying to reduce the thickness of that thermal pad, using a square piece of aluminum sheetmetal affixed to the back cover, right above the BQ24171.

(05-23-2021, 09:05 AM)generaleramon Wrote: Btw, this is my .dtsi at the moment. Running 1704Mhz / 2208Mhz / 1100Mhz and stable Big Grin i'm pretty sure that ram bandwidth is holding the SoC back now

Those are some rather serious overclocks. Smile

Edit: More precisely, the above-stated limit of 11.4 W should be the limit for what the BQ24171 can put into the battery, while the total power draw from one of the two power inputs should be a little higher, due to the losses inside the BQ24171.
  Reply


Messages In This Thread
RE: RK3399 Voltage Limits - by dsimic - 03-27-2021, 11:18 PM
RE: RK3399 Voltage Limits - by generaleramon - 03-28-2021, 12:28 AM
RE: RK3399 Voltage Limits - by dsimic - 03-28-2021, 12:50 AM
RE: RK3399 Voltage Limits - by generaleramon - 03-28-2021, 01:29 AM
RE: RK3399 Voltage Limits - by dsimic - 03-28-2021, 02:23 AM
RE: RK3399 Voltage Limits - by generaleramon - 03-28-2021, 04:28 AM
RE: RK3399 Voltage Limits - by dsimic - 03-28-2021, 04:41 AM
RE: RK3399 Voltage Limits - by generaleramon - 03-28-2021, 04:57 AM
RE: RK3399 Voltage Limits - by dsimic - 03-28-2021, 05:07 AM
RE: RK3399 Voltage Limits - by generaleramon - 03-28-2021, 05:33 AM
RE: RK3399 Voltage Limits - by dsimic - 03-28-2021, 06:59 AM
RE: RK3399 Voltage Limits - by dsimic - 03-28-2021, 09:55 AM
RE: RK3399 Voltage Limits - by generaleramon - 03-28-2021, 10:18 AM
RE: RK3399 Voltage Limits - by dsimic - 03-28-2021, 10:51 AM
RE: RK3399 Voltage Limits - by generaleramon - 03-29-2021, 04:24 AM
RE: RK3399 OC-UV Voltage Limits - by dsimic - 04-01-2021, 06:26 AM
RE: RK3399 OC-UV Voltage Limits - by dsimic - 04-20-2021, 08:43 AM
RE: RK3399 OC-UV Voltage Limits - by dsimic - 05-23-2021, 12:26 PM
RE: RK3399 OC-UV Voltage Limits - by coetzeesg - 04-26-2021, 03:54 PM
RE: RK3399 OC-UV Voltage Limits - by dsimic - 05-24-2021, 07:09 AM
RE: RK3399 OC-UV Voltage Limits - by dsimic - 06-04-2021, 03:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  serial cable 2023 thread bsammon 2 1,188 07-20-2023, 10:13 AM
Last Post: bsammon
Tongue Yet another Pinebook Pro won't boot thread pinemouth 4 2,406 05-20-2023, 01:02 AM
Last Post: jackwilson
  1000th thread KidTechnical 0 679 12-20-2022, 09:26 AM
Last Post: KidTechnical
Wink Booting Windows on bare-metal rk3399 SBC (no linux involved) strongtz 9 10,451 05-26-2022, 11:36 PM
Last Post: strongtz
  Is it possible to overclock Nonetrix 13 16,500 12-04-2020, 07:31 AM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)