RS08KA2 PROMO Freescale Semiconductor, RS08KA2 PROMO Datasheet - Page 31
RS08KA2 PROMO
Manufacturer Part Number
RS08KA2 PROMO
Description
DEMO KIT, SILICON BUNDLE, RS08KA2
Manufacturer
Freescale Semiconductor
Datasheet
1.RS08KA2_PROMO.pdf
(34 pages)
Specifications of RS08KA2 PROMO
Kit Contents
DEMO9RS08KA2 Board, USB Cable, Quick Start Guide, User Manual, Packing List
Svhc
No SVHC (15-Dec-2010)
Development Tool Type
Demonstration Kit
Kit Features
RS08KA2 Microcontroller,
Silicon Manufacturer
Freescale
Core Architecture
RS08
Core Sub-architecture
RS08
Silicon Core Number
MC9RS08
Silicon Family Name
RS08KA
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
RTI_32MS
RTI_64MS
RTI_128MS
RTI_256MS
RTI_512MS
RTI_1024MS
;=========================================================================
; Application Definition
;=========================================================================
RC
mRC
DATAOUT
mDATAOUT
TableStart
; variable/data section
SensorReading
ADCOut
BitCount
; variable/data section
; code section
main:
Entry:
;-------------------------------------------------------
; Config ICS
; Device is pre-trim to 18.4MHz ICLK frequency
; TRIM value are stored in $3FFA:$3FFB
;-------------------------------------------------------
;-------------------------------------------------------
;Config System
;-------------------------------------------------------
;-------------------------------------------------------
; Init RAM
;-------------------------------------------------------
;-------------------------------------------------------
; Config GPIO
; RC - init L
;-------------------------------------------------------
Freescale Semiconductor
org
org
org
mov
mov
mov
mov
mov
mov
mov
mov
clr
clr
mov
mov
#$FF, PAGESEL
$FB,
$FA,
#ICS_DIV_8, ICSC2
Tiny_RAMStart
Z_RAMStart
ROMStart
#HREG, PAGESEL
#(mSOPT_COPE|mSOPT_COPT|mSOPT_STOPE), SOPT
#(mSPMSC1_LVDE|mSPMSC1_LVDRE), SPMSC1
#(RTI_128MS|mSRTISC_RTIE), SRTISC
SensorReading
ADCOut
#(mDATAOUT), PTAD
#(mRC|mDATAOUT), PTADD
ICSSC
ICSTRIM
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
ds.b 1
ds.b 1
ds.b 1
Getting Started with RS08, Rev. 1
$02
$03
$04
$05
$06
$07
PTAD_PTAD0
mPTAD_PTAD0
PTAD_PTAD5
mPTAD_PTAD5
$3E00
; $3FFB
; $3FFA
; Use 1.15MHz bus
; Init Page register
; SOPT, COP enabled
; LVI enable
; 128ms RTI
; Single byte instruction
; Single byte instruction
; RC Initial low
; Set Output pins
Emulated ADC Application Example
31