Changes To The MMC / SD Memory Card Driver Files
|
|
|
- Sabina Pearson
- 9 years ago
- Views:
Transcription
1 MMC / SD Memory Card FAT16 / FAT32 Driver Revision History This document lists changes that have been made to the driver project files to allow past customers to easily check for recent updates / bug fixes since they purchased their project. Changes To The MMC / SD Memory Card Driver Files First released version. Comments where FFC_DI is used we're misleading as they specified DO, relating to the memory card pin, rather than DI used in the code - comments corrected. 'while (!FFS_SPI_BUF_FULL)' in function ffs_write_byte in mem-mmcsd.c had no semicolon so the following return statement would occur immediately - corrected. Added the following to the function ffs_process in mem-mmcsd.c just after 'ffs_bytes_per_sector = 512;' and just before '//----- READ THE MASTER BOOT RECORD -----' as this fixed a user reported issue where writing files to the card would cause the card to require re-formatting:- FFS_CE = 1; //De-select card ffs_write_byte(0xff); //Send extra clock pulses in case card is still completing an operation FFS_CE = 0; //Re-select card Revision A This fixed a rare issue where some cards would become corrupted due to the card not processing some commands sent to it. In the file mem-mmcsd.h add the following define after #define FFS_DRIVER_GEN_512_BYTE_BUFFER:- #define DO_BUSY_STATE_ACCESS_DELAY Nop(); //('Nop();' is a single cycle null instruction for the C18 compiler, include multiple times if required to provide time for the card to drive the DO line if it needs to) Then in the file mem-mmcsd.c search on all 3 occurrences of the following line:- and add the this line before each:- Revision B The driver was not specifically using a low SPI bus speed for initialising a new card, which some cards require. In the file mem-mmcsd.h add the following define after #define FFS_CD_PIN_NC:- //SPI BUS LOW SPEED (Max 400KHz) //- Adjust as required for the microcontroller and instruction clock frequency being used
2 #define SPI_BUS_SET_TO_LOW_SPEED SSPCON1bits.SSPM3 = 0; SSPCON1bits.SSPM2 = 0; SSPCON1bits.SSPM1 = 1; SSPCON1bits.SSPM0 = 0; //SPI BUS FULL SPEED (Max 20MHz) //- Adjust as required for the microcontroller and instruction clock frequency being used #define SPI_BUS_SET_TO_FULL_SPEED SSPCON1bits.SSPM3 = 0; SSPCON1bits.SSPM2 = 0; SSPCON1bits.SSPM1 = 0; SSPCON1bits.SSPM0 = 0; Then in the function ffs_process add the following after //----- INITIALISE NEW MMC / SD CARD SPI_BUS_SET_TO_LOW_SPEED; And add the following before //Send command 1 (do initialise) SPI_BUS_SET_TO_FULL_SPEED; V1.07 Re-worked card initialise to include CMD8 for SD V2.00 compliance and CMD58 to determine card capacity type Added detection of MMC or SD card during initialisation, allowing higher 25MHz bus speed to be selected for SD cards. Added SDHC and MMC plus high capacity card support. Added optional SD write protect pin checking. V1.08 Added support for the Microchip C30 compiler. ffs_read_byte now reads the received byte after transmit is complete, to deal with devices that require this or will overflow. Added optional real time clock support. File creation, last modified and last accessed time and date values are automatically stored if enabled. When closing a file if the last write to the card before it is removed or powered down just occurred some cards have been found to not store the last sector written. In ffs_fclose we now check for card still busy and provide additional clock pulses if it is, by adding the following before the return statement:- FFS_CE = 0; //Select the card FFS_CE = 1; //Deselect the card V1.09 To fix possible problem when time and date stamping files, in mem-ffs.c added (WORD) in front of each occurance of FFS_RTC_YEAR, FFS_RTC_MONTH FFS_RTC_DATE, FFS_RTC_HOURS, FFS_RTC_MINUTES, FFS_RTC_SECONDS to ensure values are treated as 16 bit during bit shift operations. To fix issue with very large cards, in mem-mmcsd.c corrected two occurances of: ffs_write_byte((byte)((sector_lba & 0xff0000) >> 24)); //Data to be: ffs_write_byte((byte)((sector_lba & 0xff000000) >> 24)); //Data To correct minor error, in mem-ffs.c function ffs_get_next_free_cluster changed the following 2 lines:- w_data = (DWORD)*buffer_pointer++; w_data = (DWORD)(*buffer_pointer++) << 8; to be: w_data = (WORD)*buffer_pointer++; w_data = (WORD)(*buffer_pointer++) << 8; V1.10 Direct support added for CrossWorks for ARM compiler using NXP 32bit Arm micro.
3 FFS_CE output pin definition modified to support pin set and pin clear registers where needed. Added ffs_change_file_size() function. The ffs_check_command_response_byte function relied on the last response value being retained in FFS_SPI_RX_BYTE_BUFFER as the value was read again and tested by various functions which called ffs_check_command_response_byte. This is not suitable for microcontrollers that have a fifo buffer on the SPI port receive. Changed to use a new global variable called chk_cmd_response_data in which the FFS_SPI_RX_BYTE_BUFFER value is stored and which the calling functions instead use to test with. It has been found in some circumstances that corruption issues can be solved by replacing the following occurrences: with this: The cause of this is unknown as the specification does not appear to require this, but it does not prohibit it either so it is sensible to include. Added the following at the end of ffs_flush: //----- ENSURE CARD HAS COMPLETED LAST WRITE PROCESS //When closing a file if the last write to the card before it is removed or powered down just occurred //some cards have been found to not store the last sector written. If the card is flagging that its busy //then provide clock pulses to allow it to complete its last operation FFS_CE(0); //Select the card FFS_CE(1); //Deselect the card return(0); Removed the ENSURE CARD HAS COMPLETED LAST WRITE PROCESS section from ffs_fclose as this is now provided by ffs_flush. ffs_read_sector_to_buffer function modified to include retry if the read fails to deal with rare cards found to not action the command if busy whilst not actually flagging that they are busy. ffs_write_sector_from_buffer function modified to include retry if the read fails to deal with rare cards found to not action the command if busy whilst not actually flagging that they are busy.. ffs_remove function updated to ensure both FAT tables are updated. Issue fixed in ffs_fputc where overwriting within a file across a cluster boundary could cause corruption. In mem-ffs.c changed: bytes_to_new_posn -= (DWORD)0 - offset; to be bytes_to_new_posn -= (DWORD)(0 - offset); as this solved a "unary minus operator applied to unsigned type" error with the Codewarrior compiler.
4 Changes To The Sample Project Files First released version. Corrected RB3 pin TRIS definition from an input to an output (LED2 pin). V1.07 V1.08 Changed sample project to run on a PIC18LF4620 at +3.3V our_file_0 and our_file_1 definitions changed to static in process_mode to deal with file close on next call if an error occurs. Changed c_string_buffer definition in process_mode to 60 bytes as the previous length was too short to hold text_file_line2_string, causing memory overflow when the following line was executed: ffs_fread(c_string_buffer, sizeof(char), (int)strlen(text_file_line2_string), our_file_1); V1.09 V1.10 NXP LPC2365 ARM sample project added. Special Note Regarding SPI Bus Please see the: Signal Noise Issues With MMC & SD Memory Cards (& Clocked Devices In General) page in the resources area of our web site for details of a common problem experienced when using MMC and SD memory cards. Some manufacturers demo / evaluation boards have been found to suffer from this issue. Many of the PIC microcontrollers have silicon bug issues that are detailed in the Microchip errata sheets. If you are experiencing problems with a PIC microcontroller accessing cards check the errata sheet for the device you are using.
5 Changes To The Technical Manual V1.00 Original release V1.01 Added sections on Fast Reading Of Bulk File Data and Fast Writing Of Bulk File Data. Added Searching In The Directory section to demonstrate how it is possible to search in the root directory for files. Updated schematic for PIC18 sample project at the end of this manual with correction to PIC pinning to match sample project code. Updated Driver Technical Overview section with explanation of using SD cards with capacities above 1GB and with the addition of SDHC and MMC Plus high capacity card compatibility. Minor additions to other sections of the manual. Updated various sections for changed PIC18 sample project microcontroller, C30 compiler support and real time clock support. New look and re-structured with new format to make it easier to be quickly up and running with the driver. Added code examples to the Fast Reading Of Bulk File Data and Fast Writing Of Bulk File Data sections. NXP LPC2365 ARM sample project and ffs_change_file_size function added.
MMC / SD MEMORY CARD FAT16 / FAT32 DRIVER TECHNICAL MANUAL V1.06
MMC / SD MEMORY CARD FAT16 / FAT32 DRIVER TECHNICAL MANUAL V1.06 INDEX Index... 2 Driver Overview... 4 Features... 4 Driver Technical Notes... 5 Adding The Driver To Your Project... 6 Notes About Our Source
PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description
Features PICNet 1 PIC18 Network & SD/MMC Development Board IC Sockets for 28 or 40-pin Microchip PIC18F Microcontrollers IC Socket for 8-pin serial EEPROM Multiple MCU Oscillator sources Full 10BaseT IEEE
AN10860_1. Contact information. NXP Semiconductors. LPC313x NAND flash data and bad block management
Rev. 01 11 August 2009 Application note Document information Info Keywords Abstract Content LPC3130 LPC3131 LPC313x LPC313X LPC3153 LPC3154 LPC3141 LPC3142 LPC31XX LPC31xx Linux kernel Apex boot loader
Dolphin In-Circuit programming Updating Firmware in the field
Dolphin In-Circuit programming Updating Firmware in the field 1 Introduction In systems e.g. gateways, where an external microcontroller is connected to a Dolphin based product like a TCM300 it might be
Definitions and Documents
C Compiler Real-Time OS Simulator Training Evaluation Boards Using and Programming the I 2 C BUS Application Note 153 June 8, 2000, Munich, Germany by Keil Support, Keil Elektronik GmbH [email protected]
C Programming Structure of a C18 Program
What does this document covers? This document attempts to explain the basic structure of a C18 program. It is followed by some simple examples. A very simple C18 program is shown below: Example 1 What
Serial Communications
April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual
MicroMag3 3-Axis Magnetic Sensor Module
1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI
The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1
The I2C Bus Introduction The I2C-bus is a de facto world standard that is now implemented in over 1000 different ICs manufactured by more than 50 companies. Additionally, the versatile I2C-bus is used
Evo Laser Firmware Developer s Manual
Evo Laser Firmware Developer s Manual Table of Content Chapter 1 Introduction Chapter 2 Hardware Overview and Subsystems 2.1 Overview 2.2 Evo Laser Hardware Core System 2.3 Evo Laser Smartport TM Chapter
Using Xbee 802.15.4 in Serial Communication
Using Xbee 802.15.4 in Serial Communication Jason Grimes April 2, 2010 Abstract Instances where wireless serial communication is required to connect devices, Xbee RF modules are effective in linking Universal
DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD
DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD PRELIMINARY DATA SHEET Wednesday, 16 May 2012 Version 0.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output
FlowKit in-circuit debug system
FlowKit in-circuit debug system www.matrixmultimedia.com HP299 Contents About this document 3 Board layout 3 General information 4 Detailed operation 4 Circuit diagram 7 2 Copyright About this document
Lesson-16: Real time clock DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-16: Real time clock 1 Real Time Clock (RTC) A clock, which is based on the interrupts at preset intervals. An interrupt service routine executes
SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI
SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate
FR FAMILY MB91460 SPI - DAISY CHAIN COMMUNICATION 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note
Fujitsu Microelectronics Europe Application Note MCU-AN-300101-E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 SPI - DAISY CHAIN COMMUNICATION APPLICATION NOTE Revision History Revision History Date 2008-07-13
Using Altera MAX Series as Microcontroller I/O Expanders
2014.09.22 Using Altera MAX Series as Microcontroller I/O Expanders AN-265 Subscribe Many microcontroller and microprocessor chips limit the available I/O ports and pins to conserve pin counts and reduce
M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features
512-Kbit, serial flash memory, 50 MHz SPI bus interface Features 512 Kbits of flash memory Page program (up to 256 bytes) in 1.4 ms (typical) Sector erase (256 Kbits) in 0.65 s (typical) Bulk erase (512
TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT
TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT HARDWARE GUIDE This document is part of Turbo Programmer documentation. For Developer Documentation, Applications and Examples, see http:/// PRELIMINARY (C)
Eureka Technology. Understanding SD, SDIO and MMC Interface. by Eureka Technology Inc. May 26th, 2011. Copyright (C) All Rights Reserved
Understanding SD, SDIO and MMC Interface by Eureka Technology Inc. May 26th, 2011 Copyright (C) All Rights Reserved Copyright by Eureka Technology Inc. All Rights Reserved Introduction This white paper
Freescale Semiconductor, I
nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development
Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication
Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication D/N: HA0150E Introduction This application explains how to use two I/O lines on the HT46R46 to implement half-duplex SPI communication.
Tutorial for MPLAB Starter Kit for PIC18F
Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is
Accurate Measurement of the Mains Electricity Frequency
Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC [email protected] Abstract The frequency of the mains electricity supply
2.0 Command and Data Handling Subsystem
2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation
ADS9850 Signal Generator Module
1. Introduction ADS9850 Signal Generator Module This module described here is based on ADS9850, a CMOS, 125MHz, and Complete DDS Synthesizer. The AD9850 is a highly integrated device that uses advanced
ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information
Rev. 1.1 8 August 2012 Errata sheet Document information Info Keywords Abstract Content LPC4357FET256; LPC4357FET180; LPC4357FBD208; LPC4353FET256; LPC4353FET180; LPC4353FBD208; LPC4337FET256; LPC4337FET180;
82557 10 100 Mbps PCI LAN Controller A Guide to 82596 Compatibility
APPLICATION NOTE 82557 10 100 Mbps PCI LAN Controller A Guide to 82596 Compatibility Technical Marketing Network Products Division November 1995 Order Number 644126-001 Information in this document is
AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE
Atmel AVR 8-bit Microcontroller AVR151: Setup and Use of the SPI APPLICATION NOTE Introduction This application note describes how to set up and use the on-chip Serial Peripheral Interface (SPI) of the
A DIY Hardware Packet Sniffer
A DIY Hardware Packet Sniffer Affordable Penetration Testing for the Individual Veronica Swanson: University of California, Irvine CyberSecurity for the Next Generation North American Round, New York 15
AN1754 APPLICATION NOTE
AN1754 APPLICATION NOTE DATA LOGGING PROGRAM FOR TESTING ST7 APPLICATIONS VIA ICC by Microcontroller Division Application Team INTRODUCTION Data logging is the process of recording data. It is required
Scalar Network Analyzer
Scalar Network Analyzer Dave Collins AD7JT George Heron N2APB www.midnightdesignsolutions.com/nat Features Handheld SNA measures filters, crystals, antennas, and more Measurement capabilities provided
Serial port interface for microcontroller embedded into integrated power meter
Serial port interface for microcontroller embedded into integrated power meter Mr. Borisav Jovanović, Prof. dr. Predrag Petković, Prof. dr. Milunka Damnjanović, Faculty of Electronic Engineering Nis, Serbia
Table 1: Address Table
DDR SDRAM DIMM D32PB12C 512MB D32PB1GJ 1GB For the latest data sheet, please visit the Super Talent Electronics web site: www.supertalentmemory.com Features 184-pin, dual in-line memory module (DIMM) Fast
Implementing a Data Logger with Spansion SPI Flash
MultiMotor Series Implementing a Data Logger with Spansion SPI Flash AN036001-0513 Abstract This application note shows how to implement a data logger to record persistence data for future analysis. The
Timer A (0 and 1) and PWM EE3376
Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in the peripheral
RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards
RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards 2012 Roving Networks. All rights reserved. Version 1.0 9/7/2012 USER MANUAL OVERVIEW The RN-131 and RN-171 WiFly radio modules are complete, standalone
Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview
Technical Note TN-29-06: NAND Flash Controller on Spartan-3 Overview Micron NAND Flash Controller via Xilinx Spartan -3 FPGA Overview As mobile product capabilities continue to expand, so does the demand
Microtronics technologies Mobile: 99707 90092
For more Project details visit: http://www.projectsof8051.com/rfid-based-attendance-management-system/ Code Project Title 1500 RFid Based Attendance System Synopsis for RFid Based Attendance System 1.
DAC Digital To Analog Converter
DAC Digital To Analog Converter DAC Digital To Analog Converter Highlights XMC4000 provides two digital to analog converters. Each can output one analog value. Additional multiple analog waves can be generated
Microchip Technology. February 2008 Valerio Moretto Slide 1
Microchip Technology February 2008 Valerio Moretto Slide 1 Connectivity Solutions Wired Wireless February 2008 Valerio Moretto Slide 2 Microchip Solutions More complex software Operating Systems >40 MIPS
Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module
Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module RS0 Microcontroller LEDs Motor Control Pushbuttons Purpose: To demonstrate an easy way of using a Freescale RS0K2 microcontroller
Software based Finite State Machine (FSM) with general purpose processors
Software based Finite State Machine (FSM) with general purpose processors White paper Joseph Yiu January 2013 Overview Finite state machines (FSM) are commonly used in electronic designs. FSM can be used
AVR Butterfly Training. Atmel Norway, AVR Applications Group
AVR Butterfly Training Atmel Norway, AVR Applications Group 1 Table of Contents INTRODUCTION...3 GETTING STARTED...4 REQUIRED SOFTWARE AND HARDWARE...4 SETTING UP THE HARDWARE...4 SETTING UP THE SOFTWARE...5
Embedded Multi-Media Card Specification (e MMC 4.5)
Product Features: Packaged NAND flash memory with e MMC 4.5 interface Compliant with e MMC Specification Ver 4.41 & 4.5. Bus mode - High-speed e MMC protocol - Provide variable clock frequencies
RS-485 Protocol Manual
RS-485 Protocol Manual Revision: 1.0 January 11, 2000 RS-485 Protocol Guidelines and Description Page i Table of Contents 1.0 COMMUNICATIONS BUS OVERVIEW... 1 2.0 DESIGN GUIDELINES... 1 2.1 Hardware Design
Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged
Write Protect CAT24WCxxx I 2 C Serial EEPROMs. Allows the user to protect against inadvertent write operations. WP = V CC : Write Protected Device select and address bytes are Acknowledged Data Bytes are
ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory
ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory 1 1. Memory Organisation 2 Random access model A memory-, a data byte, or a word, or a double
Hello, and welcome to this presentation of the STM32 SDMMC controller module. It covers the main features of the controller which is used to connect
Hello, and welcome to this presentation of the STM32 SDMMC controller module. It covers the main features of the controller which is used to connect the CPU to an SD card, MMC card, or an SDIO device.
POCKET SCOPE 2. The idea 2. Design criteria 3
POCKET SCOPE 2 The idea 2 Design criteria 3 Microcontroller requirements 3 The microcontroller must have speed. 3 The microcontroller must have RAM. 3 The microcontroller must have secure Flash. 3 The
Am186ER/Am188ER AMD Continues 16-bit Innovation
Am186ER/Am188ER AMD Continues 16-bit Innovation 386-Class Performance, Enhanced System Integration, and Built-in SRAM Problem with External RAM All embedded systems require RAM Low density SRAM moving
AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION
Class B Safety Software Library for PIC MCUs and dspic DSCs AN1229 Authors: Veena Kudva & Adrian Aur Microchip Technology Inc. OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION This application note describes
AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar
AVR Timer/Counter Prof Prabhat Ranjan DA-IICT, Gandhinagar 8-bit Timer/Counter0 with PWM Single Compare Unit Counter Clear Timer on Compare Match (Auto Reload) Glitch-free, Phase Correct Pulse Width Modulator
Embedded Systems Design Course Applying the mbed microcontroller
Embedded Systems Design Course Applying the mbed microcontroller Serial communications with SPI These course notes are written by R.Toulson (Anglia Ruskin University) and T.Wilmshurst (University of Derby).
PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version 2.1.0 (2014-01-16)
PCAN-MicroMod Universal I/O Module with CAN Interface User Manual Document version 2.1.0 (2014-01-16) Products taken into account Product Name Part number Model PCAN-MicroMod IPEH-002080 with firmware
Chapter 13. PIC Family Microcontroller
Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to
Web Site: www.parallax.com Forums: forums.parallax.com Sales: [email protected] Technical: [email protected]
Web Site: www.parallax.com Forums: forums.parallax.com Sales: [email protected] Technical: [email protected] Office: (916) 624-8333 Fax: (916) 624-83 Sales: (888) 512-124 Tech Support: (888) 997-8267
Lab 2.0 Thermal Camera Interface
Lab 2.0 Thermal Camera Interface Lab 1 - Camera directional-stand (recap) The goal of the lab 1 series was to use a PS2 joystick to control the movement of a pan-tilt module. To this end, you implemented
Decimal Number (base 10) Binary Number (base 2)
LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be
Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description
MPTH: Commands Table 1 below is a complete list of MPTH commands with descriptions. Note: Commands are three bytes long, Command Start Byte (default is 128), Command Code, Setting value. Table 1 : MPTH
How to design and implement firmware for embedded systems
How to design and implement firmware for embedded systems Last changes: 17.06.2010 Author: Rico Möckel The very beginning: What should I avoid when implementing firmware for embedded systems? Writing code
USING I2C WITH PICAXE
USING I2C WITH PICAXE Contents: This article provides an introduction into how to use i2c parts with the PICAXE system. This article: 1) Describes the i2c bus 2) Explains how the i2c bus is used with the
Serial Communications
Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation
QorIQ espi Controller Register Setting Considerations and Programming Examples
Freescale Semiconductor Application Note Document Number: AN4375 Rev. 1, 06/2012 QorIQ espi Controller Register Setting Considerations and Programming Examples About this document This document describes
WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide
WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide Version 2.1, 4/2010 Disclaimer While every effort has been made to ensure that the information in this guide is accurate
Industrial Micro SD 3.0
RoHS Compliant Industrial Micro SD 3.0 Specifications November 3 rd, 2011 Version 1.0 Apacer Technology Inc. 4 th Fl., 75 Hsin Tai Wu Rd., Sec.1, Hsichih, New Taipei City, Taiwan 221 Tel: +886-2-2698-2888
Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:
PS-2 Mouse: The Protocol: For out mini project we designed a serial port transmitter receiver, which uses the Baud rate protocol. The PS-2 port is similar to the serial port (performs the function of transmitting
Gemalto Mifare 1K Datasheet
Gemalto Mifare 1K Datasheet Contents 1. Overview...3 1.1 User convenience and speed...3 1.2 Security...3 1.3 Anticollision...3 2. Gemalto Mifare Features...4 2.1 Compatibility with norms...4 2.2 Electrical...4
Micro SDSC / SDHC / SDXC. Micro SD Data Sheet
Micro SD Data Sheet Rev. 1.0 1 APR 2012 Table of Contents 1. Introduction to the micro SDSC/SDHC/SDXC............ 4 2. Micro SDSC/SDHC/SDXC Feature.............. 4 3. Product Specification.................
Design of Self-service Car Washing Machine Control System Based on ARM Zhengmin Cui a, Peng Sun b
4th National Conference on Electrical, Electronics and Computer Engineering (NCEECE 2015) Design of Self-service Car Washing Machine Control System Based on ARM Zhengmin Cui a, Peng Sun b Shandong labor
Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification
Application Note 3/2003 PC Master Software Communication Protocol Specification By Pavel Kania and Michal Hanak S 3 L Applications Engineerings MCSL Roznov pod Radhostem Introduction The purpose of this
Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP
Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE T I A Training Document Page 1 of 25 Module This document has been written by Siemens AG for training
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
Chapter 1 Hardware and Software Introductions of pcduino
Chapter 1 Hardware and Software Introductions of pcduino pcduino is a high performance, cost effective mini PC platform that runs PC like OS such as Ubuntu Linux. It outputs its screen to HDMI enabled
Introduction. Getting familiar with chipkit Pi
Overview: chipkit Pi Introduction chipkit Pi (Designed for Raspberry Pi) is the latest Arduino compatible chipkit platform from Microchip and element14. It features a 32 bit PIC32 microcontroller in a
ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation
ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation Program Definition: Write a program to control the speed of a dc motor using pulse width modulation. Discussion: The speed of a dc motor is
8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA
Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port
ZX-NUNCHUK (#8000339)
ZX-NUNCHUK documentation 1 ZX-NUNCHUK (#8000339) Wii-Nunchuk interface board 1. Features l Interface with Wii Nunchuk remote control directly. Modification the remote control is not required. l Two-wire
AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR125: ADC of tinyavr in Single Ended Mode Features Up to 10bit resolution Up to 15kSPS Auto triggered and single conversion mode Optional left adjustment for ADC result readout Driver source code included
Disturbance Recoder SPCR 8C27. Product Guide
Issued: April 1999 Status: Updated Version: C/26.04.2006 Data subject to change without notice Features Versatile digital disturbance recorder module for recording various phenomena in the electric power
CAN bus board. www.matrixmultimedia.com EB018
CAN bus board www.matrixmultimedia.com EB018 Contents About this document 3 Board layout 3 General information 4 Circuit description 5 Protective cover 6 Circuit diagram 7 2 Copyright About this document
8-ch RAID0 Design by using SATA Host IP Manual Rev1.0 9-Jun-15
8-ch RAID0 Design by using SATA Host IP Manual Rev1.0 9-Jun-15 1 Overview RAID0 system uses multiple storages to extend total storage capacity and increase write/read performance to be N times. Assumed
Serial ATA 2 Ports PCI Host
Serial ATA 2 Ports PCI Host This Manual is for the various Model of 2ports SATA HBA: Model A: Low Profile Serial ATA Internal 2 Ports Model B: Low Profile External 1 Port + Internal 1 Port Model C: Low
An Introduction to MPLAB Integrated Development Environment
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual
Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual Installing a hard disk 1. Power off the unit. 2. Remove the bottom cover from the unit by removing four screws. 3. Insert the 2.5 HDD to the
25. AM radio receiver
1 25. AM radio receiver The chapter describes the programming of a microcontroller to demodulate a signal from a local radio station. To keep the circuit simple the signal from the local amplitude modulated
8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals
8051 Serial Port The 8051 contains a UART Universal Asynchronous Receiver Transmitter The serial port is full-duplex It can transmit and receive simultaneously 2 Port 3 pins are used to provide the serial
A High Resolution Performance Monitoring Software on the Pentium
A High Resolution Performance Monitoring Software on the Pentium Ong Cheng Soon*, Fadhli Wong Mohd Hasan Wong**, Lai Weng Kin* * Software Lab, MIMOS Berhad [email protected], [email protected] ** Dept of Electrical
Technical Data Sheet UM-005. UM005-doc-01.04 In reference to UM005-c-01.04
Technical Data Sheet UM-005 UM005-doc-01.04 In reference to UM005-c-01.04 Contents Contents... 2 Introductions... 3 Specifications... 3 Pin description... 4 Connection diagram... 4 Module PCB dimensions...
AN10866 LPC1700 secondary USB bootloader
Rev. 2 21 September 2010 Application note Document information Info Content Keywords LPC1700, Secondary USB Bootloader, ISP, IAP Abstract This application note describes how to add a custom secondary USB
Client-server Sockets
Client-server Sockets 1 How to Write a Network Based Program (Using Microchip's TCP/IP Stack) A network based program that uses the Client-server architecture must create at least two separate programs,
AN-812 APPLICATION NOTE
AN- APPLICATION NOTE One Technology Way P.O. Box 90 Norwood, MA 00-90, U.S.A. Tel: 7.9.700 Fax: 7.. www.analog.com Microcontroller-Based Serial Port Interface (SPI ) Boot Circuit by Alfredo Barriga INTRODUCTION
8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.
AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive
Lesson 16 Analog-to-Digital Converter (ADC)
Lesson 16 Analog-to-Digital Converter (ADC) 1. Overview In this lesson, the Analog-to-Digital Converter (ADC) of the Cortex-M3 is introduced. For detailed description of the features and controlling options
Bootloader with AES Encryption
...the world's most energy friendly microcontrollers Bootloader with AES Encryption AN0060 - Application Note Introduction This application note describes the implementation of a bootloader capable of
Copyright 2014 http://itfreetraining.com
This video looks at the four file systems supported by Windows. These are ReFS, NTFS, FAT and exfat. The video looks at what each file system is capable of and its limitations. Resilient File System (ReFS)
Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II
Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program
