DSP56309EVM Freescale Semiconductor, DSP56309EVM Datasheet - Page 9

KIT EVALUATION FOR XC56309

DSP56309EVM

Manufacturer Part Number
DSP56309EVM
Description
KIT EVALUATION FOR XC56309
Manufacturer
Freescale Semiconductor
Type
DSPr
Datasheets

Specifications of DSP56309EVM

Contents
Module Board, Installation Guide, Power Supply, Cable, Software and more
Description/function
Audio DSPs
Product
Audio Modules
For Use With/related Products
DSP56309
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
5
After the codec code has been programmed to the Flash memory, the code can be run in stand-alone mode,
that is, with no connection to the PC via a hardware command converter. Therefore, you can remove the
command converter connected to J3 of the EVM. You must make sure that the correct boot mode is set on
the boot mode switches at SW4. The DSP checks the pins connected to these switches (MODA-D) after
reset to determine how to boot the DSP. To boot the DSP from the Flash memory, use boot mode 9:
bootstrap from byte-wide memory, by setting the switches on SW4 to be 4 = OFF, 3 = ON, 2 = ON, and
1 = OFF.
The audio codec programming code requires music input to the EVM and a set of headphones for the
output. Connect a music source to the audio input jack at J12 using an audio interface cable with 1/8-inch
stereo plugs and connect a set of headphone to the jack at J15. Then, you simply press the Reset button,
SW1, and you can hear the music in the headphones. Now, you have successfully programmed the
DSP563xxEVM Flash memory and run the DSP in stand-alone mode using the Symphony Studio
development tools.
6
Example 5
main code, the bootloader code, and the Flash memory write routine. The following subsections describe
in detail the code sections used in this example.
;----------------------------------------------------------------------------
; Flash.asm: routine to make user code bootable from FLASH on the DSP563xxEVM
;
; Execute with: R0 pointing to first word of user code
;
;
; Copyright Freescale 2008
;----------------------------------------------------------------------------
; Put I/O equates here for flash program so codec program and use ioequ.file
; and everything compiles in one big project
M1_PCTL
M1_PCTL_321
M1_DSCR_321
M1_AAR1
M1_BCR
; Register Equates
AAR1V
BCRV
;----------------------------------------------------------------------------
Freescale Semiconductor
Run Code from Flash Memory
Flash Memory Programming Code Description
DEFINE
if (DEVICE==56303)
org
endif
if (DEVICE==56309)
org
endif
if (DEVICE==56311)
is an example of code used to program the Flash memory. This code has three sections: the
R1 containing size of the user code in WORDS
EQU $FFFFFD
EQU $FFFFD1
EQU $FFFFD0
EQU $FFFFF8
EQU $FFFFFB
EQU $040711
EQU $0126A1
p:$F00
p:$4F00
Using Symphony™ Studio with the DSP563xxEVM, Rev. 0
DEVICE
Example 5. Flash Memory Programming Code
'56311'
; PLL Control Register
; DSP56321 DPLL Control Register
; DSP56321 DPLL Static Control Register
; Address Attribute Register 1
; Bus Control Register
; maps FLASH from x:$040000-x:$05ffff
; 21 wait states in AAR1 domain
; put flash code high in memory for DSP56303
; put flash code high in memory for DSP56309
Run Code from Flash Memory
9

Related parts for DSP56309EVM