Here’s an app note from Microchip describing how to implement data encryption routines on PIC24 and dsPIC microcontrollers and digital signal processors. This application note discusses the implementation of two of these for PIC24 and dsPIC devices: Triple Data Encryption Standard (TDES) and Advanced Encryption Standard (AES). Source code for this application note is available […]
Tag Archives: microchip
App note: Implementing a Manchester decoder using the CLC and NCO peripherals
Here is an application note from Microchip describing how to implement a hardware Manchester decoder using the CLC and NCO peripherals found on some of their PIC microcontrollers. The objective of this document is to demonstrate how the NCO and CLC peripherals found on PIC16F devices can be used as a Manchester Decoder. Traditional algorithms […]
App note: LLC DC DC reference design using dsPIC
Here is a LLC DC DC converter reference design from Microchip using dsPIC digital signal processing capabilities for control. As presented in this application note, resonant converters, LLC resonant converters in particular, have all of the features mentioned above, resulting in a compact and highly efficient design. Their ability to keep the output voltage regulated, […]
App note: Pulse Oximeter using dsPIC33
Here is a reference design of a pulse oximeter built around the dsPIC33 digital signal processor. Pulse oximeter is a non-invasive medical device that monitors the oxygen saturation of a patient?s blood and heart rate. This application note demonstrates the implementation of a high-accuracy pulse oximeter using Microchip?s dsPIC® Digital Signal Controllers (DSCs) and analog […]
App note: Avoiding MOSFET driver overstress
An application note from Microchip: Avoiding MOSFET driver overstress (PDF!) This application note describes how to avoid MOSFET driver overstress. MOSFET drivers are used in many applications to drive the high input capacitance of a power MOSFET device. MOSFET drivers are very reliable when used within their operating specifications. Care must be taken, however, to […]
App note: Practical guide to implementing Solar Panel MPPT Algorithms
An application note from Microchip: Practical guide to implementing Solar Panel MPPT Algorithms (PDF!) This application note describes how to implement MPPT using the most popular switching power supply topologies. There are many published works on this topic, but only a tiny portion of them show how to actually implement the algorithms in hardware, as […]
App note: Techniques for robust touch sensing design
Here’s an app note from Microchip describing the best design practices when developing capacitive touch applications in noisy environments: This application note will begin by defining the problems caused by noise, and explain how that noise typically affects systems. Hardware guidelines will then be provided to help maximize the natural signal-to-noise ratio (SNR) of the application. […]
A digital constant current power LED driver
Here is an application note from Microchip describing how a PIC12HV615 MCU can be used to implement a digital current control loop for power LEDs: This document describes a power LED driver solution using the PIC12HV615 microcontroller (MCU). The PIC12HV615 is an 8-pin MCU with many integrated analog features. The LED driver circuit is a […]
App Note: Get the maximum power out of a solar panel
Here is an application note from Microchip describing how to get maximum power out of a solar panel. The focus of this application note is to identify how to get the maximum power out of a solar panel to power a remote application. The Maximum Power Point Converter is essentially a DC-to-DC converter, where the […]
Microchip’s BodyCom technology
BodyCom™ Technology provides a secure communication channel using the human body: Microchip’s BodyCom™ Technology is a short-range, low-data-rate communication solution for securely connecting to a wide range of wireless applications. Activated by capacitively coupling to the human body, the system communicates bidirectionally between a centralized controller and one or more wireless mobile units. Intra-body communication […]
App note: Bit Banging I2C on mid-range MCUs with the XC8 C compiler
Bit Banging I2C on mid-range MCUs with the XC8 C compiler: This application note is intended to serve as a reference for communicating with Microchip’s 24XXXX series Serial EEPROM devices without relying on a hardware serial port to handle the I2C operations.
App note: MCP19111 enhanced power analog controller
The MCP19111 enhanced power analog controller is a 1.2 MHz buck controller with an integrated PIC12F inside. It features programmable coil current limit, over and under voltage protection, adjustable feed back loop, as well as up to 12 GPIOs.
App note: PIC24 peripheral pin select (PPS) reference manual
We often use the peripheral pin select (PPS) feature of PIC24F devices. This feature gives you the option to map some peripherals onto many different pins, instead of being locked onto specific pins. Here’s the reference manual for PPS. Most of the PIC24F family devices support the Peripheral Pin Select (PPS) feature. The PPS constitutes […]
App note: Using USB flash drives with USB host capable PICs
Here’s an app note from Microchip describing how to use USB flash devices with microcontrollers that have USB host capability. The article also provides instructions on how to use the USB OTG Configuration tool. This document describes the USB Data Logger, Mass Storage demo application. It gives an overview of the application’s firmware, how it […]
App Note: mTouch CVD capacitive sensing method
Here’s an app note from Microchip describing the implementation of the mTouch capacitive voltage divider (CVD) capacitive sensing. CVD is a capacitive sensing technique designed to only require a single ADC pin to function. CVD measures capacitance connected to this pin by comparing it to the internal capacitance of the ADC sample and hold circuit. […]
App Note: Combining peripherals to implement a high resolution PWM
Here’s an app note from Microchip describing how to use the configurable logic cell (CLC) and the numerically controlled oscillator (NCO) peripherals to generate a high resolution pulse-width modulation signal. These peripherals are relatively new to Microchip’s product line and can only be found on some PIC10F and PIC16F devices: By itself, the NCO peripheral […]
App note: Digitally Addressable Lighting Interface
Microchip describes the digitally addressable lighting interface (DALI). This interface was designed to control dimmable fluorescent ballasts. Two wires are used to transmit Manchester coded message packets. The timing is standardized at 1200 bps so there is no need to transmit the clock signal, similar to how UART transmission works. The Digitally Addressable Lighting Interface […]
App Note: Various solutions for calculating a pulse and duty cycle
Here’s an app note from Microchip describing various methods for measuring pulse in periodic and non-periodic waveforms. Calculating duty cycle in periodic waveforms is also described. Many times it is desirable to quantify the pulse width of a periodic signal, such as that of a servo motor or duty cycle of a pulse-width modulated signal. […]
App note: Matching MOSFET drivers to MOSFETs
Here’s an app note from Microchip detailing how to match MOSFET drivers to MOSFETs. There are many variations of MOSFETs out there, and matching one to your driver and vice-versa is essential to getting the most out of your system. This Application Note discusses the details of MOSFET driver power dissipation in relation to MOSFET […]
App note: Video playback and streaming with PIC32 microcontrollers
Here’s an application note from Microchip describing how to implement video playback, and streaming on PIC32 microcontrollers. The article is written around the Multimedia Expansion Board which features an LCD graphics controller, but it’s enough to grab the basic concepts for your own design. This application note describes four methods of playing a video file […]
