npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mchp-mcc/cmp-dac-driver

v1.1.0

Published

- Download & Install [nodejs](https://nodejs.org/en/download/) - Download & Install npm - Setup node & npm in enviroment path

Downloads

725

Readme

MCC Melody High Speed Analog Comparator With Slope Compensation DAC (CMP DAC Driver)

Overview

The high-speed analog comparator module provides a method to monitor voltage, current and other critical signals in a power conversion application that may be too fast for the CPU and ADC to capture.

The high-speed analog comparator module is comprised of a high-speed comparator, Pulse Density Modulation (PDM) DAC and a slope compensation unit. The slope compensation unit provides a user-defined slope which can be used to alter the DAC output. This feature is useful in applications, such as Peak Current mode control, where slope compensation is required to maintain the stability of the power supply

Features

  • The user can configure the DAC Mode based on their application needs.
  • There are four modes supported : DC-Mode, Slope Mode, Hysteretic Mode and Triangle Wave Mode.
  • The Clock and Divider settings can be configured in the PLIB dependency of the driver module.

DAC Modes

DC-Mode

The DC mode is the default mode of operation of the DAC. The other modes use slope generator to vary the DAC data value at a user-defined rate to reach a desired endpoint value. DC-Mode

Slope Mode

The slope generator function can be utilized in Peak Current mode control-based power supply applications, where slope compensation is required. The slope function modifies the non-slope PDM DAC value repeatedly, at a user-defined rate, until the DAC data value reaches its endpoint. Slope-Mode

Hysteretic Mode

Hysteretic mode control is sometimes called “Bang-Bang” control, where a signal within a power converter is controlled within an upper cutoff and a lower cutoff limit. The Hysteretic mode is used in power supply applications utilizing hysteretic control, such as LED drivers.

Hysteretic-Mode

Triangle Wave Mode

Triangle Wave mode generates an output voltage that rises and falls with a triangle wave pattern. Triangular-Mode

PIC24/dsPIC33 CMP Driver, PLIB and Device Package Version Compatibility Matrix

|CMP_DAC Driver | CMP_DAC PLIB| PIC24/dsPIC devices | |:---| :---|:---| 1.0.1 | >=1.1.0 | >=5.4.0 1.0.0 | 1.1.0 | <=5.4.0 1.0.0 | <=1.0.1 | <=5.3.0

Changelog

All notable changes to this project will be documented in this file.

[1.1.0] - 2024-07-10

New Features

  • CC16SCRIP-9551 :- Updated link for API reference document
  • CC16SCRIP-7975 :- Added inline help for configuring Steady State Time and Transition Mode Time

[1.0.5] - 2023-10-04

New Features

  • CC16SCRIP-7618 :- Updated notification for Slope-Mode, when a PWM generator is selected as trigger source

[1.0.4] - 2023-06-30

Bug Fixes

  • CC16SCRIP-6615 :- Added notifications when SPGA1/2/3 is selected as Non inverting input

[1.0.3] - 2023-01-11

Bug Fixes

  • CC16SCRIP-5331 :- Some Registers in generated code were not initialized to power-on reset values

[1.0.2] - 2022-05-24

New Features

  • CC16SCRIP-2045 :- Dependency module names updated in builder view

[1.0.1] - 2022-01-13

New Features

  • CC16SCRIP-3419 :- Dependency Selector label updated with PLIB name
  • CC16SCRIP-3324 :- Added notifications for the signal selections in Slope Mode