ARM, Software

DIY: Generating Ramp/Sawtooth from PWM

DIY: Generating Ramp/Sawtooth from a PWM signal Lack of any good tutorial to produce a ramp/sawtooth wave from a PWM signal urged me to make one! This post was a part of one of my recent ongoing projects, i.e., Redesigning the Semiconductor CURVE TRACER, here at CEDT, NSIT. I was to produce a sawtooth wave from a PWM signal using Arduino nano, and here are my observations: TASK:  To produce a sawtooth wave from the PWM signal using Arduino Nano. PROCEDURE: Producing a ramp/sawtooth wave out of a PWM signal merely involves passing a PWM signal of varying duty cycle through…

Continue Reading

ARM, Software

ARM Instruction Set(Part 1): Initialization

INTRODUCTION TO INSTRUCTION SETS I recently brought the ARM edition of the book Computer Organization and Design by Patterson and Hennessy from library. Half way through the book, I thought of sharing the content of this book in a more elaborated manner by making a series of tutorials on Arm Instruction Set.So, here’s part one of the series. Content Basic definitions Types of Instruction sets Architecture(ISA) General purpose register architecture Stack architecture Accumulator architecture Basic Definitions   Benchmarks:  A program selected for use in comparing computer performance.SPEC(System Performance Evaluation Cooperative) is such an effort supported by a number of vendors…

Continue Reading

Hardware, Software

Introduction to FRDM KL46Z and KDS

Outdated post alert: Sorry, this post is no longer being maintained. If you are loooking for some sample code for FRDM KL46Z visit: https://github.com/madaari/FRDM-KL46Z-developnment-board Year ago, i wrote a tutorial on getting started with freescale’s FRDM KL46Z development board. since then it was just a draft, today, i thought of updating and releasing it. So, here it is: But first of all, a very brief introduction of the development board and OpenSDA FRDM KL46Z Features MKL46Z256VLL4MCU – 48 MHz, 256 KB flash, 32 KB SRAM, segment LCD, USB OTG (FS) , 100 LQFP Capacitive touch slider, MMA8451Q accelerometer, MAG3110 magnetometer…

Continue Reading