ATDVK90CAN1 Atmel, ATDVK90CAN1 Datasheet - Page 44

KIT DEV FOR AT90CAN128 MCU

ATDVK90CAN1

Manufacturer Part Number
ATDVK90CAN1
Description
KIT DEV FOR AT90CAN128 MCU
Manufacturer
Atmel
Datasheets

Specifications of ATDVK90CAN1

Main Purpose
*
Embedded
*
Utilized Ic / Part
AT90CAN AVR Devices
Primary Attributes
*
Secondary Attributes
*
Processor To Be Evaluated
AT90CAN
Data Bus Width
8 bit
Interface Type
RS-232, SPI, TWI
Core Architecture
AVR
Core Sub-architecture
AVR UC3
Kit Contents
Board, AT90CAN128 Sample Microcontroller, 9V Battery Power Cable, CD-ROM, Manuals
Features
RS232, CAN, LIN, SPI & TWI Serial Interface
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATDVK90CAN1
Manufacturer:
Atmel
Quantity:
135
4381A–AVR–Sept 04
Basic Test Program
page 42
;**** S T K A N 1 1 - B A S I C
;*
;* Title
;* Version: 1.0
;* Last updated: 14 May 2004
;* Target : AT90CAN128
;* Platform: AVRStudio Assembler
;*
;* DESCRIPTION:
;* This test program is a basic test for DVK90CAN1.
;* This program is a led chaser.
;* The led chaser is stopped in case of keyboard hit.
;*
;**********************************************************************
.include "can128def.inc"
;***** Global register variables
.def temp1=R16
.def temp2=R17
.cseg
.org 0
;***** Program Execution Starts Here
.equ MAX
.equ ONE
.equ DEL_H_VAL=0xFF
.equ DEL_L_VAL=0xFF
.equ MSK_E=0xF4
.equ MSK_D=0x02
;***** Test program
Reset:
Loop_0:
Loop_1:
: Basic Test Program
=0xFF
=0x01
ldi
out
ldi
in
andi temp2, MSK_E
brne Loop_1
in
andi temp2, MSK_D
brne Loop_1
out
temp1, MAX
DDRA, temp1
temp1, ONE
temp2, PINE
temp2, PIND
PORTA, temp1
; first working register
; second working register
; Max value for 8-bit data
; value=1 for 8-bit data
; MSB of delay value
; LSB of delay value
; mask port E (keyboard)
; mask port D (keyboard)
T E S T
Basic Test Program
; Init PortA direction
; Wait if keyboard hit
; Output PortA value
P R O G R A M ***************
DVK90CAN1 Hardware User Guide
Section 4

Related parts for ATDVK90CAN1