EasyManuals Logo

Texas Instruments MSP430 User Manual

Texas Instruments MSP430
413 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #67 background imageLoading...
Page #67 background image
67
Explanation
Hardly there is a thing to explain here. However, there are a few things to note. After having decided
the CPU clock frequency, we must edit the following line of the delay header file to make our delays
work as much as accurate as possible:
#define F_CPU 8 //CPU Clock in MHz
Software delays are not 100% accurate since they employ wasteful loops of delay cycles which in turn
add extra CPU cycles. They are always somewhat close to the actual required value. Delays are also
dependent on oscillator accuracy.
Though it is not mandatory but I still recommend that we try to use digital I/Os that have no or least
alternate functionalities. This will ensure maximum utilization of limited resources and avoid conflicts
as well. Here in this demo, I used P2 port just for that.
Choosing the right display for a project is often tedious. We have lot of options nowadays ranging from
simple LED displays to TFT LCDs. However, considering low power consumption and limited resource
availability, it wise to use the simplest form of display. If a project can be completed using seven
segment displays, it wasteful and expensive to use a OLED display with seven segment fonts.
LCD displays host their own set of electronics and are prone to Electromagnetic Interference (EMI)
and related issues. In many cases, one may end up having a EMI troubled LCD while having the host
MCU fully functional and vice-versa. It is always wise to use a short path between a LCD and its host
MCU. If needed, use passive low pass antialiasing filters.

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments MSP430 and is the answer not in the manual?

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals