This document discusses embedded systems and microcontrollers. It begins by defining an embedded system as a special-purpose computer system designed to perform dedicated functions as part of a larger machine. It then discusses the essential components of embedded systems including microprocessors, sensors, converters, actuators, and memory. The document goes on to compare microprocessors and microcontrollers, describing the differences in their architecture and components. It also covers embedded system applications, characteristics, and development processes. Finally, it provides details about the specific microcontroller PIC16F887A, describing its features, memory types, registers, and other components.
It is a presentation for the Embedded System Basics. It will be very useful for the engineering students who need to know the basics of Embedded System.
It is a presentation for the Embedded System Basics. It will be very useful for the engineering students who need to know the basics of Embedded System.
EC8791-Embedded and Real Time Systems #7th Sem ECE #Embedded System Introduction # Embedded System Real Time Examples #Career opportunity in Embedded System Filed #Growth of Embedded System
In this ppt you will learn about the various memory and its types inside the computer. The ppt also describes an analogy for your better understanding. Hope it will be fun learning.
Introduction to Systems with Examples and Introduction to Embedded Systems, History, Advantages, Applications, Classifications,What is inside Embedded System, Architecture, Features and Languages used in Embedded Systems advantages and disadvantages
An embedded system is a combination of the computer hardware and software accomplished with additional mechanical or other parts designed to perform a specific function.
Embedded software is an almost every electronic device in the use today. There is a software hidden away inside our watches, VCR's, cellular phones.A well-designed embedded system conceals the existence of the processor and the software .
http://www.edgefxkits.com/
Visit our page to get more ideas on embedded system by professionals.
Edgefx provides free verified embedded system kits around the world with abstracts, circuit diagrams, and free electronic software. We provide guidance manual for Do It Yourself Kits (DIY) with the modules at best price along with free shipping.
Embedded systems and their applications in our daily routineAsad Qayyum Babar
Embedded systems perform specific tasks. They have micro-controller as the main part which controls all the operations required through them. This presentation on examples of embedded systems can help you to get an idea of common systems which we use in our daily lives. These systems are smart and more efficient, which is increasing their use day by day. Almost every device that we use today is an example of embedded systems. Embedded systems examples can be seen at our homes, at offices, in industries and in automation systems. So, in simple words, most of the daily routine appliances, devices or automated equipment lies in the circle of Embedded Systems Examples.
Few of these Examples of Embedded Systems were discussed in this presentation, if you learn embedded systems then you can also create something, helpful to society. So, let’s get started with these Examples of Embedded Systems.
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded SystemsArti Parab Academics
Core of embedded systems: microprocessors and microcontrollers, RISC and CISC controllers, Big endian and Little endian processors, Application specific ICs, Programmable logic devices, COTS, sensors and actuators, communication interface, embedded firmware, other system components.
Embedded Systems (18EC62) – Embedded System Components (Module 3)Shrishail Bhat
Lecture Slides for Embedded Systems (18EC62) - Embedded System Components (Module 3) for VTU Students
Contents
Embedded Vs General computing system, Classification of Embedded systems, Major applications and purpose of ES. Elements of an Embedded System (Block diagram and explanation), Differences between RISC and CISC, Harvard and Princeton, Big and Little Endian formats, Memory (ROM and RAM types), Sensors, Actuators, Optocoupler, Communication Interfaces (I2C, SPI, IrDA, Bluetooth, Wi-Fi, Zigbee only)
This presentation gives a brief over view of Embedded Systems. It describes the common characteristics of Embedded systems, the design metrics, processor technologies and also summarizes differences between Microcontrollers and Microprocessors.
EC8791-Embedded and Real Time Systems #7th Sem ECE #Embedded System Introduction # Embedded System Real Time Examples #Career opportunity in Embedded System Filed #Growth of Embedded System
In this ppt you will learn about the various memory and its types inside the computer. The ppt also describes an analogy for your better understanding. Hope it will be fun learning.
Introduction to Systems with Examples and Introduction to Embedded Systems, History, Advantages, Applications, Classifications,What is inside Embedded System, Architecture, Features and Languages used in Embedded Systems advantages and disadvantages
An embedded system is a combination of the computer hardware and software accomplished with additional mechanical or other parts designed to perform a specific function.
Embedded software is an almost every electronic device in the use today. There is a software hidden away inside our watches, VCR's, cellular phones.A well-designed embedded system conceals the existence of the processor and the software .
http://www.edgefxkits.com/
Visit our page to get more ideas on embedded system by professionals.
Edgefx provides free verified embedded system kits around the world with abstracts, circuit diagrams, and free electronic software. We provide guidance manual for Do It Yourself Kits (DIY) with the modules at best price along with free shipping.
Embedded systems and their applications in our daily routineAsad Qayyum Babar
Embedded systems perform specific tasks. They have micro-controller as the main part which controls all the operations required through them. This presentation on examples of embedded systems can help you to get an idea of common systems which we use in our daily lives. These systems are smart and more efficient, which is increasing their use day by day. Almost every device that we use today is an example of embedded systems. Embedded systems examples can be seen at our homes, at offices, in industries and in automation systems. So, in simple words, most of the daily routine appliances, devices or automated equipment lies in the circle of Embedded Systems Examples.
Few of these Examples of Embedded Systems were discussed in this presentation, if you learn embedded systems then you can also create something, helpful to society. So, let’s get started with these Examples of Embedded Systems.
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded SystemsArti Parab Academics
Core of embedded systems: microprocessors and microcontrollers, RISC and CISC controllers, Big endian and Little endian processors, Application specific ICs, Programmable logic devices, COTS, sensors and actuators, communication interface, embedded firmware, other system components.
Embedded Systems (18EC62) – Embedded System Components (Module 3)Shrishail Bhat
Lecture Slides for Embedded Systems (18EC62) - Embedded System Components (Module 3) for VTU Students
Contents
Embedded Vs General computing system, Classification of Embedded systems, Major applications and purpose of ES. Elements of an Embedded System (Block diagram and explanation), Differences between RISC and CISC, Harvard and Princeton, Big and Little Endian formats, Memory (ROM and RAM types), Sensors, Actuators, Optocoupler, Communication Interfaces (I2C, SPI, IrDA, Bluetooth, Wi-Fi, Zigbee only)
This presentation gives a brief over view of Embedded Systems. It describes the common characteristics of Embedded systems, the design metrics, processor technologies and also summarizes differences between Microcontrollers and Microprocessors.
Selection and Integration of Embedded Display DevicesVIA Embedded
This presentation given by Jerry Wang, VIA Embedded Project Manager, provides a rundown of the most popular display devices used for embedded applications, then moves on to explain the fundamentals behind the display integration process including preparing the frame data, programming the GPU to communicate with a variety display interfaces, and finally optimizing the output display through debugging.
Serial Communication & Embedded System InterfaceKUET
Before using this presentation , one have to familiar with Embedded system , Various serial port for communication channel,basic knowledge of Matlab , Arduino ..
This a great opportunity for the searcher to get information of this topic .80% of the information provided in this slide was taken from the sparkfun , a very well known website for hardware project and tutorials . One can get more helpful information through this website .
Now, if you are looking for straight forward guideline for Serial Communication , well you are in the right place to have .So , get this if you want to , it's completely open source ( editable ) .
Farewell.
Linux kernel has a special feature called Watchdog timer which would reset the system in case of any software faults | system hangs | or any application crashes after a timeout has reached.
Serial peripheral Interface - Embedded System ProtocolAditya Porwal
Serial Peripheral Interface (SPI) is a synchronous serial data protocol used by micro-controllers for communicating with one or more peripheral devices quickly over short distances. It can also be used for communication between two micro-controllers.
FSK , FM DEMODULATOR & VOLTAGE REGULATOR ICS
Application of PLL in FSK & FM demodulation three terminal regulator ics.
Adjustable output voltage regulator LM 317, LM 337 & LM 340 series power supply ics.
Basic design considerations for designed regulated power supply
Summer training embedded system and its scopeArshit Rai
CETPA INFOTECH PVT LTD is one of the IT education and training service provider brands of India that is preferably working in 3 most important domains. It includes IT Training services, software and embedded product development and consulting services.
http://www.cetpainfotech.com
Summer training embedded system and its scopeArshit Rai
CETPA INFOTECH PVT LTD is one of the IT education and training service provider brands of India that is preferably working in 3 most important domains. It includes IT Training services, software and embedded product development and consulting services.
For Students & whose Interested In Embedded Systems & Embedded Technology Starting Topics of "What is embedded System and its Applications And Embedded Systems Introduction & Differentness Types of Embedded Operating Systems.
For Students & whose Interested In Embedded Systems & Embedded Technology Starting Topics of "What is embedded System and its Applications And Embedded Systems Introduction & Differentness Types of Embedded Operating Systems.
Designs and develops robotic prototypes. Constructs, configures, tests, and debugs robots and robotic systems. Installs, operates, calibrates, and maintains robots. Ensures that robotic machines operate safely, dependably, and with precision; identifies and implements modifications.
Embeddedsystem basic for Engineering StudentsElectro 8
Electro8 Is a Leading Embedded System Development Company in Chennai,We Offering Final Year Embedded and Matlab projects,We are the Vendor of Godraj and Spoorthi,Global ad ,Micron solution
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
2. What is general purpose
system?
• A computer system that can do many
functionalities depending on
• Available hardware
• Installed programs
Examples
• PCs
• Laptops
• Servers
3. What is an Embedded systems ?
• An embedded system is a special-purpose
computer system designed to perform a
dedicated function
• A combination of hardware and software
which together form a component of a larger
machine.
5. Essential Components
• Microprocessor / Microcontroller
• Sensors
• Converters (A-D and D-A)
• Actuators
• Memory (On-chip and Off chip)
• Communication path with the interacting
environment
5
7. CPU
General-
Purpose
Micro-
processor
RAM ROM I/O Port Timer
Serial
COM
Port
Data Bus
Address Bus
General-Purpose Microprocessor System
• CPU for Computers
• No RAM, ROM, I/O on CPU chip itself
• Example--Intel’s x86: 8086,8088,80386,80486,
Pentium
Many chips on mother board
General-purpose Microprocessor
10. Microprocessor
• CPU is stand-alone, RAM, ROM,
I/O, timer are separate
• designer can decide on the
amount of ROM, RAM and I/O
ports.
• expensive
• general-purpose
• Ex. 8085,8086 mp, Motorola 6800,
Intel’s 8086, etc.
Microcontroller
• CPU, RAM, ROM, I/O and timer
are all on a single chip
• fix amount of on-chip ROM,
RAM, I/O ports
• for applications in which cost,
power and space are critical
• single-purpose
• Ex. 8051, PIC mc, Motorola
MC’s, Phillips, etc.
Microprocessor v/s Microcontroller
12. CISC Vs RISC
CISC
• hardware complexity is
high
• multi clock complex
instructions
• Small codes sizes
• Transistors used for
storing complex
instructions
• pipelining is not possible
due to uneven process
time
RISC
• hardware complexity is low
• Single clock Reduced
instructions only
•Low cycles/sec
• Spends more transistors on
memory registers
• instructions execute in a
uniform amount of time (i.e. one
clock), pipelining is possible.2444
25. Characteristics of Embedded
Systems - Dependability
• Reliability: R(t) = probability of system working
correctly provided that it was working at t=0
• Maintainability: M(d) = probability of system
working correctly d time units after error occurred.
• Availability: probability of system working at time t
• Safety: no harm to be caused
• Security: confidential and authentic communication
26. Characteristics of Embedded
Systems-Efficiency
• Energy efficient
• Code-size efficient (especially for systems on a chip)
• Run-time efficient
• Weight efficient
• Cost efficient
• Dedicated user interface (no mouse, keyboard and
screen).
27. Characteristics of Embedded Systems
• Many ES must meet real-time constraints:
• A real-time system must react to stimuli from
the controlled object (or the operator) within
the time interval.
– For real-time systems, right answers arriving too
early or too late are wrong.
– An embedded system can be a
• Hard real-time system
• Soft real-time system
28. Hard real-time system
• In hard real-time systems the tasks should be run
in on time , time is major constraints.
• The response time requirements of hard real-
time systems are in the order of milliseconds or
less and can result in a catastrophe if not met.
• Examples for hard real-time systems is
– Missile
– Industrial Automation
– Automobiles
– video transmission, each picture frame and audio
must be transferred at fixed rate
29. Soft real-time system
• The response time requirements of soft real-time
systems are higher and not very stringent.
• The soft real-time systems will slow down their
response time if the load is very high
• Examples are
– DVD Player
– Mobile phones
– digital cameras
– playing robots
30. Comparison
General Purpose Computing
• Few applications that are
known at design-time.
• Not programmable by end
user.
• Fixed run-time requirements
(additional computing power
not useful).
• Criteria:
– cost
– power consumption
• Broad class of applications.
• Programmable by end user.
• Faster is better.
• Criteria:
– Cost
– average speed
Embedded Systems
31. Features of Embedded system
• Embedded Systems are the modern compacted
devices with multifunction capabilities.
• An embedded system performs pre-defined tasks,
unlike a general-purpose personal computer.
• An embedded system is a programmed hardware
device. A programmable hardware chip is the
platform and it is programmed with particular
applications.
• Embedded systems are not always standalone
devices. Many embedded systems consist of small,
computerized parts within a larger device that
serves a more general purpose.
32. Features of Embedded system
• The program instructions written for embedded
systems are referred to as firmware,
• The program stored in read-only memory or
Flash memory chips.
• They run with limited computer hardware
resources: little memory, small or non-existent
keyboard and/or screen.
34. development process of BASIC
embedded System
1. Requirements (application)
2. Select microcontroller and H/W
3. Design hardware for your application
4. Write software
5.Write your HEX code to microcontroller
6. Test your proto type product
7. You start your product production
35. Requirements
• Gather an informal description from the
customers known as requirements.
• After getting enough information to begin
designing the system architecture.
• Consumers of embedded systems are usually not
embedded system designers.
• Example consider for designing washing machine
– Less power
– High efficiency
36. Select microcontroller
• Select suitable microcontroller for required
system design.
• Select special purpose processors if needed for
the system like DSP processor
• We can classified like
– 8 bit microcontroller
– 16 bit microcontroller
– 32 bit microcontroller
37. 8 bit microcontroller
• It can perform 8 bit arithmetic and logical
operations.
• Examples
– 8051
– PIC16XX
• MB90890 Manufactured by Fujitsu .
• It performs all 16-bit Data operations
16 bit microcontroller
46. Assembler
• It is a software that converts assembly
language program to Machine language
program understandable by microprocessor
MOV A,#CR
CALL PUTCHAR
MOV A,#LF
CALL PUTCHAR
RET
:10002600750B00750C00750D00750E007513FFD26B
:1000360083D284D282C287C286C285C281C200C2EE
:1000460001C202C203C204C205C206C20775140079
Assembly
program
Machine
Codes
47. C cross Compiler
• It is a software that converts High level
language program [ written in C ] to Machine
language program understandable by
microprocessor
C program Machine Codes
main()
{ unsigned int d;
int_reg(); int_var();
for(d=0; d < 50000 ;d++)
{ LCD_PORT=0; }
init_lcd();
TR0=1;
uputs(0,0,15, "Conveyer System
"); 0,15," Version 1.0 ");
P0=0;
P2=0;
:10002600750B00750C00750D00750E007513FFD26
:1000360083D284D282C287C286C285C281C200C2
:1000460001C202C203C204C205C206C2077514007
49. What is Real-Time Operating System
(RTOS)?
• real-time operating system (RTOS) is an operating
system that guarantees to perform certain
operation (task) within a specified time constraint.
• Software that manages the time of a
microprocessor, microcontroller, or a digital signal
processor
51. Types of RTOS
• Hard Real-time RTOS
– This type operating systems used in hard real-time
embedded systems
– Examples are
• LynxOS
• OSE
• QNX
• RTLinux
• VxWorks
• Windows CE
52. Types of RTOS
• Soft real-time operating system
– This type of operating systems used in soft real-time
embedded systems
– Examples are
• uCOS-II
• Android
• embOS
• Symbian OS
53. Flash programmer
• Flash programmer used to
transfer the binary image
from personal computer to
embedded systems.
• Separate software are used
for this purpose
• Examples are
– Flash magic
– Philips flash utility
– Win pic
– Tiny bootloader
PC
Embedded
system
Programmer
RS232
54. Test prototype product
• Multi meter
• Oscilloscope
• Logic Analyzer
• Terminal Emulation software
• Simulators & Emulators
55. Features of PIC16F887A
• RISC architecture
– Only 35 instructions to learn
– All single-cycle instructions except branches
• Operating frequency 0-20 MHz
• Precision internal oscillator
– Factory calibrated
• Power supply voltage 5V
– Consumption: 220uA (4MHz), 11uA (32 KHz) 50nA
(stand-by mode)
• Power-Saving Sleep Mode
56. Features Continue..
• Brown-out Reset (BOR) with software control
option
• 33 input/output pins
• 8K ROM memory in FLASH technology
– Chip can be reprogrammed up to 1,00,000 times
• In-Circuit Serial Programming Option
– Chip can be programmed even embedded in the target
device
• 256 bytes EEPROM memory
– Data can be written more than 1,0,00,000 times
• 368 bytes RAM memory
57. Features Continue..
• A/D converter:
– 14-channels
– 10-bit resolution
• 3 independent timers/counters
• Watch-dog timer
• Analogue comparator module with
– Two analogue comparators
– Fixed voltage reference (0.6V)
– Programmable on-chip voltage reference
• PWM output steering control
• Enhanced USART module
– Supports RS-485, RS-232 and LIN2.0
– Auto-Baud Detect
• Master Synchronous Serial Port (MSSP)
– supports SPI and I2C mode
59. Pin Description
• The most pins are multi-functional.
• The fifth pin specifies the following functions
– RA3 Port A third digital input/output
– AN3 Third analog input
– Vref+ Positive voltage reference
– C1IN+ Comparator C1positive input
• trick is often used because it makes the
microcontroller package more compact without
affecting its functionality.
• These various pin functions cannot be used
simultaneously, but can be changed at any point
during operation.
60. Central Processor Unit (CPU)
• The CPU is manufactured with RISC technology
• The CPU can recognizes only 35 simple
instructions (In order to program some other
microcontrollers it is necessary to know more
than 200 instructions by heart).
• The execution time is the same for all
instructions except two.
• The Jump and Branch instructions execution time
is 2 instruction cycles.
61. CPU Continues..
• if the microcontroller’s operating speed is
20MHz, execution time of each instruction will
be 200nS, i.e. the program will be executed at
the speed of 5 million instructions per second!
• This microcontroller has three types of
memory- ROM, RAM and EEPROM.
• ROM memory is used to permanently save the
program being executed.
• This is why it is often called “program
memory”.
62. ROM Memory
• The PIC16F887A has 8Kb of ROM (in total of
8192 locations).
• This ROM is made with FLASH technology
• Its contents can be changed by providing a
special programming voltage (13V).
• The program is stored to ICs using simple
electronic device called the Programmer.
64. EEPROM Memory
• Similar to program memory, the contents of
EEPROM is permanently saved, even the power
goes off.
• However, unlike ROM, the contents of the
EEPROM can be changed during operation of the
microcontroller.
• That is why this memory (256 locations) is a
perfect one for permanently saving results
created and used during the operation.
65. RAM Memory
• RAM Memory consists of two parts:
– general-purpose registers
– special-function registers (SFR).
• both groups of registers are cleared when power
goes off.
• Their functions do not have many things in
common.
66.
67. General-Purpose Registers
• General-Purpose registers are used for storing
temporary data and results created during
operation.
• It is necessary to specify the address of some
general purpose register and assign it a new
function.
68. SFR Registers
• Special-Function registers are also RAM memory
locations.
• their purpose is predetermined during
manufacturing process and cannot be changed.
• Since their bits are physically connected to particular
circuits on the chip.
• Any change of their contents directly affects the
operation of the microcontroller or some of its
circuits.
• For example, by changing the TRISA register, the
function of each port A pin can be changed in a way
it acts as input or output.
69. SFR Registers Continues..
• high-level programming language can use the list
of all registers with their exact addresses, it is
enough to specify the register’s name in order to
read or change its contents.
70. RAM Memory Banks
• The data memory is partitioned into four banks.
• Prior to accessing some register during program
writing (in order to read or change its contents),
it is necessary to select the bank which contains
that register.
• Two bits of the STATUS register are used for bank
selecting.
• the most commonly used SFRs have the same
address in all banks which enables them to be
easily accessed.
71.
72. STACK
• A part of the RAM used for the stack consists of eight
13-bit registers.
• Before the microcontroller starts to execute a
subroutine (CALL instruction) or when an interrupt
occurs, the address of first next instruction being
currently executed is pushed onto the stack, i.e. onto
one of its registers.
• In that way, upon subroutine or interrupt execution, the
microcontroller knows from where to continue regular
program execution.
• This address is cleared upon return to the main
program because there is no need to save it any longer
74. SFR Registers Continues..
• The special function registers can be classified
into two categories:
– Core (CPU) registers.
• control and monitor operation and processes in the central
processor.
– Peripheral SFRs
• control the operation of peripheral units (serial
communication module, A/D converter etc.).
75. STATUS Register
RP1 RP0 Active Bank
0 0 Bank0
0 1 Bank1
1 0 Bank2
1 1 Bank3
0 - Banks 2 and 3 are active (memory location 100h-1FFh)
•RP1,RP0 - Bits select register bank. They are used for direct addressing.
IRP - Bit selects register bank. It is used for
indirect addressing.
1 - Banks 0 and 1 are active (memory
location 00h-FFh)
0 - Banks 2 and 3 are active (memory
location 100h-1FFh)
RP1,RP0 - Bits select register bank. They
are used for direct addressing.