Request for your special attention and precautions in using the technical information and
semiconductors described in this book
(1) If any of the products or technical information described in this book is to be exported or provided to non-residents, the
laws and regulations of the exporting country, especially, those with regard to security export control, must be observ ed.
(2) The technical information described in this book is intended only to show the main characteristics and application circuit
examples of the products, and no license is granted under any intellectual property right or other right owned by our
company or any other company. Therefore, no responsibility is assumed by our company as to the infringement upon any
such right owned by any other company which may arise as a result of the use of technical information described in this
book.
(3) The products described in this book are intended to be used for standard applications or general electronic equipment
(such as office equipment, communications equipment, measuring ins truments and household appliances).
Consult our sales staff in advance for information on the following applications:
x Special applications (such as for airplanes, aerospace, automobiles, traffic control equipment, combustion equipment,
life support systems and safety devices) in which exceptional quality and reliability are required, or if the failure or
malfunction of the products may directly jeopardize life or harm the human body.
x Any applications other than the standard applications intended.
(4) The products and product specifications described in this book are subject to change without notice for modification and/
or improvement. At the final stage of your de sign, pur chasing, o r use of the p roducts, therefore , ask for the mo st up-todate Product Standards in advance to make sure that the latest specifications satisfy your requirements.
(5) When designing your equipment, comply with the range of absolute maximum rating and the guaranteed operating condi-
tions (operating power supply voltage and operating environment etc.). Especially, please be careful not to exceed the
range of absolute maximum rating on the transient state, such as power-on, power-off and mode-switching. Otherwise,
we will not be liable for any defect which may arise later in your equipment.
Even when the products are used within the guaranteed values, take into the consideration of incidence of break down
and failure mode, possible to occur to semiconductor products. Measures on the systems such as redundant design,
arresting the spread of fire or preventing glitch are recommended in order to prevent physical injury, fire, social damages, for example, by using the products.
(6) Comply with the instructions for use in order to prevent breakdown and characteristics change due to external factors
(ESD, EOS, thermal stress and mechanical stress) at the time of handling, mounting or at customer's process. When
using products for which damp-proof packing is required, satisfy the conditions, such as shelf life and the elapsed time
since first opening the packages.
(7) This book may be not reprinted or reproduced whether wholly or partially, without the prior written permission of Mat-
sushita Electric Industrial Co., Ltd.
PanaXSeries is a trademark of Matsushita Electric Industrial Co., Ltd.
The other corporation names, logotype and product names written in this book are trademarks or registered trademarks
of their corresponding corporations.
About This Manual
■ Configuration of This Manual
This LSI application note is consists of the following sections.
Chapter 1 Overview
This chapter describes the overview of this application note.
Chapter 2 Startup Program
This chapter describes a startup process necessary for executing a program.
Chapter 3 Register Setup of Each Function
This chapter describes the setting method and setting examples of registers having
MN101C49LSI function.
Chapter 4 Sample Program 1
This chapter describes sample programs for using each peripheral device referring to sample
circuits.
Chapter 5 Sample Program 2
This chapter provides an explanation of a startup process necessary before executing a sample
program in "5.1 Startup", and an explanation of sample programs utilizing basic functions of
this LSI in "5.2 Sample Program Using Timer Function" and "5.3 Sample Program Using
Serial Function". Each sample program is described following the sections below.
(1) Program operation and display
(2) Function used
(3) State transition diagram
(4) Software
Chapter 6 Appendix 1
This chapter provides a circuit diagram operated in "Chapter 3 Register Setup of Each
Function" and "Chapter 4 Sample Program 1" and supplementary explanations.
Chapter 7 Appendix 2
This chapter describes a sample program file organization and directory block diagram of
"Chapter 5 Sampler Program 2", and Makefile.
■ Related Manuals
Note that the following related documents are available.
"MN101C49G/49H/49K/F49K/P49K LSI User's Manual"
"MN101C Series C Compiler User's Manual: Language Description"
<Describes the syntax of the C Compiler.>
"MN101C Series C Compiler User's Manual: Library Reference"
<Describes the standard library of the C Compiler.>
"MN101C/MN101E Series C Compiler User's Manual: Usage Guide"
<Describes the installation, the commands, and options of the C Compiler.>
"MN101C/MN101E Series Cross-assembler User's Manual"
1.3 Register Setup of Each Function.......................................................................................................................14
1.4 Sample Program 1.............................................................................................................................................14
1.5 Sample Program 2.............................................................................................................................................14
2.2.1. Memory area (Section) ......................................................................................................................... 18
2.2.2 Declaration for section............................................................................................................................... 19
2.2.4 Clear area to be used to 0 ...........................................................................................................................19
2.2.5 Initializing static variables with initial values............................................................................................19
Chapter 3
Register Setup of Each Function
3.1 Description of C and Assembly Languages....................................................................................................... 22
3.2.1 Memory control register.............................................................................................................................24
3.2.2 Expansion address control register.............................................................................................................25
3.2.3 Oscillation frequency register....................................................................................................................26
3.2.4 CPU mode control register.........................................................................................................................27
3.3.1 Address bank register.................................................................................................................................30
3.3.2 ROM correction register............................................................................................................................ 31
3.4 Operation State Transition, Initializing Peripherals........................................................................................... 34
3.5.1 Interrupt control register............................................................................................... ............................. 36
3.5.2 Noise filter control register........................................................................................................................ 42
3.5.3 Both edges interrupt control register.......................................................................................................... 43
3.5.4 Key interrupt control register..................................................................................................................... 44
Loading...
+ 13 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.