User guide
MOTOROLA DSPAUDIOEVM Evaluation Board Users Manual 55
This document contains information on a new product. Specifications and information herein are subject to change without notice.
B.2 56364 PASSTHRU CODE
;**************************************************************************
;passthru364.asm v1.0
; meb 07/25/02
;
; Copyright (c) MOTOROLA 2002
;
; Program Operation:
; This software is designed for use with the DSPAUDIOEVMMB1 equipped
; with a 56364 daughter card. With the proper jumper settings this
; software will accept either analog or digital input and pass it
; straight through to the output. A custom processing routine could be
; added in the STEREO_PROCESS subroutine.
;**************************************************************************
page 132,60
include ‘ioequ.asm’
include ‘vectors.asm’
list
;**************************************************************************
; Init data storage
;**************************************************************************
org x:$00
RX_BUFF_BASE equ *
RX_data_1_2 ds 1 ; left input sample
RX_data_3_4 ds 1 ; right input sample
TX_BUFF_BASE equ *
TX_data_1_2 ds 1 ; left output sample
TX_data_3_4 ds 1 ; right output sample
RX_PTR ds 1 ; receive buffer pointer
TX_PTR ds 1 ; transmit buffer pointer
flags ds 1
RightReceive equ 0
;**************************************************************************
; Init interrupt vectors
;**************************************************************************
org p:$00
jmp
START
org p:$30
jsr esai_rx_isr
jmp *
nop
jsr esai_rxe_isr
jsr esai_rxls_isr
jsr esai_tx_isr
jmp *
nop
jsr esai_txe_isr
jsr esai_txls_isr
;**************************************************************************
; Init core registers
;**************************************************************************
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...