ARM, Software

ARM Instruction Set(Part 2): Types,Operands and Addressing Modes

Types,Operands and  Addressing Modes After a brief introduction of ISA, here in this part of the series we’ll look at: Content:   Types of Operands  Instruction set design Types of Instructions Types of Addressing modes Types of Operands: Operands basically refer to the type of parameter which is passed on to, along with an instruction. It might be a : Register/Memory address Constant/Immediate Consider the following examples: ADD r1,r2,r3;      will add r2 and r3 and store…

Continue Reading

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 in fact a part of one of my recent ongoing project 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 PWM signal…

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  …

Continue Reading

Hardware, Software

Introduction to FRDM KL46Z and KDS

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 Flexible…

Continue Reading