Microcomputer Systems 1 Blackfin BF 533 EZKIT Lite
Microcomputer Systems 1 Blackfin BF 533 EZ-KIT Lite Evaluation Board
ADSP-BF 533 EZ-KIT Lite® Evaluation Board u ADSP-BF 533 EZ-KIT Lite® n n Is designed to be used in conjunction with the Visal. DSP++ development environment To test the capabilities of the ADSP-BF 533 Blackfin processor. u This development environment will be used to teach you to: n n n Create, compile, assemble, and link application programs written in C++, C and ADSP-BF 533 assembly Load, run, step, halt, and set breakpoints in application program Read and write data and program memory Read and write core and peripheral registers Plot memory 05 November 2020 Veton Këpuska 2
PC interface to EZ-Kit Lite u Access to ADSP-BF 533 processor from a personal computer (PC) is achieved through: n USB port or n JTAG emulator (optional) u USB interface gives unrestricted access to the ADSP -BF 533 processor and the evaluation board peripherals. u JTAG emulators offers significantly faster communication between the host PC and target hardware. 05 November 2020 Veton Këpuska 3
BF 533 EZ-Kit Lite Board 05 November 2020 Veton Këpuska 4
Evaluation Board Features u u u ADSP-BF 533 Processor n Performance up to 600 MHz Synchronous dynamic random access memory (SDRAM) n MT 48 LC 32 M 16 - 64 MB (32 M x 16 bits) Flash memories n 2 MB (512 K x 16 x 2 chips) Analog Audio Interface n AD 1836 – Analog Devices 96 k. Hz audio codec n 4 input RCA phono jacks (2 channels) n 6 output RCA phono jacks (3 channels) Analog Video Interface n ADV 7183 video decoder w/ 3 input RCA phono jacks n ADV 7171 video encoder w/ 3 output RCA phono jacks 05 November 2020 Veton Këpuska 5
Evaluation Board Features (cont. ) u u u Universal asynchronous receiver/transmitter (UART) n ADM 3202 RS-232 line driver/receiver n DB 9 male connector LEDs n 10 LEDs: 1 power (green), 1 board reset (red), 1 USB (red), n 6 general purpose (amber), and 1 USB monitor (amber) Push buttons n 5 push buttons with debounce logic: u 1 reset, u 4 programmable flags Expansion interface n PPI, SPI, EBIU, Timers 2 -0, UART, programmable flags, SPORT 0, SPORT 1 Other features n JTAG ICE 14 -pin header 05 November 2020 Veton Këpuska 6
Evaluation Board Features (cont. ) u Stand Alone Applications: n The EZ-KIT Lite board has two flash memories with a total of 2 MB of memory. The flash memories can be used to store user-specific boot code, allowing the board to run as a stand-alone unit. For more information, see “Flash Memory” on page 1 -10 of ADS-BF 533 EZ-KIT Lite Evaluation System Manual. n The board also has 64 MB of SDRAM, which can be used by the user at runtime. u Interface Capabilities n SPORTs interface with the AD 1836 audio codec to aid development of audio signal processing applications. SPORT 0 also attaches to an off-board connector for communication with other serial devices. For information about SPORT 0, see “SPORT Audio Interface” on page 2 -3 of the same Manual. 05 November 2020 Veton Këpuska 7
Evaluation Board Features (cont. ) n The parallel peripheral interface (PPI) of the processor connects to both a video encoder and video decoder, facilitating development of video signal processing applications. n The UART of the processor connects to an RS-232 line driver and a DB 9 male connector, providing an interface to a PC or other serial device. n Additionally, the EZ-KIT Lite board provides access to most of the processor’s peripheral ports. Access is provided in the form of a three-connector expansion interface. For information about the expansion interface, see “Expansion Interface” on page 2 -8 of the Manual. 05 November 2020 Veton Këpuska 8
Goals and Objectives u To be able to: Develop and execute applications on ADSP-BF 533 EZ-KIT Lite. u Requires: n In depth understanding of BF 533 DSP Processor n Features of ADSP-BF 533 EZ-KIT Lite Evaluation Board n Development process and tools (Visal. DSP++) 05 November 2020 Veton Këpuska 9
EZ-KIT Lite Hardware Setup Powering the Board u J 9 – Connect Power Supply u LED 1 – green light is on u LED 2 – red reset light goes on for a moment and then goes off. u 05 November 2020 Veton Këpuska ZJ 1 - PC should be connected to the board’s USB 10
EZ-KIT Lite Hardware/Software Setup Sequence 1. ZLED 3 (ZLED 3, signifies with the Verify that the yellow USB monitor LED located near the USB connector) is lit. This that the board is communicating properly host PC and is ready to run Visual. DSP++. 2. If you are running Visual. DSP++ for the first time, navigate to the Visual. DSP++ environment via the Start –> Programs menu. The main window appears. Note that Visual. DSP++ does not connect to any session. Skip the rest of this step to step 3. If you have run Visual. DSP++ previously, the last opened session appears on the screen. You can override the default behavior and force Visual. DSP++ to start a new session by pressing and holding down the Ctrl key while starting Visual. DSP++. Do not release the Ctrl key until the Session Wizard appears on the screen. Go to step 4. 05 November 2020 Veton Këpuska 11
EZ-KIT Lite Hardware/Software Setup 3. To connect to a new EZ-KIT Lite session, start Session Wizard by selecting one of the following. n From the Session menu, New Session. n From the Session menu, Session List. Then click New Session from the Session List dialog box. n From the Session menu, Connect to Target. Then click New Session from the Session List dialog box. 4. The Select Processor page of the wizard appears on the screen. Ensure Blackfin is selected in Processor family. In Choose a target processor, select ADSP-BF 533. Click Next. 05 November 2020 Veton Këpuska 12
EZ-KIT Lite Hardware/Software Setup 5. 6. 7. The Select Connection Type page of the wizard appears on the screen. Select EZ-KIT Lite and click Next. The Select Platform page of the wizard appears on the screen. In the Select your platform list, select ADSPBF 533 EZ-KIT Lite via Debug Agent. In Session name, highlight or specify the session name. Click Next. The Finish page of the wizard appears on the screen. The page displays your selections. If you are satisfied, click Finish. If not, click Back to make changes. To disconnect from a session, click the disconnect button or select Session –> Disconnect from Target. To delete a session, select Session –> Session List. Select the session name from the list and click Delete. Click OK. 05 November 2020 Veton Këpuska 13
System Architecture of EZ-Kit Lite Board 05 November 2020 Veton Këpuska 14
Connectors 05 November 2020 Veton Këpuska 15
Memory Map u Two types of External Memory n SDRAM u 64 Mbytes (#2 M x 16 -bits) u Processor’s memory select pin (~SMS 0) is configured for the SDRAM n Flash Memory u Implemented with dual-bank flash memory devices. u Primary and Secondary flash memory as well as internal SRAM and registers. n Primary Flash Memory n 2 Mbytes mapped into two separate asynchronous memory banks of 1 Mbyte each. n Secondary Flash Memory + SRAM and Memory Mapped Registers u Occupies the third bank of asynchronous memory space. u Processor’s ~AMS 0, ~AMS 1, and ~AMS 2 memory select pins are used for that purpose. 05 November 2020 Veton Këpuska 16
SRAM Interface u Three SDRAM control registers must be initialized in order to use the MT 48 LC 32 M 16 – 64 MB (32 M x 16 bits) SDRAM memory. u SDRAM registers after reset are set automatically to default (optimal) values (see listed values in Table of ADSP-BF 533 EX-Kit Lite Evaluation System Manual). n To set other values Use Target Options dialog box of the Setting pull-down menu. 05 November 2020 Veton Këpuska 17
Flash Memory u Flash memory usage requires configuration of such devices. u The ADSP-BF 533 EZ-KIT Lite board employs two PSD 4256 G 6 V flash general-purpose IO devices. u Example code is provided in the EZ-Kit installation directory to demonstrate how to program the flash memory. 05 November 2020 Veton Këpuska 18
LEDs and Push Buttons u EZ-KIT Lite provides: n four push buttons and n six LEDs for general- purpose IO. u LEDs: n The six LEDs, labeled LED 4 through LED 9, are accessed via some of the general-purpose IO pins of the flash memory interface. n For information on how to program the pins, see “Flash General-Purpose IO” on page 1 -12 of EZKit Lite Manual. 05 November 2020 Veton Këpuska 19
LEDs and Push Buttons u Push Buttons n The four general-purpose push button are labeled SW 4 through SW 7. n A status of each individual button can be read through programmable flag (PF) inputs, PF 8 through PF 11. u A PF reads 1 when a corresponding switch is being pressed-on. When the switch is released, the PF reads 0. u A connection between the push button and PF input is established through the SW 9 DIP switch. See “Push Button Enable Switch (SW 9)” on page 2 -12 of the Manual for details. n An example program is included in the EZ-KIT installation directory to demonstrate the functionality of the LEDs and push buttons. 05 November 2020 Veton Këpuska 20
Audio Interface u 3 channel of stereo audio output u 2 channel of multi-channel of audio input is provided by AD 1836 audio codec u Input sample rate of 96 or 48 k. Hz u SPORT 0 interface of the processor links with the stereo audio data input and output pins of the AD 1836 codec. u Processor is capable of transferring data to the audio codec in: n TDM – Time division multiplexed or u Operates at a maximum of 48 k. Hz sample rate but allows simultaneous use of all input and output channels n TWI – Twin Wire Interface mode u The TWI mode allows the codec to operate at a 96 k. Hz sample rate but limits the output channels to two. 05 November 2020 Veton Këpuska 21
Audio Interface u When using TWI mode, the TSCLK 0 and RSCLK 0 pins, as well as the TFS 0 and RFS 0 pins of the processor, must be tied together external to the processor. u This is accomplished with the SW 9 DIP switch (see “Push Button Enable Switch (SW 9)” on page 2 -12 for more in ADSP-BF 533 EZ-KIT Lite Evaluation System Manual 05 November 2020 Veton Këpuska 22
Audio Interface Cofiguration u The AD 1836 audio codec’s internal configuration registers are configured using the SPI port of the processor. The processor’s PF 4 programmable flag pin is used as the select for this device. For information on how to configure the multichannel codec, go to www. analog. com/Uploaded. Files/Datasheets/344740003 AD 1 836_prc. pdf. u The general-purpose IO pin PA 0 of flash A is a source for the AD 1836 codec reset. See “Flash General-Purpose IO” on page 1 -12 of the Manual for more information about the pin. u Example programs are included in the EZ-KIT installation directory to demonstrate AD 1836 codec capabilities. 05 November 2020 Veton Këpuska 23
Video Interface u The board supports video input and output via ADV 7171 encoder and ADV 7183 decoder. u Both encoder and decoder connect to the parallel peripheral interface (PPI) of the processor. u For additional information on video interface hardware, refer to “PPI interface” on page 2 -5 of the ADSP-BF 533 EZ-KIT Lite Evaluation System Manual 05 November 2020 Veton Këpuska 24
Video Interface Set-Up 1. Configure the SW 3 DIP switch as required by the application. Refer to “Video Configuration Switch (SW 3)” on page 2 -11 of the ADSP-BF 533 EZ-KIT Lite Evaluation System Manual for details. 2. Remove reset to the video device. Refer to “Flash General-Purpose IO” on page 1 -12 ADSP-BF 533 EZ-KIT Lite Evaluation System Manual for details. 3. If using the decoder: u u Enable device by driving programmable flag output PF 2 to 0. Select PPI clock (see Table 1 -7 on page 1 -13). 4. Program internal registers of the video device in use. Both video encoder and decoder use a two-wire serial interface to access internal registers. A programmable flag PF 0 functions as a serial clock (SCL), and PF 1 functions as a serial data (SDAT). 5. Program the processor’s PPI interface (configuration registers, DMA, etc. ). 05 November 2020 Veton Këpuska 25
Example Programs u Example programs are provided with the ADSP-BF 533 EZ-KIT Lite to demonstrate various capabilities of the evaluation board. These programs are installed with the EZKIT Lite software and can be found in the …BlackfinExamplesADSP-BF 533 EZ-KIT Lite subdirectory of the Visual. DSP++ installation directory. Please refer to the readme file provided with each example for more information. 05 November 2020 Veton Këpuska 26
- Slides: 26