Author Topic: Padauk pms150C strange Bandgap Comperator behavior  (Read 482 times)

0 Members and 1 Guest are viewing this topic.

Offline KaeToTopic starter

  • Contributor
  • Posts: 27
  • Country: de
Padauk pms150C strange Bandgap Comperator behavior
« on: October 12, 2023, 07:49:09 am »
Hello together

I am working on a little padauk project at the moment. I try to create a little battery control circuit with included voltage indication. I started testing with PFS154. Internal Comperator is used to compare Voltage from resister network to internal Bandgap. 4 voltage ranges should be determined (<3V, <3.6V, <4V and >4V). The operating voltage is between 2.5V and 4.4V. The uC is running with 62kHz internal Oszillator. Oszillator and Bandgap calibration is programmed in startup (oscillator calibration at 3.9V)

Now my problem:
Circuit runs with pfs154 perfectly fine. Voltage levels are distinguished pretty good. When I compile project for pms150C and flash it, it misbehaves. The voltage levels are now shifted lower ( <2.7V, <3.2V, <3.6V and >3.6V). I don't know why this happens. The function and registers of comparitor are same.
Futher abnormalities during programming:
Pms150C calibrate frequency 58kHz - >4kHz off
Pms150C Bandgap calibration value 0x00

I hope someone can help me or has some suggestions.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf