Home
Data Sheet Final - ADSP-BF50x Blackfin
Contents
1. Pin no 121 is the GND supply see Figure 89 and Figure 90 for the processor 4 6mm x 6 17mm this pad must connect to GND Pin no 122 is the AGND supply see Figure 89 and Figure 90 for the ADC 2 81mm x 2 81mm this pad must connect to AGND Rev B Page740f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Figure 89 shows the top view of the 120 lead LQFP package lead Figure 90 shows the bottom view of the 120 lead LQFP package configuration lead configuration PIN 120 PIN 91 PIN 31 PIN 60 PIN 1 O PIN 90 PIN 30 PIN 61 PIN 1 GND INDICATOR PAD 120 LEAD LQFP 120 LEAD LQFP PIN 121 TOP VIEW BOTTOM VIEW AGND PAD PIN 122 PIN 30 PIN 61 PIN 1 PIN 90 PIN 31 PIN 60 PIN 120 PIN 91 Figure 89 120 Lead LQFP Package Lead Configuration Top View Figure 90 120 Lead LQFP Package Lead Configuration Bottom View Rev B Page750f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F 88 LEAD LFCSP LEAD ASSIGNMENT Table 56 lists the LFCSP leads by signal mnemonic Table 57 on Page 77 lists the LFCSP by lead number Table 56 88 Lead LFCSP Lead Assignment Alphabetical by Signal Signal Lead No Signal Lead No Signal Lead No Signal Lead No BMODEO 51 PF4 82 PG9 34 Vopex 20 BMODE1 50 PF5 83 PG10 35 Vopex 31 BMODE2 49 PF6 85 PG11 36 Vopex 41 CLKIN 68 PF7 86 PG12 37 Vopex 52 EMU 60 PF8 87 PG13 38 Vopex 54 EXT_WAKE 62 PF9 88 PG14 39 Vopex 56 EXT
2. 1 Throughout the ADC sections of this data sheet Vpp refers to both AVpp and DVpp Table 47 Operating Conditions Analog Voltage Reference and Logic I O Parameter Specification Unit Test Conditions Comments ANALOG INPUT Single Ended Input Range O V to Veer V RANGE low OV to 2 X Veer V RANGE high Pseudo Differential Input Range Vy Vy OV to Veer V RANGE low 2 X Veer V RANGE high Fully Differential Input Range Vy and Vy Vom Vggr 2 V Vcm common mode voltage Vgg 2 RANGE low Vem Veer V Vem Var RANGE high DC Leakage Current 1 uA max Vaz to Vag Vg tO Vgs Input Capacitance 45 pF typ When in track 10 pF typ When in hold INTERNAL VOLTAGE REFERENCE OUTPUT Reference Output Voltage 2 5 0 496 V 25 C AVpp 2 7 V to 5 25 V Long Term Stability 150 ppm typ For 1000 hours Output Voltage Thermal Hysteresis 50 ppm typ DeapA DcapB Output Impedance 10 Qtyp Reference Temperature Coefficient 60 max 20 typ ppm C Vrer Noise 20 uV rms typ EXTERNAL VOLTAGE REFERENCE INPUT Reference Input Voltage Range 0 1 to AVpp V See ADC Typical Performance Characteristics DC Leakage Current 2 pA max Input Capacitance 25 pF typ DIGITAL LOGIC INPUTS Input High Voltage Viu 2 8 V min Input Low Voltage Vy 0 4 V max Input Current ln 15 nA typ Vin 0 V or Vorive Input Capacitance C 5 pF typ Rev B Page550f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 47
3. Voor 1 8 V Voer 2 5 V 3 3 V Parameter Min Max Min Max Unit Switching Characteristic trope Timer Output Update Delay After PPI CLK High 12 0 12 0 ns PPI CLK tropp TMRx OUTPUT Figure 27 Timer Clock Timing Up Down Counter Rotary Encoder Timing Table 39 Up Down Counter Rotary Encoder Timing Vopexr 1 8 V Voer 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements twcount Up Down Counter Rotary Encoder Input Pulse Width tsak 1 tsak 1 ns tas Counter Input Setup Time Before CLKOUT High 9 0 7 0 ns tan Counter Input Hold Time After CLKOUT High 0 0 ns Either a valid setup and hold time or a valid pulse width is sufficient There is no need to resynchronize counter inputs CLKOUT CUD CDG CZM twcount Figure 28 Up Down Counter Rotary Encoder Timing Rev B Page 46of84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Pulse Width Modulator PWM Timing Table 40 and Figure 29 describe PWM operations Table 40 PWM Timing Parameter Min Max Unit Timing Requirement tes External Sync Pulse Width 2X tsak 1 ns Switching Characteristics toopis Output Inactive OFF After Trip Input 12 ns toor Output Delay After External Sync 2X tsak 5 X teak 13 ns top Output Delay After Falling Edge of CLKOUT 5 ns PWM outputs are PWMx_AH PWMx_AL PWMx_BH PWMx_BL PWMx_CH and PWMx_CL When the external sync signal is synchronous to the peripheral clock it takes fewer clock cy
4. ISOLATION dB 0 500 1000 1500 2000 2500 3000 3500 4000 0 100 200 300 400 500 600 700 800 900 1000 CODE NOISE FREQUENCY kHz Figure 54 Typical DNL Figure 51 Channel to Channel Isolation Vpp 5V DIFFERENTIAL MODE Vpp 3V DIFFERENTIAL MODE SINAD dB INL ERROR LSB 0 500 1000 1500 2000 2500 3000 3500 4000 0 500 1000 1500 2000 2500 3000 CODE INPUT FREQUENCY kHz Figure 55 Typical INL Figure 52 SINAD vs Analog Input Frequency for Various Supply Voltages Rev B Page590f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F 10000 Vpp 3V 5V INTERNAL DIFFERENTIAL DIFFERENTIAL MODE REFERENCE MODE 9000 POSITIVE DNL 8000 a v 7000 Lu 2 x 5 6000 v4 a 5 5000 i 8 E O 4000 s 3 3000 z Pm 9 5 z NEGATIVE DNL 2000 1000 i 0 0 0 5 1 0 1 5 2 0 2 5 2046 2047 2048 2049 2050 Vner V CODE Figure 56 Linearity Error vs Veer Figure 59 Histogram of Codes for 10k Samples in Differential Mode 12 0 10000 INTERNAL SINGLE ENDED 15 9000 REFERENCE MODE 11 0 p 8000 N E Vpp 5
5. CLK cycles between reception of this frame sync and the initiation of data reads The number of input data samples is user programmable and defined by the contents of the PPI COUNT register The PPI supports 8 bit and 10 bit through 16 bit data programmable in the PPI CONTROL register Frame Capture Mode Frame capture mode allows the video source s to act as a slave for frame capture for example The ADSP BF50x processors control when to read from the video source s PPI_FS1 is an HSYNC output and PPI_FS2 is a VSYNC output Output Mode Output mode is used for transmitting video or other data with up to three output frame syncs Typically a single frame sync is appropriate for data converter applications whereas two or three frame syncs could be used for sending video with hard ware signaling ITU R 656 Mode Descriptions The ITU R 656 modes of the PPI are intended to suit a wide variety of video capture processing and transmission applica tions Three distinct submodes are supported e Active video only mode e Vertical blanking only mode Entire field mode Active Video Mode Active video only mode is used when only the active video por tion ofa field is of interest and not any of the blanking intervals The PPI does not read in any data between the end of active Rev B Page 12 of 84 video EAV and start of active video SAV preamble symbols or any data present during the vertical blanking intervals In
6. Table 3 describes the inputs into the SIC and the default mappings into the CEC April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 3 System Interrupt Controller SIC General Purpose Peripheral Default Core Peripheral Interrupt Source Interrupt at Reset Interrupt ID Interrupt ID SIC Registers PLL Wakeup Interrupt IVG7 0 0 IARO IMASKO ISRO IWRO DMA Error generic IVG7 1 0 IARO IMASKO ISRO IWRO PPI Status IVG7 2 0 IARO IMASKO ISRO IWRO SPORTO Status IVG7 3 0 IARO IMASKO ISRO IWRO SPORTI Status IVG7 4 0 IARO IMASKO ISRO IWRO UARTO Status IVG7 5 0 IARO IMASKO ISRO IWRO UART1 Status IVG7 6 0 IARO IMASKO ISRO IWRO SPIO Status IVG7 7 0 IARO IMASKO ISRO IWRO SPI1 Status IVG7 8 0 IAR1 IMASKO ISRO IWRO CAN Status IVG7 9 0 IAR1 IMASKO ISRO IWRO RSI Mask 0 Interrupt IVG7 10 0 IAR1 IMASKO ISRO IWRO Reserved 11 IAR1 IMASKO ISRO IWRO CNTO Interrupt IVG8 12 1 IAR1 IMASKO ISRO IWRO CNT1 Interrupt IVG8 13 1 IAR1 IMASKO ISRO IWRO DMA Channel 0 PPI Rx Tx IVG9 14 2 IAR1 IMASKO ISRO IWRO DMA Channel 1 RSI Rx Tx IVG9 15 2 IAR1 IMASKO ISRO IWRO DMA Channel 2 SPORTO Rx IVG9 16 2 IAR2 IMASKO ISRO IWRO DMA Channel 3 SPORTO Tx IVG9 17 2 IAR2 IMASKO ISRO IWRO DMA Channel 4 SPORT1 Rx IVG9 18 2 IAR2 IMASKO ISRO IWRO DMA Channel 5 SPORT Tx IVG9 19 2 IAR2 IMASKO ISRO IWRO DMA Channel 6 SPIO Rx Tx IVG10 20 3 IAR2 IMASKO ISRO IWRO DMA Channel 7 SPI1 Rx Tx IVG10 21 3 IAR2 IMASKO ISRO IW
7. VREF GND 1ADDITIONAL PINS OMITTED FOR CLARITY Figure 72 Dual Op Amp Circuit to Convert a Single Ended Unipolar Signal Into a Differential Signal The differential op amp driver circuit shown in Figure 73 Dual Op Amp Circuit to Convert a Single Ended Bipolar Signal into a Differential Unipolar Signal is configured to convert and level shift a single ended ground referenced bipolar signal to a dif ferential signal centered at the Vg level of the ADC Pseudo Differential Mode The ADC can have a total of six pseudo differential pairs In this mode Vy is connected to the signal source that must have an amplitude of Vggr or 2 x Vgge depending on the range chosen April2014 ADSP BF504 ADSP BF504F ADSP BF506F OVw ADC V A DcapB TADDITIONAL PINS OMITTED FOR CLARITY Figure 73 Dual Op Amp Circuit to Convert a Single Ended Bipolar Signal into a Differential Unipolar Signal to make use of the full dynamic range of the part A dc input is applied to the Vm pin The voltage applied to this input pro vides an offset from ground or a pseudo ground for the Vy input The benefit of pseudo differential inputs is that they sepa rate the analog input signal ground from the ADC s ground allowing dc common mode voltages to be cancelled The typical voltage range for the Vy pin while in pseudo dif ferential mode is shown in Figure 74 Vy Input Voltage Range vs Vggr in Pseudo Differential Mode with
8. ADSP BF504KCPZ 3F 0 C to 70 C 300 MHz 32M bit 88 Lead LFCSP VO CP 88 5 ADSP BF504KCPZ 4 0 C to 70 C 400 MHz N A 88 Lead LFCSP VQ CP 88 5 ADSP BF504KCPZ 4F 0 C to 70 C 400 MHz 32M bit 88 Lead LFCSP VO CP 88 5 ADSP BF506BSWZ 3F 40 C to 85 C 300 MHz 32M bit 120 Lead LOFP EP SW 120 2 ADSP BF506BSWZ 4F 40 C to 85 C 400 MHz 32M bit 120 Lead LOFP EP SW 120 2 ADSP BF506KSWZ 3F 0 C to 70 C 300 MHz 32M bit 120 Lead LQFP_EP SW 120 2 ADSP BF506KSWZ 4F 0 C to 70 C 400 MHz 32M bit 120 Lead LOFP EP SW 120 2 Z RoHS compliant part For feature comparison between ADSP BF504 ADSP BF504F and ADSP BF506F processors see the Processor Comparison in Table 1 on Page 3 Referenced temperature is ambient temperature The ambient temperature is not a specification Please see Operating Conditions on Page 26 for junction specification which is the only temperature specification Temperature range 0 C to 70 C is classified as commercial and temperature range 40 C to 85 C is classified as industrial Rev B Page810f84 April2014 emperature Tj ADSP BF504 ADSP BF504F ADSP BF306F Rev B Page820f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F ADSP BF504 ADSP BF504F ADSP BF306F 2014 Analog Devices Inc All rights reserved Trademarks and ANALOG registered trademarks are the property of their respective owners WWW ana 0 g com ws Lei DEVICES Rev B Page840f84 April2014
9. Operating Conditions Analog Voltage Reference and Logic I O Continued Parameter Specification Unit Test Conditions Comments DIGITAL LOGIC OUTPUTS Output High Voltage Vo Vprive 0 2 V min No DC load lo 0 mA Output Low Voltage VoL 0 4 V max No DC load lo 0 mA Floating State Leakage Current 1 uA max Vin O V or Vopive Floating State Output Capacitance 7 pF typ Output Coding Straight natural binary twos complement Vy or Vy must remain within GND Vpp Vm 0 V for specified performance For full input range on Vw pin see Figure 74 and Figure 75 For full common mode range see Figure 70 and Figure 71 Sample tested during initial release to ensure compliance Relates to Pin DcapA or Pin DcapB Veep See ADC Terminology on Page 61 7 External voltage reference applied to Pins DcapA Pin DcapB Vprer See Table 52 and Table 53 Table 48 Operating Conditions ADC Performance Accuracy Parameter Specification Unit Test Conditions Comments DYNAMIC PERFORMANCE Signal to Noise Ratio SNR 71 dB min fin 14 kHz sine wave differential mode 69 dB min f 14 kHz sine wave single ended and pseudo differential modes Signal to Noise Distortion Ratio SINAD 70 dB min fin 14 kHz sine wave differential mode 68 dB min fiy 14 kHz sine wave single ended and pseudo differential modes Total Harmonic Distortion THD 77 dB max fiy 14 kHz sine wave differential mo
10. Table 16 Maximum SCLK Conditions for ADSP BF50x Processors Parameter Vopext 1 8 V 2 5 V 3 3 V Nominal Unit f CLKOUT SCLK Frequency Voy 1 16 V 100 MHz CLKOUT SCLK Frequency Voon lt 1 16 V 80 MHz Rev B Page270f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F ELECTRICAL CHARACTERISTICS Parameter Test Conditions Min Typical Max Unit Vou High Level Output Voltage Vopext 1 7 V lgy 2 0 5 mA 1 35 V High Level Output Voltage Vpprexr 2 25 V lop 0 5 mA 2 0 V High Level Output Voltage Vppexr 3 0 V lou 0 5 MA 2 4 V VoL Low Level Output Voltage Vopext 1 7 V 2 25 V 3 0 V 0 4 V lo 2 0 mA lia High Level Input Current Vppexr 73 6 V Vin 3 6 V 10 0 uA li Low Level Input Current Vopext 23 6 V Vu 2 OV 10 0 pA liup High Level Input Current JTAG Vopext 3 6 V Vin 3 6 V 75 0 uA lozu Three State Leakage Current Vopext 3 6 V Vy 3 6 V 10 0 uA lozurwi Three State Leakage Current Vppexr 3 0 V Vin 5 5 V 10 0 uA loz Three State Leakage Current Vopext 3 6 V Vin OV 10 0 uA Cin Input Capacitance fin 1 MHz Tampienr 25 C 5 8 pF Vin 2 5V C NTWI Input Capacitance fin 1 MHz TAMBIENT 25 C 10 pF Vin 2 5 V lpppeepsueep Voor Current in Deep Sleep Mode Vy 1 2 V f 0 MHz 1 85 mA fii 0 MHz T 25 C ASF 0 00 lppsiEEP Voppi N Current in Sleep Mode Vopir 1 2V fk 25 MHz 2 1 mA T 25 C lpp IDLE VopiN
11. cates that the peripheral is not asserting the event e SIC interrupt wakeup enable registers SIC IWRx By enabling the corresponding bit in these registers a periph eral can be configured to wake up the processor should the core be idled or in sleep mode when the event is generated For more information see Dynamic Power Management on Page 13 Because multiple interrupt sources can map to a single general purpose interrupt multiple pulse assertions can occur simulta neously before or during interrupt processing for an interrupt event already detected on this interrupt input The IPEND reg ister contents are monitored by the SIC as the interrupt acknowledgement The appropriate ILAT register bit is set when an interrupt rising edge is detected detection requires two core clock cycles The bit is cleared when the respective IPEND register bit is set The IPEND bit indicates that the event has entered into the proces sor pipeline At this point the CEC recognizes and queues the next rising edge event on the corresponding event input The minimum latency from the rising edge transition of the general purpose interrupt to the IPEND output asserted is three core clock cycles however the latency can be much higher depend ing on the activity within and the state of the processor April 2014 ADSP BF504 ADSP BF504F ADSP BF506F FLASH MEMORY The ADSP BF504F and ADSP BF506F processors include an on chip 32M bit x16 mult
12. features e IS capable operation e Bidirectional operation Each SPORT has two sets of inde pendent transmit and receive pins enabling eight channels of I S stereo audio e Buffered 8 deep transmit and receive ports Each port has a data register for transferring data words to and from other processor components and shift registers for shifting data in and out of the data registers e Clocking Each transmit and receive port can either use an external serial clock or generate its own in frequencies ranging from fsciy 131 070 Hz to fscix 2 Hz Word length Each SPORT supports serial data words from 3 to 32 bits in length transferred most significant bit first or least significant bit first e Framing Each transmit and receive port can run with or without frame sync signals for each data word Frame sync signals can be generated internally or externally active high or low and with either of two pulse widths and early or late frame sync e Companding in hardware Each SPORT can perform A law or u law companding according to ITU recommen dation G 711 Companding can be selected on the transmit and or receive channel of the SPORT without additional latencies April 2014 ADSP BF504 ADSP BF504F ADSP BF506F e DMA operations with single cycle overhead Each SPORT can automatically receive and transmit multiple buffers of memory data The processor can link or chain sequences of DMA transfers between a
13. for the processor 4 6mm x 6 17mm this pad must connect to GND Pin no 122 is the AGND supply see Figure 89 and Figure 90 for the ADC 2 81mm x 2 81mm this pad must connect to AGND Rev B Page730f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 55 120 Lead LQFP Lead Assignment Numerical by Lead Number Lead No Signal Lead No Signal Lead No Signal Lead No Signal 1 Vobexr 31 PG3 61 Vopint 91 Vg 2 PF2 32 PG4 62 Vonet 92 Vg 3 PF4 33 TDI 63 Vopetacis 93 AGND 4 PF3 34 TCK 64 Moser 94 DeapB 5 PF5 35 TMS 65 Vppint 95 RANGE 6 Vipext 36 TDO 66 Vopexr 96 SGL DIFF 7 PF6 37 TRST 67 Vopexr 97 A2 8 PF7 38 PG5 68 EMU 98 A1 9 PF8 39 PG6 69 Moers 99 AGND 10 PF9 40 PG7 70 EXT WAKE 100 AO 11 NMI 41 Vppext 71 PG 101 CS 12 RESET 42 VopiNT 72 NC 102 ADSCLK 13 GND 43 PG8 73 AGND 103 DourB 14 PF10 44 PG9 74 DGND 104 DGND 15 Vppexr 45 PG10 75 REF SELECT 105 DourA 16 PF11 46 PG11 76 AVpp 106 Vorive 17 GND 47 PG12 77 DcapA 107 DVpp 18 PF12 48 PG13 78 AGND 108 GND 19 PF13 49 PG14 79 AGND 109 GND 20 Vppexr 50 PG15 80 Vni 110 CLKIN 21 PF14 5 Vinee 81 Vag 111 XTAL 22 PF15 52 VppInt 82 AGND 112 Vppext 23 Vopexr 53 Vonir 83 Vas 113 PHO 24 Veni 54 SDA 84 Vna 114 PH2 25 VDDFLASH 55 SCL 85 Vas 115 PH1 26 Viper 56 BMODE2 86 Vas 116 Vopeer 27 PGO 57 BMODE1 87 Ves 117 Vppint 28 PG1 58 BMODEO 88 Vas 118 PFO 29 PG2 59 Viper 89 Vga 119 PF1 30 Vopexr 60 NC 90 Ves 120 EXTCLK 121 GND 122 AGND
14. 010 000 001 000 000 2 ov 1LSB Vrer 1LSB ANALOG INPUT NOTE 1 Vggr IS EITHER Veer OR 2 x VREF Figure 78 Straight Binary Transfer Characteristic 1LSB 2 x Vggr 4096 011 111 011 110 e e 000 001 000 000 _ 111 111 ADC CODE 100 010 100 001 100 000 i E 2 Vggr ILSB Vre 1LSB Vggp 1 LSB ANALOG INPUT Figure 79 Twos Complement Transfer Characteristic with Vper Veer Input Range Serial Interface Voltage Drive The ADC also has a Vprivz feature to control the voltage at which the serial interface operates Vppivg allows the ADC to easily interface to both 3 V and 5 V processors For example if the ADC was operated with a AVpp DV pp of 5 V the V prive pin could be powered from a 3 V supply best ADC performance low voltage digital processors Therefore the ADC could be used with the 2 x Vggr input range with a AVpp DVpp of 5 V while still being able to serial interface to 3 V digital I O parts ADC MODES OF OPERATION The mode of operation of the ADC is selected by controlling the logic state of the CS signal during a conversion There are three possible modes of operation normal mode partial power down mode and full power down mode After a conversion is initiated the point at which CS is pulled high determines which power down mode if any the device enters Similarly if already in a power down mode CS can control whether
15. 3 0 3 0 ns tuese TFSx RFSx Hold After TSCLKx RSCLKx 3 0 3 0 ns tspre Receive Data Setup Before RSCLKx 3 0 3 0 ns tupre Receive Data Hold After RSCLKx 3 5 3 0 ns seixew TSCLKx RSCLKx Width 4 5 4 5 ns tscLKE TSCLKx RSCLKx Period 2 Xtsak 2 X tscrk ns Switching Characteristics torse TFSx RFSx Delay After TSCLKx RSCLKx 10 0 10 0 ns Internally Generated TFSx RFSx tuorse TFSx RFSx Hold After TSCLKx RSCLKx 0 0 0 0 ns Internally Generated TFSx RFSx topte Transmit Data Delay After TSCLKx 11 0 10 0 ns tupte Transmit Data Hold After TSCLKx 0 0 0 0 ns Referenced to sample edge When SPORT is used in conjunction with the ACM refer to the timing requirements in Table 41 ACM Timing Referenced to drive edge Table 31 Serial Ports Internal Clock Voss 1 8 V Voss 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements tsrsi TFSx RFSx Setup Before TSCLKx RSCLKx 11 0 9 6 ns tues TFSx RFSx Hold After TSCLKx RSCLKx 1 5 1 5 ns tspRI Receive Data Setup Before RSCLKx 11 5 10 0 ns tuprl Receive Data Hold After RSCLKx 1 5 1 5 ns Switching Characteristics tse TSCLKx RSCLKx Width 7 0 8 0 ns tprsi TFSx RFSx Delay After TSCLKx RSCLKx 4 0 3 0 ns Internally Generated TFSx RFSx tices TFSx RFSx Hold After TSCLKx RSCLKx 2 0 1 0 ns Internally Generated TFSx RFSx toot Transmit Data Delay After TSCLKx 4 0 3 0 ns tup Transmit Data Hold After TSCLKx 1 8 1 5 ns Referenced to sample edge When SPORT is used in conju
16. 56 MSPS AVpp DVpp 3 V 583 3 ns max fapsai 24 MHz faaupie 1 5 MSPS AVpp DVpp 2 7 V Tourer 30 ns min Minimum time between end of serial read and next falling edge of CS t 18 23 ns min CS to ADSCLK setup time Vpp 5 V 3 V t3 15 ns max Delay from CS until DourA and Doy B are three state disabled t 27 36 ns max Data access time after ADSCLK falling edge Vpp 5 V 3 V t 0 45 tapscik ns min ADSCLK low pulse width te 0 45 tapscik ns min ADSCLK high pulse width t 5 10 ns min ADSCLK to data valid hold time Vpp 5 V 3 V tg 15 ns max CS rising edge to Doy A DourB high impedance to 30 ns min CS rising edge to falling edge pulse width tio 5 35 ns min max ADSCLK falling edge to Doy A DouB high impedance See Figure 87 on Page 72 and Figure 88 on Page 72 Minimum ADSCLK for specified performance with slower ADSCLK frequencies performance specifications apply typically The time required for the output to cross 0 4 V or 2 4 V ADC ABSOLUTE MAXIMUM RATINGS Stresses above those listed in Table 51 may cause permanent damage to the device This is a stress rating only functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied Exposure to absolute maximum rating conditions for extended periods may affect device reliability Table 51 Absolute Maximum Ratings Parameter Rating AVpp DVpp to AGND 0 3 V to 7 V DVbpp
17. Blackfin processors means only one serial port is necessary to read from both Dour pins simultaneously Figure 7 ADC Internal ACM and SPORT Connections shows both DoyrA and DovyrB of the ADC connected to one of the processor s serial ports The SPORTx Receive Configuration 1 register and SPORTx Receive Configuration 2 register should be set up as outlined in Table 9 The SPORTx Receive Configu ration 1 Register SPORTx RCR1 and Table 10 The SPORTx Receive Configuration 2 Register SPORTx RCR2 Table 9 The SPORTx Receive Configuration 1 Register SPORTx_RCR1 Setting Description RCKFE 0 Sample data with falling edge of RSCLK LRFS 1 Active low frame signal RFSR 1 Frame every word IRFS 0 External RFS used RLSBIT 0 Receive MSB first RDTYPE 00 Zero fill IRCLK 0 External receive clock RSPEN 1 Receive enabled TFSR RFSR 1 Rev B Page19o0f84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F NOTE The SPORT must be enabled with the following set tings external clock external frame sync and active low frame sync Table 10 The SPORTx Receive Configuration 2 Register SPORTx RCR2 Setting Description RXSE 1 Secondary side enabled SLEN 1111 16 bit data word or may be set to 1101 for 14 bit data word To implement the power down modes SLEN should be set to 1001 to issue an 8 bit SCLK burst A Blackfin driver for the ADC is available to download at www analog com INTERNA
18. C W Wir 2 linear m s air flow 0 43 C W Table 44 Thermal Characteristics 120 Lead LQFP Parameter Condition Typical Unit Oja 0 linear m s air flow 26 9 C W Oma 1 linear m s air flow 24 2 C W Oma 2 linear m s air flow 23 3 C W 05s 16 4 C W Oc 12 7 C W Wir 0 linear m s air flow 0 50 C W Wir 1 linear m s air flow 0 77 C W Wir 2 linear m s air flow 1 02 C W April 2014 ADSP BF504 ADSP BF504F ADSP BF506F FLASH SPECIFICATIONS Specifications subject to change without notice FLASH PROGRAM AND ERASE TIMES AND ENDURANCE CYCLES The program and erase times and the number of program erase cycles per block are shown in Table 45 Exact erase times may change depending on the memory array condition The best case is when all the bits in the block or bank are at 0 pre programmed The worst case is when all the bits in the block or bank are at 1 not pre programmed Usually the system overhead is negligible with respect to the erase time Table 45 Program Erase Times and Endurance Cycles Typical After 100k Write Erase Parameter Condition Typical Cycles Max Unit Erase Parameter Block 4K word 0 3 1 2 5 S Erase Main Block 32K word preprogrammed 0 8 3 4 S Erase Main Block 32K word not preprogrammed 1 4 S Program Word 12 12 100 us Program Parameter Block 4K word 40 ms Program Main Block 32K word 300 ms Suspend Latency Program 5 10 u
19. Capacitance 1 8 V Vppgg nal switches to when the output voltage decays AV from the measured output high or output low voltage Example System Hold Time Calculation To determine the data output hold time in a particular system first calculate tp 4y using the equation given above Choose AV to be the difference between the processor s output voltage and the input threshold for the device requiring the hold time C is the total bus capacitance per data line and I is the total leak age or three state current per data line The hold time will be tpsciy plus the various output disable times as specified in the Processor Timing Specifications on Page 33 Seay Capacitive Loading tu 2 5V 25 C Output delays and holds are based on standard capacitive loads 00 150 200 250 of an average of 6 pF on all pins see Figure 43 Vioap is equal LOAD CAPACITANCE pF to Vppzxr 2 The graphs of Figure 44 through Figure 49 show how output rise time varies with capacitance The delay and hold specifications given should be derated by a factor derived from these figures The graphs in these figures may not be linear outside the ranges shown EE RISE AND FALL TIME ns Figure 45 Driver Type B Typical Rise and Fall Times 1096 9096 vs Load Capacitance 2 5 V Vppexr v LOAD Ti DUT OUTPUT i ie ZO 500 impedance m TD 4 04 1 18 ns RISE AND FALL TIME ns 0 5pF 4pF 2pF P TESTER PIN ELECTRONICS 400
20. E tr 3 m INPUT E OR Vmeas VMEAS o OUTPUT o Figure 41 Voltage Reference Levels for AC Measurements Except Output Enable Disable SOURCE VOLTAGE V v Output Enable Time Measurement Figure 38 Driver Type D Current 3 3 V Von Output pins are considered to be enabled when they have made a transition from a high impedance state to the point when they Venn 2 75V 55 C start driving boe 2 5V 25 C The output enable time tj is the interval from the point when a poexr 2 26V 125 C reference signal reaches a high or low voltage level to the point z when the output starts driving as shown on the right side of E Figure 42 5 ul tc 5 o REFERENCE Ia SIGNAL tr 8 7 tpis_MEASURED tena MEASURED tois tena Vou Vou MEASURED 0 0 5 1 0 15 2 0 25 MEASURED Von MEASURED AV Vrgip HIGH Vor MEASURED AV Vrrip LOW SOURCE VOLTAGE V VoL ot Ta MEASURED f MEASURED Figure 39 Driver Type D Current 2 5 V Vppexq inca trap Vopexr 1 9V 55 C OUTPUT STOPS DRIVING OUTPUT STARTS DRIVING m Noone E LEN Set HIGH IMPEDANCE STATE Vopexr 17V 125 C _ Figure 42 Output Enable Disable Z The time ty wsungp is the interval from when the reference sig rs nal switches to when the output voltage reaches V high or o Vw low For Vppexr nominal 1 8 V Vr high is 1 05 V 9 and V zar low is 0 75 V For Vppexr nominal 2 5 V Vrprp 3 high is 1 5 V and V zr low is 1 0 V For Vppgxr nominal 3 3 V V
21. Page 20 of 84 REF SELECT DcapA AVpp DVpp 12 BIT SUCCESSIVE OUTPUT APPROXIMATION DRI VERS Jj DoutA ADSCLK a RANGE Ps SGL DIFF o A ae A CONTROL LOGIC PEE SUCCESSIVE APPROXIMATION DourB ADC AGND AGND AGND DcapB DGND DGND Figure 8 ADC Internal Functional Block Diagram The internal ADC uses advanced design techniques to achieve very low power dissipation at high throughput rates The part also offers flexible power throughput rate management when operating in normal mode as the quiescent current consump tion is so low The analog input range for the part can be selected to be a 0 V to Vrer or 2 x Vggr range with either straight binary or twos complement output coding The internal ADC has an on chip 2 5 V reference that can be overdriven when an external refer ence is preferred Additional highlights of the internal ADC include e Two complete ADC functions allow simultaneous sam pling and conversion of two channels Each ADC has three fully pseudo differential pairs or six single ended channels as programmed The conversion result of both channels is simultaneously available on separate data lines or in succession on one data line if only one serial connec tion is available High throughput with low power consumption The internal ADC offers both a standard 0 V to Vagp input range and a 2 x Vggr input range e No pipeline delay The part features two standard succes sive a
22. They are produced with a low power and low voltage design methodology and feature on chip dynamic power management which provides the ability to vary both the voltage and frequency of operation to significantly lower overall power consumption This capability can result in a substantial reduction in power consumption compared with just varying the frequency of operation This allows longer battery life for portable appliances SYSTEM INTEGRATION The ADSP BF50x processors are highly integrated system on a chip solutions for the next generation of embedded industrial instrumentation and power motion control applications By combining industry standard interfaces with a high perfor mance signal processing core cost effective applications can be developed quickly without the need for costly external compo nents The system peripherals include a watchdog timer two 32 bit up down counters with rotary support eight 32 bit tim ers counters with PWM support six pairs of 3 phase 16 bit center based PWM units two dual channel full duplex syn chronous serial ports SPORTS two serial peripheral interface SPI compatible ports two UARTs with IrDA support a par allel peripheral interface PPI a removable storage interface RSI controller an internal ADC with 12 channels 12 bits up to 2 MSPS and ACM controller a controller area network CAN controller a 2 wire interface TWI controller and an internal 32M bit flash PROCESS
23. Times As described in detail the ADC has two power down modes partial power down and full power down This section deals with the power up time required when coming out of either of these modes It should be noted that the power up times as explained in this section apply with the recommended capaci tors in place on the DcapA and DcapB pins To power up from full power down approximately 1 5 ms should be allowed from the falling edge of CS shown as tpower up2 in Figure 84 Exiting Full Power Down Mode Pow ering up from partial power down requires much less time The power up time from partial power down is typically 1 us how ever if using the internal reference then the ADC must be in partial power down for at least 67 us in order for this power up time to apply When power supplies are first applied to the ADC the ADC may power up in either of the power down modes or normal mode Because of this it is best to allow a dummy cycle to elapse to ensure the part is fully powered up before attempting a valid conversion Likewise if it is intended to keep the part in the par tial power down mode immediately after the supplies are applied then two dummy cycles must be initiated The first dummy cycle must hold CS low until after the 10 ADSCLK falling edge see Figure 80 Normal Mode Operation in the second cycle CS must be brought high before the 10 ADSCLK edge but after the second ADSCLK falling edge see Figure 81 Entering
24. Vpp 3 V and Figure 75 Vi Input Voltage Range vs Vggr in Pseudo Differ ential Mode with Vpp 5 V Figure 76 Pseudo Differential Mode Connection Diagram shows a connection diagram for pseudo differential mode Ta 25 C 0 8 0 6 0 4 Vm V 0 2 e 0 0 5 1 0 1 5 2 0 2 5 3 0 Vrer V Figure 74 Vy Input Voltage Range vs Veer in Pseudo Differential Mode with Vpp 3 V Rev B Page 66 of 84 0 47yF 2 0 1 5 10 z gt 0 5 0 0 5 0 05 10 15 20 25 30 35 40 45 50 Vrer V Figure 75 Vy Input Voltage Range vs Veer in Pseudo Differential Mode with Vpp 5 V ADDITIONAL PINS OMITTED FOR CLARITY Figure 76 Pseudo Differential Mode Connection Diagram Analog Input Selection The analog inputs of the ADC can be configured as single ended or true differential via the SGL DIFF logic pin as shown in Figure 77 Selecting Differential or Single Ended Configura tion If this pin is tied to a logic low the analog input channels to each on chip ADC are set up as three true differential pairs If this pin is at logic high the analog input channels to each on chip ADC are set up as six single ended analog inputs The required logic level on this pin needs to be established prior to the acquisition time and remain unchanged during the conver sion time until the track and hold has returned to track The track and hold returns to track on
25. a differential sig nal to one of the analog input pairs of the ADC The circuit configurations illustrated in Figure 72 Dual Op Amp Circuit to Convert a Single Ended Unipolar Signal Into a Differential Sig nal and Figure 73 Dual Op Amp Circuit to Convert a Single Ended Bipolar Signal into a Differential Unipolar Signal show how a dual op amp can be used to convert a single ended signal into a differential signal for both a bipolar and unipolar input signal respectively The voltage applied to Point A sets up the common mode volt age In both diagrams it is connected in some way to the reference but any value in the common mode range can be input here to set up the common mode The AD8022 is a suit able dual op amp that can be used in this configuration to provide differential drive to the ADC Take care when choosing the op amp the selection depends on the required power supply and system performance objectives The driver circuits in Figure 72 Dual Op Amp Circuit to Con vert a Single Ended Unipolar Signal Into a Differential Signal and Figure 73 Dual Op Amp Circuit to Convert a Single Ended Bipolar Signal into a Differential Unipolar Signal are optimized for dc coupling applications requiring best distortion performance The circuit configuration shown in Figure 72 Dual Op Amp Circuit to Convert a Single Ended Unipolar Signal Into a Differ ential Signal converts a unipolar single ended signal into a differential signal
26. as cache This memory block is accessed at full processor speed The third memory block is 4K bytes of scratchpad SRAM which runs at the same speed as the L1 memories but this memory is only accessible as data SRAM and cannot be configured as cache memory OxFFFF FFFF gt OxFFEO 0000 OxFFCO 0000 OxFFBO 1000 INTERNAL SCRATCHPAD RAM 4K BYTES OxFFBO 0000 OxFFA1 4000 OxFFAO 8000 L1 INSTRUCTION SRAM CACHE 16K BYTES OxFFAO 4000 L1 INSTRUCTION BANK A SRAM 16K BYTES INTERNAL CORE ACCESSIBLE MEMORY MAP OxFFAO 0000 OxFF80 8000 L1 DATA BANK A SRAM CACHE 16K BYTES OxFF80 4000 L1 DATA BANK A SRAM 16K BYTES OxFF80 0000 OxEFOO 1000 BOOT ROM 4K BYTES OxEFOO 0000 0x2000 0000 AVAILABLE ON PARTS WITH SYNC FLASH F 0x0000 0000 EXTERNAL INTERFACE ACCESSIBLE MEMORY MAP Figure 3 Internal External Memory Map External Interface Accessible Memory External memory is accessed via the EBIU memory port This 16 bit interface provides a glueless connection to the internal flash memory and boot ROM Internal flash memory ships from the factory in an erased state except for Block 0 of the parameter bank Block 0 of the Flash memory parameter bank ships from the factory in an unknown state An erase operation should be performed prior to programming this block I O Memory Space The processor does not define a separate I O space All resources are mapped through th
27. boot kernel at boot time If pulled high through an external pull 9110 6 1 ene A up resistor the HWAIT signal behaves active high and will be 1010 10 1 400 40 driven low when the processor is ready for data Conversely The core clock CCLK frequency can also be dynamically changed by means of the CSEL1 0 bits of the PLL_DIV register Supported CCLK divider ratios are 1 2 4 and 8 as shown in Table 7 This programmable core clock capability is useful for fast core frequency modifications Table 7 Core Clock Ratios when pulled low HWAIT is driven high when the processor is ready for data When the boot sequence completes the HWAIT pin can be used for other purposes The BMODE pins of the reset configuration register sampled during power on resets and software initiated resets implement the modes shown in Table 8 IDLE State No Boot BMODE 0x0 In this mode the boot kernel transitions the processor into Idle state The Example Frequency Ratios processor can then be controlled through JTAG for recov Signal Name Divider Ratio MHz ery debug or other functions CSEL1 0 VCO CCLK vco CCLK Boot from stacked parallel flash in 16 bit asynchronous 00 13 300 300 mode BMODE 0x1 In this mode conservative timing 01 21 300 150 parameters are used to communicate with the flash device The boot kernel communicates with the flash device 10 4 400 100 asynchronously 11 8 1 200 25 The maximum
28. defined as JV V VO V V THD dB 20log po 1 where Vi is the rms amplitude of the fundamental V5 V5 V4 Vs and V are the rms amplitudes of the second through the sixth harmonics Effective Number of Bits ENOB This is a figure of merit which characterizes the dynamic per formance of the ADC at a specified input frequency and sampling rate ENOB is expressed in bits For a full scale sinu soidal input ENOB is defined as ENOB SINAD 1 76 6 02 Peak Harmonic or Spurious Noise SFDR Peak harmonic or spurious noise is defined as the ratio of the rms value ofthe next largest component in the ADC out put spectrum up to fs 2 excluding dc to the rms value of the fundamental Normally the value of this specification is determined by the largest harmonic in the spectrum but for ADCs where the harmonics are buried in the noise floor it is a noise peak Channel to Channel Isolation Channel to channel isolation is a measure of the level of crosstalk between channels It is measured by applying a full scale 2 x VREF when Vpp 25V VREF when Vpp 3 V 10 kHz sine wave signal to all un selected input channels and April 2014 ADSP BF504 ADSP BF504F ADSP BF506F determining how much that signal is attenuated in the selected channel with a 50 kHz signal 0 V to Vrgg The result obtained is the worst case across all 12 channels for the ADC Intermodulation Distortion IMD With inputs consisting of sine
29. describe JTAG port operations Table 42 JTAG Port Timing Vovexr 1 8 V Vovext 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements trek TCK Period 20 20 ns tstap TDI TMS Setup Before TCK High 4 4 ns turap TDI TMS Hold After TCK High 4 4 ns tssys System Inputs Setup Before TCK High 4 4 ns tsrwi TWI System Inputs Setup Before TCK High n a 5 ns tusys System Inputs Hold After TCK High 5 5 ns trastw TRST Pulse Width measured in TCK cycles 4 4 TCK Switching Characteristics tprpo TDO Delay from TCK Low 10 10 ns tpsys System Outputs Delay After TCK Low 12 12 ns Applies to System Inputs PF15 0 PG15 0 PH2 0 NMI BMODE3 0 RESET Applies to TWI System Inputs SCL SDA For SDA and SCL system inputs the system design must comply with Vppgxr and VBUSTWI voltages specified for the default TWI DT 000 setting in Table 13 350 MHz Maximum System Outputs EXTCLK SCL SDA PF15 0 PG15 0 PH2 0 e trek TCK TMS TDI E tprpo TDO SYSTEM INPUTS E tpsvs l SYSTEM OUTPUTS Figure 31 JTAG Port Timing Rev B Page490f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F PROCESSOR OUTPUT DRIVE CURRENTS Figure 32 through Figure 40 show typical current voltage char The curves represent the current drive capability of the output acteristics for the output drivers of the ADSP BF50xF drivers See Table 11 on Page 22 for information about which proces
30. on Page 40 and Figure 22 on Page 41 describe parallel peripheral interface operations Table 27 Parallel Peripheral Interface Timing Parameter Timing Requirements trc kw PPI CLK Width tecik PPI_CLK Period Timing Requirements GP Input and Frame Capture Modes tpsup External Frame Sync Startup Delay tsrspe External Frame Sync Setup Before PPI_CLK Nonsampling Edge for Rx Sampling Edge for Tx turspe External Frame Sync Hold After PPI_CLK tsprpe Receive Data Setup Before PPI CLK tupnpE Receive Data Hold After PPI_CLK Switching Characteristics GP Output and Frame Capture Modes tprspr Internal Frame Sync Delay After PPI CLK tuorspE Internal Frame Sync Hold After PPI_CLK tDDTPE Transmit Data Delay After PPI_CLK t Transmit Data Hold After PPI_CLK HDTPE Vopext 1 8 V Voer 2 5 V 3 3 V Min Max Min Max Unit tsak 1 5 tsak 1 5 ns 2Xtsaxk 1 5 2Xtsayk 1 5 ns 4 X tecik 4 X tecik ns 6 7 6 7 ns 1 5 1 5 ns 4 1 3 5 ns 2 1 6 ns 8 7 8 0 ns 1 7 1 7 ns 8 7 8 0 ns 2 3 1 9 ns PPI CLK frequency cannot exceed fgcyx 2 The PPI port is fully enabled 4 PPI clock cycles after the PAB write to the PPI port enable bi guaranteed to be received correctly by the PPI peripheral PPI_CLK Only after the PPI port is fully enabled are external frame syncs and data words PPI_FS1 2 i GENE Figure 13 PPI with External Frame Sync Timing DATA SAMPLED FRAME SYNC SAMPLED PPI CLK turspE tsrs
31. otherwise under any patent or patent rights of Analog Devices Trademarks and registered trademarks are the property of their respective owners One Technology Way P O Box 9106 Norwood MA 02062 9106 U S A Tel 781 329 4700 2014 Analog Devices Inc All rights reserved Technical Support www analog com ADSP BF504 ADSP BF504F ADSP BF506F TABLE OF CONTENTS ri rE E 1 Additional DRIGUEO CR duecsiaucie e e eese ep Yide t tH 21 luo e M 1 Related Signal Chains 11222 cisco ret erret r eret R 21 Peripherals e 1 Signal Descriptions cnaxicinnanmmnienanmmncmmnnanniey 22 General DeseUUpGOR 4iirisiexxxe s aes bERAMRR ranr E RART 3 s caMD D AM 26 Portable Low Power Architecture 1 oorr 3 Operating oT D BOT soren 26 System Inteprabioui aoirou rane en EEEn 3 blectacal Characteristics scirent d iiie 28 Processor Perpherale sa aie n eiiiai 3 Processor Absolute Maximum Ratings 31 Blackin Processori DIE risonha ESO DSDSIVED sorrara n tS einladen eid uds 32 Memory Architetti ciosssssesacorkrrntuxsisaset FEARS ces PETER 5 Package IniormAtiON eiieeii onner 32 Flagh Memory adusctnaiaestrbtcbcda r HRK HERE dad 9 Processor Timing Specifications ssse 33 DMA Controllers 4 ernisseN das PRSE Eee t o PERRIN CAU RR TERRE 9 Processor Output Drive Currents ac asecsecepesdeisictcc vat 50 horicont TIMO e Pe rM reentaeenures 9 Processor Test Conditions ieesssxeeeesteer reip
32. reference buffer for each respective ADC Provided the output is buffered the on chip reference can be taken from these pins and applied externally to the rest of a system The range of the external reference is dependent on the analog input range selected Analog Ground Ground reference point for all analog circuitry on the internal ADC All analog input signals and any external reference signal should be referred to this AGND voltage All three of these AGND pins should connectto the AGND plane ofa system The AGND and DGND voltages ideally should be at the same potential and must not be more than 0 3 V apart even on a transient basis Vaz to Vago Analog Inputs of ADC A These may be programmed as six single ended channels or three true differ ential analog input channel pairs See Table 53 Analog Input Type and Channel Selection Vg to Ve6 Analog Inputs of ADC B These may be programmed as six single ended channels or three true differ ential analog input channel pairs See Table 53 Analog Input Type and Channel Selection RANGE Analog Input Range Selection Logic input The polarity on this pin determines the input range of the analog input channels If this pin is tied to a logic low the analog input range is 0 V to Vper If this pin is tied to a logic high when CS goes low the analog input range is 2 x Veer For details see Table 53 Analog Input Type and Channel Selection SGL DIFF Logic Input This pin sele
33. shown in Table 5 the processor supports three different power domains which maximizes flexibility while maintaining compliance with industry standards and conventions By isolat ing the internal logic of the processor into its own power domain separate from other I O the processor can take advan tage of dynamic power management without affecting the other I O devices There are no sequencing requirements for the vari ous power domains but all domains must be powered according to the appropriate Specifications table for processor operating conditions even if the feature peripheral is not used Table 5 Power Domains Power Domain Power Supply All internal logic except Memory VppiNT Flash Memory VppriAsH All other I O Vopext ADC digital supply Logic 1 0 DVpp Vprive ADC analog supply AVpp 1 On ADSP BF506F processor only The dynamic power management feature of the processor allows both the processor s input voltage Vppmr and clock fre quency fccix to be dynamically controlled The power dissipated by a processor is largely a function of its clock frequency and the square of the operating voltage For example reducing the clock frequency by 2596 results in a 2596 reduction in dynamic power dissipation while reducing the voltage by 2596 reduces dynamic power dissipation by more than 4096 Further these power savings are additive in that if the clock frequency and supply voltage are both reduced the p
34. the intervals between count events Boundary registers enable auto zero operation or simple system warning by interrupts when programmable count values are exceeded 3 PHASE PWM UNITS The two dual 3 phase PWM generation units each feature e 16 bit center based PWM generation unit e Programmable PWM pulse width e Single double update modes e Programmable dead time and switching frequency e Twos complement implementation which permits smooth transition to full ON and full OFF states Possibility to synchronize the PWM generation to either externally generated or internally generated synchroniza tion pulses e Special provisions for BDCM operation crossover and output enable functions e Wide variety of special switched reluctance SR operating modes Output polarity and clock gating control Dedicated asynchronous PWM shutdown signal Each PWM block integrates a flexible and programmable 3 phase PWM waveform generator that can be programmed to generate the required switching patterns to drive a 3 phase voltage source inverter for ac induction motor ACIM or permanent magnet synchronous motor PMSM control In addition the PWM block contains special functions that considerably simplify the generation of the required PWM switching patterns for control of the electronically commutated motor ECM or brushless dc motor BDCM Software can enable a special mode for switched reluctance motors SRM Rev B Page 10 of 84 T
35. wake up the processor from sleep mode upon generation of a wake up event such that the processor can be maintained in a low power mode during idle conditions Additionally a CAN wake up event can wake up the on chip internal voltage regulator from the powered down hibernate state The electrical characteristics of each network connection are very stringent Therefore the CAN interface is typically divided into two parts a controller and a transceiver This allows a sin gle controller to support different drivers and CAN networks The ADSP BF50x CAN module represents the controller part of the interface This module s network I O is a single transmit output and a single receive input which connect to a line transceiver The CAN clock is derived from the processor system clock SCLK through a programmable divider and therefore does not require an additional crystal TWI CONTROLLER INTERFACE The processors include a 2 wire interface TWI module for providing a simple exchange method of control data between multiple devices The TWI is compatible with the widely used IC bus standard The TWI module offers the capabilities of simultaneous master and slave operation support for both 7 bit addressing and multimedia data arbitration The TWI interface utilizes two pins for transferring clock SCL and data SDA and supports the protocol at speeds up to 400K bits sec The TWI interface pins are compatible with 5 V logic levels Additio
36. waves at two frequencies fa and fb any active device with non linearities create distortion products at sum and difference frequencies of mfa nfb where m n 0 1 2 3 and so on Intermodulation distortion terms are those for which neither m nor n are equal to zero For example the second order terms include fa fb and fa fb while the third order terms include 2fa fb 2fa fb fa 2fb and fa 2fb The ADC is tested using the CCIF standard where two input frequencies near the top end of the input bandwidth are used In this case the second order terms are usually distanced in frequency from the original sine waves while the third order terms are usually at a frequency close to the input frequencies As a result the second order and third order terms are speci fied separately The calculation of the inter modulation distortion is as per the THD specification where it is the ratio of the rms sum of the individual distortion products to the rms amplitude of the sum of the fundamentals expressed in dBs Common Mode Rejection Ratio CMRR CMRR is defined as the ratio of the power in the ADC output at full scale frequency f to the power ofa 100 mV p p sine wave applied to the common mode voltage of Vi and Vn of frequency f as CMRR dB 10 log Pf Pfs where Pf is the power at frequency fin the ADC output Pf is the power at frequency f in the ADC output Power Supply Rejection Ratio PSRR Variations in power
37. 0 das t 3 3V 3V 25 C NOTES ta 93V 3 3V 25 C THE WORST CASE TRANSMISSION LINE DELAY IS SHOWN AND CAN BE USED 50 200 250 FOR THE OUTPUT TIMING ANALYSIS TO REFELECT THE TRANSMISSION LINE EFFECT AND MUST BE CONSIDERED THE TRANSMISSION LINE TD IS FOR LOAD CAPACITANCE pF LOAD ONLY AND DOES NOT AFFECT THE DATA SHEET TIMING SPECIFICATIONS Figure 46 Driver Type B Typical Rise and Fall Times 1096 9096 vs ANALOG DEVICES RECOMMENDS USING THE IBIS MODEL TIMING FOR A GIVEN SYSTEM REQUIREMENT IF NECESSARY A SYSTEM MAY INCORPORATE Load Capacitance 3 3 V Vppexr EXTERNAL DRIVERS TO COMPENSATE FOR ANY TIMING DIFFERENCES Figure 43 Equivalent Device Loading for AC Measurements Includes All Fixtures Rev B Page520f84 April2014 RISE AND FALL TIME ns RISE AND FALL TIME ns RISE AND FALL TIME ns ADSP BF504 ADSP BF504F ADSP BF506F p 8V 25 C eed BV 25 C 0 50 10 50 200 250 LOAD CAPACITANCE pF Figure 47 Driver Type C Typical Rise and Fall Times 1096 9096 vs Load Capacitance 1 8 V Vpp_x7 Qc 2 5V 25 C sau 2 5V 25 C a LOAD CAPACITANCE pF Figure 48 Driver Type C Typical Rise and Fall Times 10 90 vs Load Capacitance 2 5 V Vpp_x7 th 3 3V 25 C rau 9 3V 25 C LOAD CAPACITANCE pF 100 Figure 49 Driver Type C Typical Rise and Fall Times 10 90 vs Load Capacitance 3 3 V Vpp_x7 Rev B Page 53 of 84 PR
38. 1 43 1 57 1 70 1 83 1 97 40 1 30 1 50 1 70 1 90 2 10 2 30 2 50 2 70 2 90 55 2 00 2 30 2 60 2 90 3 20 3 50 3 80 4 10 4 40 70 3 00 3 47 3 93 4 40 4 87 5 33 5 80 6 27 6 73 85 4 60 5 23 5 87 6 50 7 13 7 77 8 40 9 03 9 67 100 6 80 7 67 8 53 9 40 10 27 11 13 12 00 12 87 13 73 105 7 80 8 77 9 73 10 70 11 67 12 63 13 60 14 57 15 53 125 12 50 14 00 15 50 17 00 18 50 20 00 21 50 23 00 24 50 Valid frequency and voltage ranges are model specific See Operating Conditions on Page 26 Table 19 Dynamic Current in CCLK Domain mA with ASF 1 0 fcax Voltage Vppint MHz 1 10 V 1 15V 1 20V 1 25 V 1 30V 1 35V 1 40 V 1 45 V 1 50V 400 N A N A N A N A 84 46 88 30 92 39 96 35 100 49 350 N A N A N A N A 74 30 77 93 81 39 84 94 88 61 300 N A N A 58 58 61 46 64 49 67 59 70 71 73 76 77 04 250 43 76 46 22 48 64 51 09 53 61 56 19 58 93 61 56 64 22 200 35 26 37 37 39 29 41 33 43 40 45 54 47 79 49 88 52 18 150 26 71 28 38 29 87 31 46 33 09 34 83 36 56 38 22 39 95 100 18 04 19 20 20 25 21 46 22 61 23 83 25 13 26 39 27 72 1 The values are not guaranteed as standalone maximum specifications They must be combined with static current per the equations of Electrical Characteristics on Page 28 Valid frequency and voltage ranges are model specific See Operating Conditions on Page 26 and ADSP BF50x Clock Related Operating Conditions on Page 27 Rev B Page30of84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F PROCESSOR ABSOL
39. 4 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Timer Cycle Timing Table 37 and Figure 26 describe timer expired operations The input signal is asynchronous in width capture mode and external clock mode and has an absolute maximum input fre quency of fsciy 2 MHz Table 37 Timer Cycle Timing Vox 1 8 V Vosa 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements twi Timer Pulse Width Input Low 1Xtsaxk 1Xtsaxk ns Measured In SCLK Cycles tw Timer Pulse Width Input High 1 X tscik 1 X tscik ns Measured In SCLK Cycles tris Timer Input Setup Time Before CLKOUT Low 10 8 ns tuu Timer Input Hold Time After CLKOUT Low 2 2 ns Switching Characteristics tuto Timer Pulse Width Output 1Xtsak 2 0 232 1 X teary 1Xtsak 1 5 277 1 X tea lns Measured In SCLK Cycles trop Timer Output Update Delay After CLKOUT High 6 6 ns The minimum pulse widths apply for TMRx signals in width capture and external clock modes They also apply to the PGO or PPI_CLK signals in PWM output mode Either a valid setup and hold time or a valid pulse width is sufficient There is no need to resynchronize programmable flag inputs QW AN CLKOUT TMRx OUTPUT TMRx INPUT twa twi Figure 26 Timer Cycle Timing Rev B Page450f84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Timer Clock Timing Table 38 and Figure 27 describe timer clock timing Table 38 Timer Clock Timing
40. 40 105 C Junction Temperature 120 Lead LQFP Tavsen 0 C to 70 C 0 90 C Junction Temperature 88 Lead LFCSP Tamper 40 C to 105 C 40 125 C 1 Must remain powered even if the associated function is not used 1 8 V and 2 5 V I O are supported only on ADSP BF504 nonautomotive models All ADSP BF50x flash and automotive models support 3 3 V I O only For ADSP BF504 Vpprtasu pins should be connected to GND Parameter value applies to all input and bidirectional pins except SDA and SCL Bidirectional pins PF15 0 PG15 0 PH15 0 and input pins TCK TDI TMS TRST CLKIN RESET NMI and BMODE2 0 of the ADSP BF50x processors are 2 5 V tolerant always accept up to 2 7 V maximum Vyp Voltage compliance on outputs Voy is limited by the Vppgxr supply voltage Bidirectional pins PF15 0 PG15 0 PH2 0 and input pins TCK TDI TMS TRST CLKIN RESET NMI and BMODE2 0 ofthe ADSP BF50x processors are 3 3 V tolerant always accept up to 3 6 V maximum Vp Voltage compliance on outputs Voy is limited by the Vppexr supply voltage 7 The Vmrw min and max value vary with the selection in the TWI DT field ofthe NONGPIO DRIVE register See Vgusrw min and max values in Table 13 SDA and SCL are pulled up to Vgusrw See Table 13 Table 13 shows settings for TWI DT inthe NONGPIO DRIVE register Set this register prior to using the TWI port Table 13 TWI DT Field Selections and Vppgxr V gusrwi TWI DT Vpprxr Nom
41. 6 PG7 PG8 PG9 PG10 PG11 PG12 PG13 PG14 PG15 SDA SCL EMU EXT_WAKE PG PFO PF1 PHO PH1 PH2 EXTCLK 0 PF2 PF3 PF4 PF5 PF6 PF7 PF8 PF9 OAN DAU BWNY April 2014 ADSP BF504 ADSP BF504F ADSP BFS06F ESD SENSITIVITY PACKAGE INFORMATION The information presented in Figure 9 and Table 23 provides ESD electrostatic discharge sensitive device details about the package branding for the ADSP BF50x Charged devices and circuit boards can discharge processors without detection Although this product features patented or proprietary circuitry damage may occur on devices subjected to high energy ESD Therefore proper ESD precautions should be taken to avoid performance degradation or loss of functionality Figure 9 Product Information on Package Table 23 Package Brand Information Brand Key ADSP BF50x t Pp Z ccc VVVVVV X n n yyww Field Description Product Name Temperature Range Package Type RoHS Compliant Designation See Ordering Guide Assembly Lot Code Silicon Revision RoHS Compliance Designator Date Code Nonautomotive only For branding information specific to Automotive products contact Analog Devices Inc See product names in the Ordering Guide on Page 81 Rev B Page320f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F PROCESSOR TIMING SPECIFICATIONS Specifications subject to change without notice Clock and Reset Tim
42. 6 IAR5 IMASK1 ISR1 IWR1 Port H Interrupt B IVG13 46 6 IAR5 IMASK1 ISR1 IWR1 ACM Status Interrupt IVG7 47 0 IAR5 IMASK1 ISR1 IWR1 ACM Interrupt IVG10 48 3 IAR6 IMASK1 ISR1 IWR1 Reserved 49 IAR6 IMASK1 ISR1 IWR1 Reserved 50 IAR6 IMASK1 ISR1 IWR1 PWMO Trip Interrupt IVG10 51 3 IAR6 IMASK1 ISR1 IWR1 PWMO Sync Interrupt IVG10 52 3 IAR6 IMASK1 ISR1 IWR1 PWM1 Trip Interrupt IVG10 53 3 IAR6 IMASK1 ISR1 IWR1 PWM1 Sync Interrupt IVG10 54 3 IAR6 IMASK1 ISR1 IWR1 RSI Mask 1 Interrupt IVG10 55 3 IAR6 IMASK1 ISR1 IWR1 Reserved 56 through 63 IMASK1 ISR1 IWR1 Event Control The processor provides a very flexible mechanism to control the processing of events In the CEC three registers are used to coordinate and control events Each register is 16 bits wide e CEC interrupt latch register ILAT Indicates when events have been latched The appropriate bit is set when the processor has latched the event and is cleared when the event has been accepted into the system This register is updated automatically by the controller but it may be writ ten only when its corresponding IMASK bit is cleared e CEC interrupt mask register IMASK Controls the masking and unmasking of individual events When a bit is set in the IMASK register that event is unmasked and is processed by the CEC when asserted A cleared bit in the IMASK register masks the event preventing the processor from servicing the event even thou
43. ANALOG DEVICES Blackfin Embedded Processor ADSP BF504 ADSP BF504F ADSP BF506F FEATURES Up to 400 MHz high performance Blackfin processor Two 16 bit MACs two 40 bit ALUs four 8 bit video ALUs 40 bit shifter RISC like register and instruction model for ease of programming and compiler friendly support Advanced debug trace and performance monitoring Accepts a range of supply voltages for internal and I O opera tions See Operating Conditions on Page 26 Internal 32M bit flash available on ADSP BF504F and ADSP BF506F processors Internal ADC available on ADSP BF506F processor Off chip voltage regulator interface 88 lead 12 mm x 12 mm LFCSP package for ADSP BF504 and ADSP BF504F processors 120 lead 14 mm x 14 mm LQFP package for ADSP BF506F processor MEMORY 68K bytes of L1 SRAM processor core accessible memory See Table 1 on Page 3 for L1 and L3 memory size details External interface accessible memory controller with glue less support for internal 32M bit flash and boot ROM Flexible booting options from internal flash and SPI memory or from host devices including SPI PPI and UART Memory management unit providing memory protection L1INSTRUCTION MEMORY 1 IN EAB 32M BIT FLASH WATCHDOG TIMER VOLTAGE REGULATOR INTERFACE JTAG TEST AND EMULATION PERIPHERAL 1 ACCESS BUS PERIPHERALS Two 32 bit up down counters with rotary support Eight 32 bit timers counters with PWM sup
44. C PG15 UA0_CTS SD_D7 TMR1 PPI_FS2 CDG1 1 0 GPIO UARTO CTS SD Data 7 Timer1 PPI FS2 Count Down Dir 1 C Port H GPIO and Multiplexed Peripherals PHO ACM A2 DT1PRI SPIO SEL3 WAKEUP 1 0 GPIO ADC CM A2 SPORTI TX Pri Data SPIO Slave Select 3 Wake up Input C PH1 ACM AT TFS1 SPI1 SELS TACLK3 1 0 GPIO ADC CM A1 SPORT1 TX Frame Sync SPI1 Slave Select 3 Alt Timer CLK 3 C PH2 ACM AO TSCLK1 SPI1 SEL2 TACI7 1 0 GPIO ADC CM AO SPORTI TX Serial CLK SPI1 Slave Select 2 Alt Capture In 7 C TWI 2 Wire Interface Port SCL l O TWISerial Clock This signal is an open drain output and requires a pull up D 5V resistor Consult version 2 1 of the lC specification for the proper resistor value SDA I O TWI Serial Data This signal is an open drain output and requires a pull up D 5V resistor Consult version 2 1 of the I C specification for the proper resistor value JTAG Port TCK JTAG CLK TDO O JTAG Serial Data Out C TDI JTAG Serial Data In TMS JTAG Mode Select TRST JTAG Reset This signal should be pulled low if the JTAG port is not used EMU O Emulation Output C Clock CLKIN CLK Crystal In XTAL O Crystal Output EXTCLK O Clock Output B Mode Controls RESET Reset NMI Nonmaskable Interrupt This signal should be pulled high when not used BMODE2 0 Boot Mode Strap 2 0 ADSP BF50x Voltage Regulation I F EXT_WAKE O Wake up Indication C PG _ Power Good Power Supplies ALL SUPPLIES MUST BE POWERED See Operating Conditi
45. C Con version Phase SW3 opens and SW1 and SW2 move to Position B causing the comparator to become unbalanced Both inputs are disconnected once the conversion begins The con trol logic and the charge redistribution DACs are used to add and subtract fixed amounts of charge from the sampling capaci tor arrays to bring the comparator back into a balanced condition When the comparator is rebalanced the conversion is complete The control logic generates the ADC output code The output impedances of the sources driving the V and Vy pins must be matched otherwise the two inputs will have dif ferent settling times resulting in errors CAPACITIVE meme E COMPARATOR da A Swi sw3 CONTROL NET Cs Q LOGIC Vin CY CAPACITIVE DAC Figure 63 ADC Conversion Phase Analog Input Structure Figure 64 Equivalent Analog Input Circuit Conversion Phase Switches Open Track Phase Switches Closed shows the equivalent circuit of the analog input structure of the ADC in differential pseudo differential mode In single ended mode Vw is internally tied to AGND The four diodes provide ESD protection for the analog inputs Care must be taken to ensure that the analog input signals never exceed the supply rails by more than 300 mV This causes these diodes to become for ward biased and starts conducting into the substrate These diodes can conduct up to 10 mA without causing irreversible damage to the part Vpp D R1 C2 Vine C1
46. CCLK frequency both depends on the part s speed grade and depends on the applied Vppiy voltage See Table 14 for details The maximal system clock rate SCLK depends on the applied Vppmr and Vppexr voltages see Table 16 Rev B Page 16 of 84 e Boot from stacked parallel flash in 16 bit synchronous mode BMODE 0x2 In this mode fast timing parame ters are used to communicate with the flash device The boot kernel configures the flash device for synchronous burst communication and boots from the flash synchronously April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Boot from serial SPI memory EEPROM or flash BMODE 0x3 8 16 24 or 32 bit addressable devices are supported The processor uses the PF13 GPIO pin to select a single SPI EEPROM flash device connected to the SPIO interface and submits a read command and successive address bytes 0x00 until a valid 8 16 24 or 32 bit addressable device is detected Pull up resistors are required on the SPIO_SEL1 and MISO pins By default a value of 0x85 is written to the SPI BAUD register Boot from SPI host device BMODE 0x4 The proces sor operates in SPI slave mode and is configured to receive the bytes of the LDR file from an SPI host master agent The HW AIT signal must be interrogated by the host before every transmitted byte A pull up resistor is required on the SPIO SS input A pull down on the serial clock SCK may improve signal quality
47. CLK 78 PF10 4 PG15 40 Vopex 58 GND 3 PF11 6 PHO 71 Vopex 59 GND PF12 8 PH1 72 Vopex 70 GND 67 PF13 9 PH2 73 Vopex 74 NC 45 PF14 11 RESET 2 Vppex 79 NC 46 PF15 12 SCL 44 Vopex 84 NC 47 PG 63 SDA 43 VppFLAsH 15 NC 48 PGO 17 TCK 24 VopriAsH 55 NC 64 PG1 18 TDI 23 VopriAsH 61 NC 65 PG2 19 TDO 27 VoppiNT 14 NC 66 PG3 21 TMS 25 Vonir 32 NMI 1 PG4 22 TRST 26 VopiNT 42 PFO 76 PG5 28 Vopexr 5 Vopint 53 PF1 77 PG6 29 Vopext 10 VoppiNT 57 PF2 80 PG7 30 Vopext 13 Vopint 75 PF3 81 PG8 33 Vppexr 16 XTAL 69 GND 89 Pin no 89 is the GND supply see Figure 92 for the processor this pad must connect to GND Rev B Page 76 of 84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 57 88 Lead LFCSP Lead Assignment Numerical by Lead Number Lead No Signal Lead No Signal Lead No Signal Lead No Signal 1 NMI 23 TDI 45 NC 67 GND 2 RESET 24 TCK 46 NC 68 CLKIN 3 GND 25 TMS 47 NC 69 XTAL 4 PF10 26 TRST 48 NC 70 Vopexr 5 Vase 27 TDO 49 BMODE2 71 PHO 6 PF11 28 PG5 50 BMODE1 72 PH1 7 GND 29 PG6 51 BMODEO 73 PH2 8 PF12 30 PG7 52 Vppex 74 Vbpexr 9 PF13 31 Vopexr 53 Vopivr 75 Vopint 10 Vopext 32 Vopint 54 Vopex 76 PFO 11 PF14 33 PG8 55 VopeLasi 77 PF1 12 PF15 34 PG9 56 Vppex 78 EXTCLK 13 Vopext 35 PG10 57 Vopint 79 Vopext 14 Voin 36 PG11 58 Vppex 80 PF2 15 VpprLasH 37 PG12 59 Vppex 81 PF3 16 Viper 38 PG13 60 EMU 82 PF4 17 PGO 39 PG14 61 Vopeuagis 83 PF5 18 PGI 40 PG15 62 EXT_WAKE 84 Vppexr 19 PG2 41
48. Current in Idle Voowr 1 2 V fcax 50 MHz 18 mA T 2 25 C ASF 0 42 Ipp tye VopiN Current Voowr 1 40 V feik 400 MHz 104 mA T 25 C ASF 1 00 Vbpnr Current Voowt 1 225 V fec 300 MHz 69 mA T 25 C ASF 1 00 Vopint Current Voonr 1 2 V feag 200 MHz 51 mA T 25 C ASF 1 00 lppHIBERNATE Hibernate State Current Vppexr7 3 30 V 40 uA Vopriasa 1 8 V Tj 2 25 C CLKIN 0 MHz Vopint 0 V Iposigeg VopiNiT Current in Sleep Mode fcak 0 MHz fsck gt 0 MHz Table 18 mA 16 x Vppint X fcuk loppEEPSLEEP Vopint Current in Deep Sleep Mode fcx 0 MHz fsak 0MHz Table 18 mA lop Vopint Current fcak 20 MHz fsaik 20MHz Table 184 mA Table 19 x ASF 4 16 X Vopint X fcuk IppriAsHi Flash Memory Supply Current 1 10 20 mA Asynchronous Read 5 MHz NORCLK Flash Memory Supply Current 1 4 Word 18 20 mA synchronous Read 50 MHz 8 Word 20 22 mA NORCLK 16 Word 25 27 mA Continuous 28 30 mA Rev B Page280f84 April2014 ADSP BF504 ADSP BF504F ADSP BFS06F Parameter Test Conditions Min Typical Max Unit IppriAsH2 Flash Memory Supply Current 2 15 50 uA Reset Powerdown IppriAsua Flash Memory Supply Current 3 15 50 uA Standby lppriAsH4 Flash Memory Supply Current 4 15 50 pA Automatic Standby IppFLASHS Flash Memory Supply Current 5 15 40 mA Program Flash Memory Supply Current 5 15 40 mA Erase IppriAsH6 Flash Memory Supply Current 6 Program
49. D Vpp p R1 C2 ViN C1 D Figure 64 Equivalent Analog Input Circuit Conversion Phase Switches Open Track Phase Switches Closed Rev B Page63of84 The Cl capacitors in Figure 64 Equivalent Analog Input Cir cuit Conversion Phase Switches Open Track Phase Switches Closed are typically 4 pF and can primarily be attributed to pin capacitance The resistors are lumped compo nents made up of the on resistance of the switches The value of these resistors is typically about 100 The C2 capacitors are the ADC s sampling capacitors with a capacitance of 45 pF typically For ac applications removing high frequency components from the analog input signal is recommended by the use of an RC low pass filter on the relevant analog input pins with optimum values of 47 Q and 10 pF In applications where harmonic dis tortion and signal to noise ratio are critical the analog input should be driven from a low impedance source Large source impedances significantly affect the ac performance of the ADC and may necessitate the use of an input buffer amplifier The choice of the op amp is a function of the particular application When no amplifier is used to drive the analog input the source impedance should be limited to low values The maximum source impedance depends on the amount of THD that can be tolerated The THD increases as the source impedance increases and per formance degrades Figure 65 THD vs Analog Input Frequency fo
50. DSCLK cycles for example if only a 16 ADSCLK burst is available two trailing zeros are clocked out after the data If CS is left low for a further 14 or16 ADSCLK cycles the result from the other ADC on board is also accessed on the same Doyr line as shown in Figure 88 Reading Data from Both ADCs on One DOUT Line with 32 ADSCLKs See the ADC Serial Interface section Once 32 ADSCLK cycles have elapsed the Dou line returns to three state on the 32 ADSCLK falling edge If CS is brought high prior to this the Dour line returns to three state at that point Therefore CS may idle low after 32 ADSCLK cycles until it is brought high again sometime prior to the next conversion effectively idling CS low if so desired because the bus still returns to three state upon completion of the dual result read Once a data transfer is complete and DoyyA and DoyrB have returned to three state another conversion can be initiated after the quiet time toun has elapsed by bringing CS low again assuming the required acquisition time is allowed Partial Power Down Mode This mode is intended for use in applications where slower throughput rates are required Either the ADC is powered down between each conversion or a series of conversions may be per formed at a high throughput rate and the ADC is then powered April 2014 ADSP BF504 ADSP BF504F ADSP BF506F down for a relatively long duration between these bursts of sev eral conve
51. Each individual DMA capable peripheral has at least one dedicated DMA channel The processor DMA controller supports both one dimensional 1 D and two dimensional 2 D DMA transfers DMA trans fer initialization can be implemented from registers or from sets of parameters called descriptor blocks The 2 D DMA capability supports arbitrary row and column sizes up to 64K elements by 64K elements and arbitrary row and column step sizes up to 32K elements Furthermore the column step size can be less than the row step size allowing Rev B Page9of84 implementation of interleaved data streams This feature is especially useful in video applications where data can be de interleaved on the fly Examples of DMA types supported by the processor DMA con troller include e A single linear buffer that stops upon completion e A circular auto refreshing buffer that interrupts on each full or fractionally full buffer e 1 D or 2 D DMA using a linked list of descriptors e 2 D DMA using an array of descriptors specifying only the base DMA address within a common page In addition to the dedicated peripheral DMA channels there are two memory DMA channels which are provided for transfers between the various memories of the processor system with minimal processor intervention Memory DMA transfers can be controlled by a very flexible descriptor based methodology or by a standard register based autobuffer mechanism WATCHDOG TIMER
52. Enabled On Active Enabled Yes Enabled Enabled On Disabled Sleep Enabled Disabled Enabled On Deep Sleep Disabled Disabled Disabled On Hibernate Disabled Disabled Disabled Off For more information about PLL controls see the Dynamic Power Management chapter in the ADSP BF50x Blackfin Pro cessor Hardware Reference Sleep Operating Mode High Dynamic Power Savings The sleep mode reduces dynamic power dissipation by disabling the clock to the processor core CCLK The PLL and system clock SCLK however continue to operate in this mode Typi cally an external event wakes up the processor When in the sleep mode asserting a wakeup enabled in the SIC_IWRx regis ters causes the processor to sense the value of the BYPASS bit in the PLL control register PLL_CTL If BYPASS is disabled the processor transitions to the full on mode If BYPASS is enabled the processor transitions to the active mode DMA accesses to LI memory are not supported in sleep mode Deep Sleep Operating Mode Maximum Dynamic Power Savings The deep sleep mode maximizes dynamic power savings by dis abling the clocks to the processor core CCLK and to all synchronous peripherals SCLK Asynchronous peripherals may still be running but cannot access internal resources or external memory This powered down mode can only be exited by assertion of the reset pin RESET Assertion of RESET while in deep sleep mode caus
53. Erase in one bank 25 60 mA Dual Operations asynchronous read in another bank Program Erase in one bank 43 70 mA synchronous read in another bank IppriAsu7 Flash Memory Supply Current 7 15 50 uA Program Erase Suspended Standby 1 Applies to input pins Applies to JTAG input pins TCK TDI TMS TRST Applies to three statable pins Applies to bidirectional pins SCL and SDA Applies to all signal pins except SCL and SDA Guaranteed but not tested 7 See the ADSP BF50x Blackfin Processor Hardware Reference Manual for definition of sleep deep sleep and hibernate operating modes Applies to Vppexr supply only Clock inputs are tied high or low Guaranteed maximum specifications Unit for Vppmr is V Volts Unit for fsc x is MHz Example 1 4 V 75 MHz would be 0 16 x 1 4 x 75 16 8 mA adder See the ADSP BF50x Blackfin Processor Hardware Reference Manual for definition of NORCLK Rev B Page290f84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Total Power Dissipation Total power dissipation has two components 1 Static including leakage current 2 Dynamic due to transistor switching characteristics Many operating conditions can also affect power dissipation including temperature voltage operating frequency and pro cessor activity Electrical Characteristics on Page 28 shows the current dissipation for internal circuitry V ppr IDDDEEPSLEEP specifies static power dissipation as a functi
54. External Crystal Connections On the fly frequency changes can be effected by simply writing to the PLL DIV register The maximum allowed CCLK and SCLK rates depend on the applied voltages Vppr and Vppexts the VCO is always permitted to run up to the CCLK frequency specified by the part s speed grade The EXTCLK pin can be configured to output either the SCLK frequency or the input buffered CLKIN frequency called CLKBUF When configured to output SCLK CLKOUT the EXTCLK pin acts as a refer ence signal in many timing specifications While active by default it can be disabled using the EBIU AMGCTL register April 2014 ADSP BF504 ADSP BF504F ADSP BFS06F BOOTING MODES FINE ADJUSTMENT REQUIRES PLL SEQUENCING PLL CLKIN 0 5x to 64x COARSE ADJUSTMENT OIETHETEY The processor has several mechanisms listed in Table 8 for automatically loading internal and external memory after a l reset The boot mode is defined by the BMODE input pins dedi CCLK cated to this purpose There are two categories of boot modes In master boot modes the processor actively loads data from parallel or serial memories In slave boot modes the processor SCLK receives data from external host devices Table 8 Booting Modes MS BMODE2 0 Description Figure 5 Frequency Modification Methods 000 Idle No Boot 001 Boot from internal parallel flash in async mode All on chip peripherals are clocked by the system clock SC
55. GPIO SPI1 Slave Select 2 PPI FS3 CAN RX Alt Capture In 5 C PG2 SPI1 SELT TMRA CAN TX SPI1 SS 1 0 GPIO SPI1 Slave Select 1 Timer4 CAN TX SPI1 Slave Select In C PG3 HWAIT SPI1_SCK DT1SEC UA1_TX 1 0 GPIO HWAIT SPI1 SCK SPORT1 TX Sec Data UART1 TX C PG4 SPI1_MOSI DR1SEC PWM1_SYNC TACLK6 1 0 GPIO SPI1 MOSI SPORT1 Sec RX Data PWM1 SYNC AIt Timer CLK 6 C PG5 SPI1 MISO TMRZ PWM 1 TRIP 1 0 GPIO SPI1 MISO Timer7 PWM1 TRIP C PG6 ACM SGLDIFF SD D3 PWM1 AH 1 0 GPIO ADC CM SGL DIFF SD Data 3 PWM1 Drive A Hi C PG7 ACM RANGE SD D2 PWM 1 AL 1 0 GPIO ADC CM RANGE SD Data 2 PWM1 Drive A Lo C PGS DRTISEC SD D1 PWM1 BH 1 0 GPIO SPORTI Sec RX Data SD Data 1 PWM Drive B Hi C PG9 DRTPRI SD DO PWM1 BL 1 0 GPIO SPORTI Pri RX Data SD Data 0 PWM1 Drive B Lo C PG10 RFS1 SD_CMD PWM1_CH TACI6 1 0 GPIO SPORT1 RX Frame Sync SD CMD PWM Drive C Hi Alt Capture In 6 C PG11 RSCLK1 SD_CLK PWM1_CL TACLK7 1 0 GPIO SPORT1 RX Serial CLK SD CLK PWM1 Drive C Lo Alt Timer CLK 7 C PG12 UA0 RX SD D4 PPI D15 TACI2 l O GPIO UARTO RX SD Data 4 PPI Data 15 Alt Capture In 2 C PG13 UA0_TX SD_D5 PPI_D14 CZM1 1 0 GPIO UARTO TX SD Data 5 PPI Data 14 Counter Zero Marker 1 C Rev B Page220f84 April2014 Table 11 Processor Signal Descriptions Continued ADSP BF504 ADSP BF504F ADSP BF506F Driver Signal Name Type Function Type PG14 UA0_RTS SD_D6 TMRO PPI_FS1 CUD1 1 0 GPIO UARTO RTS SD Data 6 Timer0 PPI FS1 Count Up Dir 1
56. HE PIN CONFIGURATION AND ROTATED 90 CCW FUNCTION DESCRIPTIONS SECTION OF THIS DATA SHEET COMPLIANT TO JEDEC STANDARDS MS 026 BEE HD Figure 93 120 Lead Low Profile Quad Flat Package Exposed Pad LQFP_EP SW 120 2 Dimensions shown in millimeters For information relating to the SW 120 2 package s exposed pad see the table endnote on Page 74 April 2014 Rev B Page790f84 ADSP BF504 ADSP BF504F ADSP BF506F 12 10 0 30 12 00 SQ 0 60 MAX gt 0 23 11 90 0 60 0 18 i MAX i TW UUUUUUUUUUUUUUUUUUUU PIN 1 Le INDICATOR PIN 1 INDICATOR 11 85 0 50 1175 SQ BSC EXPOSED PAD 6 70 11 65 REF SQ 0 50 0 40 630 3 TOP VIEW BOTTOM VIEW 0 70 n 10 50 zi 9 90 12 MAX 0 65 REF m 0 045 FOR PROPER CONNECTION OF 0 85 THE EXPOSED PAD REFER TO 0 75 0 025 THE PIN CONFIGURATION AND 0 005 FUNCTION DESCRIPTIONS SEATING E COPLANARITY SECTION OF THIS DATA SHEET PLANE 0 08 0 138 0 194 REF COMPLIANT TO JEDEC STANDARDS MO 220 VRRD EXCEPT FOR MINIMUM THICKNESS AND LEAD COUNT Figure 94 88 Lead Lead Frame Chip Scale Package LFCSP_VQ 12x 12 mm Body Very Thin Quad CP 88 5 Dimensions shown in millimeters For information relating to the CP 88 5 package s exposed pad see the table endnote on Page 76 Rev B Page800f84 April2014 ADSP BF504 ADSP BF504F ADSP BFS06F AUTOMOTIVE PRODUCTS The ADBF504W model is available with controlled manufactur ing to sup
57. IT Lite evaluation boards and EZ Extender daughter cards is provided by software add ins called Board Support Packages BSPs The BSPs contain the required drivers pertinent release notes and select example code for the given evaluation hardware A download link for a specific BSP is located on the web page for the associated EZ KIT or EZ Extender product The link is found in the Product Download area of the product web page Rev B Page 18 of 84 Middleware Packages Analog Devices separately offers middleware add ins such as real time operating systems file systems USB stacks and TCP IP stacks For more information see the following web pages e www analog com ucos3 e www analog com ucfs e www analog com ucusbd e www analog com lwip Algorithmic Modules To speed development Analog Devices offers add ins that per form popular audio and video processing algorithms These are available for use with both CrossCore Embedded Studio and VisualDSP For more information visit www analog com and search on Blackfin software modules or SHARC software modules Designing an Emulator Compatible DSP Board Target For embedded system test and debug Analog Devices provides a family of emulators On each JTAG DSP Analog Devices sup plies an IEEE 1149 1 JTAG Test Access Port TAP In circuit emulation is facilitated by use of this JTAG interface The emu lator accesses the processor s internal features via the process
58. L ADC An ADC is integrated into the ADSP BF506F product All ADC signals are connected out to package pins to enable maximum interconnect flexibility in mixed signal applications The internal ADC is a dual 12 bit high speed low power suc cessive approximation ADC that operates from a single 2 7 V to 5 25 V power supply and features throughput rates up to 2 MSPS The device contains two ADCs each preceded by a 3 channel multiplexer and a low noise wide bandwidth track and hold amplifier that can handle input frequencies in excess of 30 MHz Figure 8 shows the functional block diagram of the internal ADC The ADC features include Dual 12 bit 3 channel ADC e Throughput rate up to 2 MSPS e Specified for DVpp and AVpp of 2 7 V to 5 25 V e Pin configurable analog inputs 12 channel single ended inputs or 6 channel fully differential inputs or 6 channel pseudo differential inputs Accurate on chip voltage reference 2 5 V e Dual conversion with read 437 5 ns 32 MHz ADSCLK e High speed serial interface e SPI QSPI MICROWIRE DSP compatible e Low power shutdown mode The conversion process and data acquisition use standard con trol inputs allowing easy interfacing to microprocessors or DSPs The input signal is sampled on the falling edge of CS con version is also initiated at this point The conversion time is determined by the ADSCLK frequency There are no pipelined delays associated with the part Rev B
59. LK P i 010 Boot from internal parallel flash in sync mode The system clock frequency is programmable by means of the SSEL3 0 bits of the PLL_DIV register The values programmed 011 Boot through SPIO master from SPI memory into the SSEL fields define a divide ratio between the PLL output 100 Boot through SPIO slave from host device VCO and the system clock SCLK divider values are 1 through 101 Boot through PPI from host 15 Table 6 illustrates typical system clock ratios 110 Reserved Note that the divisor ratio must be chosen to limit the system 111 Boot through UARTO slave from host device clock frequency to its maximum of fsc y The SSEL value can be changed dynamically without any PLL lock latencies by writing the appropriate values to the PLL divisor register PLL_DIV 1 This boot mode applies to ADSP BF504F and ADSP BF506F processors only The boot modes listed in Table 8 provide a number of mecha nisms for automatically loading the processor s internal and Table 6 Example System Clock Ratios external memories after a reset By default all boot modes use Example Frequency Ratios the slowest meaningful configuration settings Default settings Signal Name Divider Ratio MHz can be altered via the initialization code feature at boot time SSEL3 0 VCO SCLK VCO SCLK Some boot modes require a boot host wait HW AIT signal 0001 1 1 50 50 which is a GPIO output signal that is driven and toggled by the
60. MON MODE VOLTAGE TADDITIONAL PINS OMITTED FOR CLARITY Figure 69 Differential Input Definition The amplitude ofthe differential signal is the difference between the signals applied to the V and Vw pins in each differential pair Vni Vm Vy and Vy should be simultaneously driven by two signals each of amplitude Vr or 2 x Vggg depending on the range chosen that are 180 out of phase The amplitude of the differential signal is therefore assuming the 0 to V gg range is selected V ger to V ger peak to peak 2 x V ggg regardless of the common mode CM The common mode is the average of the two signals Vine Vin 2 and is therefore the voltage on which the two inputs are centered This results in the span of each input being CM Vper 2 This voltage has to be set up externally and its range varies with the reference value Vpggr As the value of Vpgp increases the common mode range decreases When driving the inputs with an amplifier the actual common mode range is determined by the amplifier s output voltage swing Figure 70 Input Common Mode Range vs VREF 0 to VREF Range VDD 5 V and Figure 71 Input Common Mode Range vs VREF 2 x VREF Range VDD 5 V show how the common mode range typically varies with Vggr for a 5 V power April 2014 ADSP BF504 ADSP BF504F ADSP BF506F supply using the 0 to Vppp range or 2 x Vggr range respectively The common mode must be in this range to guarante
61. O 1 0 GPIO SPORTO TX Pri Data PWMO Drive B Hi PPI Data 8 Counter Zero Marker OQ C PF3 TFSO PWMO BL PPI D9 CDGO 1 0 GPIO SPORTO TX Frame Sync PWMO0 Drive B Lo PPI Data 9 Count Down Dir 0 C PFA RFSO PWMO CH PPI D10 TACLKO 1 0 GPIO SPORTO RX Frame Sync PWMO Drive C Hi PPI Data 10 Alt Timer CLK 0 C PF5 DROPRI PWMO CL PPI D11 TACLK1 1 0 GPIO SPORTO Pri RX Data PWMO Drive C Lo PPI Data 11 Alt Timer CLK 1 C PF6 UA1 TX PWMO TRIP PPI D12 1 0 GPIO UART1 TX PWMO TRIP PPI Data 12 C PF7 UA1 RX PWMO SYNC PPI D13 TACI3 1 0 GPIO UART1 RX PWMO SYNC PPI Data 13 Alt Capture In 3 C PF8 UA1 RTS DTOSEC PPI D7 1 0 GPIO UART1 RTS SPORTO TX Sec Data PPI Data 7 C PF9 UA1 CTS DROSEC PPI D6 CZMO 1 0 GPIO UART1 CTS SPORTO Sec RX Data PPI Data 6 Counter Zero Marker 0 C PF10 SPIO_SCK TMR2 PPI_D5 1 0 GPIO SPIO SCK Timer2 PPI Data 5 C PF11 SPIO MISO PWMO TRIP PPI DA TACLK2 O GPIO SPIO MISO PWMO TRIP PPI Data 4 Alt Timer CLK 2 C PF12 SPIO MOSI PWMO SYNC PPI D3 1 0 GPIO SPIO MOSI PWMO SYNC PPI Data 3 C PF13 SPIO SELT TMR3 PPI D2 SPIO SS 1 0 GPIO SPIO Slave Select 1 Timer3 PPI Data 2 SPIO Slave Select In C PF14 SPIO SEL2 PWMO AH PPI D1 1 0 GPIO SPIO Slave Select 2 PWMO AH PPI Data 1 C PF15 SPIO SEL3 PWMO AL PPI DO 1 0 GPIO SPIO Slave Select 3 PWMO AL PPI Data 0 C Port G GPIO and Multiplexed Peripherals PGO SPI1 SELS TMRCLK PPI CLK UA1 RX TACIM VO GPIO SPI1 Slave Select 3 Timer CLK PPI Clock UART1 RX Alt Capture In 4 C PG1 SPIT1 SEL2 PP FS3 CAN RX TACIS 1 0
62. OCESSOR ENVIRONMENTAL CONDITIONS To determine the junction temperature on the application printed circuit board use T Tease t CFjp x Pp where T junction temperature C Tcase case temperature C measured by customer at top cen ter of package Yr from Table 43 and Table 44 Pp power dissipation see Total Power Dissipation on Page 30 for the method to calculate Pp Values of 074 are provided for package comparison and printed circuit board design considerations 054 can be used for a first order approximation of T by the equation T T4 0j x Pp where T ambient temperature C Values of 6 c are provided for package comparison and printed circuit board design considerations when an external heat sink is required Values of Oyz are provided for package comparison and printed circuit board design considerations In Table 43 and Table 44 airflow measurements comply with JEDEC standards JESD51 2 and JESD51 6 and the junction to board measurement complies with JESD51 8 The junction to case measurement complies with MIL STD 883 Method 1012 1 All measurements use a 2S2P JEDEC test board Table 43 Thermal Characteristics 88 Lead LFCSP Parameter Condition Typical Unit Oja 0 linear m s air flow 26 2 C W Oma 1 linear m s air flow 23 7 C W Oma 2 linear m s air flow 22 9 C W 0j 16 0 C W Bic 9 8 C W Yir 0 linear m s air flow 0 21 C W Wir 1 linear m s air flow 0 36
63. OR PERIPHERALS The ADSP BF50x processors contain a rich set of peripherals connected to the core via several high bandwidth buses provid ing flexibility in system configuration as well as excellent overall system performance see the block diagram on Page 1 These Blackfin processors contain high speed serial and parallel ports an interrupt controller for flexible management of interrupts from the on chip peripherals or external sources and power management control functions to tailor the performance and power characteristics of the processor and system to many application scenarios The SPORT SPI UART PPI and RSI peripherals are sup ported by a flexible DMA structure There are also separate memory DMA channels dedicated to data transfers between the processor s various memory spaces including boot ROM and internal 32M bit synchronous burst flash Multiple on chip buses running at up to 100 MHz provide enough bandwidth to keep the processor core running along with activity on all of the on chip and external peripherals The ADSP BF50x processors include an interface to an off chip voltage regulator in support of the processor s dynamic power management capability April 2014 ADSP BF504 ADSP BF504F ADSP BF506F BLACKFIN PROCESSOR CORE As shown in Figure 2 the Blackfin processor core contains two 16 bit multipliers two 40 bit accumulators two 40 bit ALUs four video ALUs and a 40 bit shifter The computation units
64. PUT FREQUENCY kHz Figure 67 THD vs Analog Input Frequency for Various Supply Voltages Analog Inputs The ADC has a total of 12 analog inputs Each on board ADC has six analog inputs that can be configured as six single ended channels three pseudo differential channels or three fully dif ferential channels These may be selected as described in the Analog Input Selection section Single Ended Mode The ADC can have a total of 12 single ended analog input chan nels In applications where the signal source has high impedance it is recommended to buffer the analog input before applying it to the ADC The analog input range can be programmed to be either 0 to Vggr or 0 to 2 x Vpger If the analog input signal to be sampled is bipolar the internal reference of the ADC can be used to externally bias up this sig nal to make it correctly formatted for the ADC Figure 68 shows a typical connection diagram when operating the ADC in sin gle ended mode Rev B Page 64 of 84 TADDITIONAL PINS OMITTED FOR CLARITY Figure 68 Single Ended Mode Connection Diagram Differential Mode The ADC can have a total of six differential analog input pairs Differential signals have some benefits over single ended sig nals including noise immunity based on the device s common mode rejection and improvements in distortion performance Figure 69 Differential Input Definition defines the fully differ ential analog input of the ADC COM
65. Partial Power Down Mode Alternatively if it is intended to place the part in full power down mode when the supplies are applied then three dummy cycles must be initiated Rev B Page 70 of 84 The first dummy cycle must hold CS low until after the 10 ADSCLK falling edge see Figure 80 Normal Mode Opera tion the second and third dummy cycles place the part in full power down see Figure 83 Entering Full Power Down Mode Once supplies are applied to the ADC enough time must be allowed for any external reference to power up and charge the various reference buffer decoupling capacitors to their final values Power vs Throughput Rate The power consumption of the ADC varies with the throughput rate When using very slow throughput rates and as fast an ADSCLK frequency as possible the various power down options can be used to make significant power savings How ever the ADC quiescent current is low enough that even without using the power down options there is a noticeable variation in power consumption with sampling rate This is true whether a fixed ADSCLK value is used or if it is scaled with the sampling rate Figure 85 Power vs Throughput in Normal Mode with VDD 3 V and Figure 86 Power vs Throughput in Normal Mode with VDD 5 V show plots of power vs the throughput rate when operating in normal mode for a fixed April 2014 ADSP BF504 ADSP BF504F ADSP BF506F
66. RO DMA Channel 8 UARTO Rx IVG10 22 3 IAR2 IMASKO ISRO IWRO DMA Channel 9 UARTO Tx IVG10 23 3 IAR2 IMASKO ISRO IWRO DMA Channel 10 UART1 Rx IVG10 24 3 IAR3 IMASKO ISRO IWRO DMA Channel 11 UART1 Tx IVG10 25 3 IAR3 IMASKO ISRO IWRO CAN Receive IVG11 26 4 IAR3 IMASKO ISRO IWRO CAN Transmit IVG11 27 4 IAR3 IMASKO ISRO IWRO TWI IVG11 28 4 IAR3 IMASKO ISRO IWRO Port F Interrupt A IVG11 29 4 IAR3 IMASKO ISRO IWRO Port F Interrupt B IVG11 30 4 IAR3 IMASKO ISRO IWRO Reserved 31 IAR3 IMASKO ISRO IWRO Timer 0 IVG12 32 5 IAR4 IMASK1 ISR1 IWR1 Timer 1 IVG12 33 5 IARA IMASK1 ISR1 IWR1 Timer 2 IVG12 34 5 IAR4 IMASK1 ISR1 IWR1 Timer 3 IVG12 35 5 IAR4 IMASK1 ISR1 IWR1 Timer 4 IVG12 36 5 IAR4 IMASK1 ISR1 IWR1 Timer 5 IVG12 37 5 IAR4 IMASK1 ISR1 IWR1 Timer 6 IVG12 38 5 IAR4 IMASK1 ISR1 IWR1 Timer 7 IVG12 39 5 IAR4 IMASK1 ISR1 IWR1 Port G Interrupt A IVG12 40 5 IAR5 IMASK1 ISR1 IWR1 Port G Interrupt B IVG12 41 5 IAR5 IMASK1 ISR1 IWR1 MDMA Stream 0 IVG13 42 6 IAR5 IMASK1 ISR1 IWR1 Rev B Page70f84 April 2014 ADSP BF504 ADSP BF504F ADSP BFS06F Table 3 System Interrupt Controller SIC Continued General Purpose Peripheral Default Core Peripheral Interrupt Source Interrupt at Reset Interrupt ID Interrupt ID SIC Registers MDMA Stream 1 IVG13 43 6 IAR5 IMASK1 ISR1 WR1 Software Watchdog Timer IVG13 44 6 IAR5 IMASKI ISR1 IWR1 Port H Interrupt A IVG13 45
67. SPORT and memory e Interrupts Each transmit and receive port generates an interrupt upon completing the transfer of a data word or after transferring an entire data buffer or buffers through DMA e Multichannel capability Each SPORT supports 128 chan nels out of a 1024 channel window and is compatible with the H 100 H 110 MVIP 90 and HMVIP standards SERIAL PERIPHERAL INTERFACE SPI PORTS The ADSP BF50x processors have two SPI compatible ports that enable the processor to communicate with multiple SPI compatible devices The SPI interface uses three pins for transferring data two data pins MOSI Master Output Slave Input and MISO Master Input Slave Output and a clock pin serial clock SCK An SPI chip select input pin SPIx_SS lets other SPI devices select the processor and three SPI chip select output pins SPIx SEL3 1 let the processor select other SPI devices The SPI select pins are reconfigured general purpose I O pins Using these pins the SPI port provides a full duplex synchronous serial interface which supports both master slave modes and multimaster environments The SPI port s baud rate and clock phase polarities are programmable and it has an integrated DMA channel configurable to support transmit or receive data streams The SPI s DMA channel can only service unidirectional accesses at any given time The SPI port s clock rate is calculated as fscrx SPI Clock Rate 2x SPI BAUD Where th
68. The processor includes a 32 bit timer that can be used to imple ment a software watchdog function A software watchdog can improve system availability by forcing the processor to a known state through generation of a core and system reset nonmas kable interrupt NMI or general purpose interrupt if the timer expires before being reset by software The programmer initializes the count value of the timer enables the appropriate interrupt then enables the timer Thereafter the software must reload the counter before it counts to zero from the pro grammed value This protects the system from remaining in an unknown state where software which would normally reset the timer has stopped running due to an external noise condition or software error If configured to generate a reset the watchdog timer resets both the core and the processor peripherals After a reset software can determine whether the watchdog was the source of the hardware reset by interrogating a status bit in the watchdog timer control register The timer is clocked by the system clock SCLK at a maximum frequency of fscix TIMERS There are nine general purpose programmable timer units in the processors Eight timers have an external pin that can be configured either as a pulse width modulator PWM or timer output as an input to clock the timer or as a mechanism for measuring pulse widths and periods of external events These timers can be synchronized to an externa
69. UTE MAXIMUM RATINGS Stresses greater than those listed in Table 20 may cause perma nent damage to the device These are stress ratings only Functional operation of the device at these or any other condi tions greater than those indicated in the operational sections of this specification is not implied Exposure to absolute maximum rating conditions for extended periods may affect device reliability Table 20 Absolute Maximum Ratings Parameter Rating Internal Supply Voltage Vppiyr 0 3V to 1 5 V External I O Supply Voltage Vpp_xr 0 3Vto 3 8 V Input Voltage 0 5 V to 43 6 V Input Voltage 0 5 V to 45 5 V Output Voltage Swing 0 5Vto Vasesr t 0 5 V lon lo Current per Pin Group 76 mA max Storage Temperature Range 65 Cto 150 C Junction Temperature While Biased 110 C Nonautomotive Models Junction Temperature While Biased 125 C Automotive Models Applies to 10096 transient duty cycle For other duty cycles see Table 21 Applies only when Vppexr is within specifications When Vppexr is outside speci fications the range is Vppgxr 0 2 V Applies to pins SCL and SDA For more information see description preceding Table 22 Table 21 Maximum Duty Cycle for Input Transient Voltage Vin Min V Vin Max V Maximum Duty Cycle 0 50 3 80 100 0 70 4 00 40 0 80 4 10 25 0 90 4 20 15 1 00 4 30 10 1 Applies to all signal pins wi
70. V B 195 SINGLE ENDED MODE a 7000 o o 10 0 j 6000 i 9 5 Vpp 3V 5000 5 SINGLE ENDED MODE 3 z o u 90 4000 a Vpp 3V Vpp 5V s ie DD Dp Q 85 MT DIFFERENTIAL MODE DIFFERENTIAL MODE g 3000 uL zZ u 8 0 2000 7 5 1000 5 CODES 11 CODES 7 0 0 0 05 10 15 20 25 30 3 5 4 0 5 0 2046 2047 2048 2049 2050 Vner V CODE Figure 57 Effective Number of Bits vs Vper Figure 60 Histogram of Codes for 10k Samples in Single Ended Mode 2 5010 60 DIFFERENTIAL MODE Vpp 3V 5V Eas DD 2 5005 70 2 5000 75 e g lt 2 4995 x 9 ui ied 4 gt O 85 2 4990 90 2 4985 95 2 4980 100 0 20 40 60 80 100 120 140 160 180 200 0 200 400 600 800 1000 1200 CURRENT LOAD uA RIPPLE FREQUENCY kHz Figure 58 Vger vs Reference Output Current Drive Figure 61 CMRR vs Common Mode Ripple Frequency Rev B Page600f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F ADC TERMINOLOGY Differential Nonlinearity DNL Differential nonlinearity is the difference between the mea sured and the ideal 1 LSB change between any two adjacent codes in the ADC Integral Nonlinearity INL Integral nonlinearity is the maximum deviation from a straight line passing through the endpoints of the ADC trans fer function The endpoints of the transfer function are zero scale with a single 1 LSB point below the first code transi tion and full scale with a 1 LSB point above the last code transition Offset Error Offset error applies to straight b
71. Vopexr 63 PG 85 PF6 20 Vob d 42 Vbi 64 NC 86 PF7 21 PG3 43 SDA 65 NC 87 PF8 22 PG4 44 SCL 66 NC 88 PF9 89 GND Pin no 89 is the GND supply see Figure 92 for the processor this pad must connect to GND Rev B Page770f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Figure 91 shows the top view of the LFCSP pin configuration Figure 92 shows the bottom view of the LFCSP lead configuration PIN 88 PIN 67 PIN 67 PIN 88 PIN 1 PIN 66 PIN 66 88 LEAD LFCSP PIN 1 BOTTOM VIEW 1 PIN 1 INDICATOR 88 LEAD LFCSP GND PAD NL TOP VIEW PIN 89 PIN 1 INDICATOR PIN 22 PIN 45 PIN 45 PIN 22 PIN 23 PIN 44 PIN 46 PIN 23 Figure 91 88 Lead LFCSP Lead Configuration Top View Figure 92 88 Lead LFCSP Lead Configuration Bottom View Rev B Page780f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F OUTLINE DIMENSIONS Dimensions in Figure 93 for the 120 lead LQFP and in Figure 94 for the 88 lead LFCSP are shown in millimeters lt 4 60 REF 0 75 0 77 REF 0 607 0 45 1 00 LA 1 915 EXPOSED PAI 4 1 EXPOSED 2 945 REF s PAD P gi F Sa sa s vA T 1 pec j 145 I 0 20 i 140 0 15 241 a 2 81 REF 135 0 09 se i Ayt 7 045 A AF 0 0 10 N 005 BEATING 0 08 MAX M COPLANARITY T p 3 75 REF QU EN BSC 0 1 FOR PROPER CONNECTION OF VIEWA LEAD PITCH THE EXPOSED PAD REFER TO T
72. X tscix 2 0 2 X tsc 1 5 ns tspiTDM Sequential Transfer Delay 2 X tsc 1 5 2 X tsak 1 5 ns topspipm SCK Edge to Data Out Valid Data Out Delay 0 6 0 6 ns tupspiom SCK Edge to Data Out Invalid Data Out Hold 1 0 1 0 ns CPHA 1 INPUT CPHA 0 SPIxSELy OUTPUT tspsciM tspicuM tspicum le gt SPIxSCK OUTPUT SPIxMOSI OUTPUT SPIxMOSI OUTPUT tsspiom SPIxMISO INPUT Figure 23 Serial Peripheral Interface SPI Port Master Timing tuspiom Rev B tupspipm tupsPipm Page 42 of 84 tspicLk April 2014 topspipm tsspiom tuspiDM ADSP BF504 ADSP BF504F ADSP BF506F Serial Peripheral Interface SPI Port Slave Timing Table 35 and Figure 24 describe SPI port slave operations Table 35 Serial Peripheral Interface SPI Port Slave Timing Vovexr 1 8 V Vovext 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements tspicus Serial Clock High Period 2Xtsak 1 5 2Xtsak 1 5 ns tspicis Serial Clock Low Period 2Xtsak 1 5 2Xtsak 1 5 ns tspicik Serial Clock Period 4 X tsak 4 X tsak ns tups Last SCK Edge to SPISS Not Asserted 2xtsak 1 5 2xtsak 1 5 ns tspitps Sequential Transfer Delay 2 X tsak 1 5 2 X tsak 1 5 ns tspsci SPISS Assertion to First SCK Edge 2Xtsak 1 5 2Xtsak 1 5 ns tsspip Data Input Valid to SCK Edge Data Input Setup 1 6 1 6 ns tuspip SCK Sa
73. a the JTAG interface e Reset This event resets the processor Nonmaskable Interrupt NMI The NMI event can be generated either by the software watchdog timer by the NMI input signal to the processor or by software The NMI event is frequently used as a power down indicator to initiate an orderly shutdown of the system e Exceptions Events that occur synchronously to program flow in other words the exception is taken before the instruction is allowed to complete Conditions such as data alignment violations and undefined instructions cause exceptions e Interrupts Events that occur asynchronously to program flow They are caused by input signals timers and other peripherals as well as by an explicit software instruction Each event type has an associated register to hold the return address and an associated return from event instruction When an event is triggered an interrupt service routine ISR must save the state of the processor to the supervisor stack The processor event controller consists of two stages the core event controller CEC and the system interrupt controller SIC The core event controller works with the system interrupt controller to prioritize and control all system events Conceptu ally interrupts from the peripherals enter into the SIC and are then routed directly into the general purpose interrupts of the CEC Core Event Controller CEC The CEC supports nine general purpose inte
74. ampling instants and provides precise sampling signals to the ADC April 2014 ADSP BF504 ADSP BF504F ADSP BF506F The ACM synchronizes the ADC conversion process generat ing the ADC controls the ADC conversion start signal and other signals The actual data acquisition from the ADC is done by the SPORT peripherals The serial interface on the ADC allows the part to be directly connected to the ADSP BF504 ADSP BF504F and ADSP BF506F processors using serial interface protocols Figure 6 shows how to connect an external ADC to the ACM and one of the two SPORTs on the ADSP BF504 or ADSP BF504F processors ADSP BF504 ADSP BF504F DRxSEC DRxPRI RCLKx RFSx SPORTx ACLK cs ACM ACM A 2 0 ACM SGLDIFF ACM RANGE RANGE SGL DIFF A 2 0 cs ADSCLK DourA DourB ADC EXTERNAL Figure 6 ADC External ACM and SPORT Connections The ADC is integrated into the ADSP BF506F product Figure 7 shows how to connect the internal ADC to the ACM and to one of the two SPORTs on the ADSP BF506F processor ADSP BF506F DRxSEC DRxPRI SPORTx PELS ACLK cs ACM ACM_A 2 0 ACM_SGLDIFF ACM_RANGE RANGE SGL DIFF A 2 0 cs ADC INTERNAL sci DourA DourB Figure 7 ADC Internal ACM and SPORT Connections The ADSP BF504 ADSP BF504F and ADSP BF506F proces sors interface directly to the ADC without any glue logic required The availability of secondary receive registers on the serial ports of the
75. and reduce the effects of glitches on the power supply line To avoid radiating noise to other sections of the board fast switching signals such as clocks should be shielded with digital ground and clock signals should never run near the analog inputs Avoid crossover of digital and analog signals To reduce the effects of feed through within the board traces on opposite sides of the board should run at right angles to each other Good decoupling is also important All analog supplies should be decoupled with 10 uF tantalum capacitors in parallel with 0 1 uF capacitors to GND To achieve the best results from these decoupling components they must be placed as close as possible to the device ideally right up against the device The 0 1 uF capacitors should have low effective series resistance ESR and effective series inductance ESI such as the common ceramic types or surface mount types These low ESR and ESI capacitors provide a low impedance path to ground at high frequencies to handle transient currents due to internal logic switching ADDITIONAL INFORMATION The following publications that describe the ADSP BF50x pro cessors and related processors can be ordered from any Analog Devices sales office or accessed electronically on our website e Getting Started With Blackfin Processors e ADSP BF50x Blackfin Processor Hardware Reference vol umes 1 and 2 e Blackfin Processor Programming Reference e ADSP BF50x Blackfin Pro
76. and booting robustness Boot from PPI host device BMODE 0x5 The proces sor operates in PPI slave mode and is configured to receive the bytes of the LDR file from a PPI host master agent Boot from UARTO host on Port G BMODE 0x7 Using an autobaud handshake sequence a boot stream for matted program is downloaded by the host The host selects a bit rate within the UART clocking capabilities When performing the autobaud detection the UART expects an 0x40 character eight bits data one start bit one stop bit no parity bit on the UAO_RX pin to deter mine the bit rate The UART then replies with an acknowledgement composed of 4 bytes OxBF the value of UARTO DLL the value of UARTO_DLH then 0x00 The host can then download the boot stream The processor deasserts the UAO_RTS output to hold off the host UAO CTS functionality is not enabled at boot time For each of the boot modes a 16 byte header is first read from an external memory device The header specifies the number of bytes to be transferred and the memory destination address Multiple memory blocks may be loaded by any boot sequence Once all blocks are loaded program execution commences from the address stored in the EVT1 register The boot kernel differentiates between a regular hardware reset and a wakeup from hibernate event to speed up booting in the later case Bits 6 4 in the system reset configuration SYSCR register can be use
77. based on the Eclipse framework Supporting most Analog Devices proces sor families it is the IDE of choice for future processors including multicore devices CrossCore Embedded Studio seamlessly integrates available software add ins to support real time operating systems file systems TCP IP stacks USB stacks algorithmic software modules and evaluation hardware board support packages For more information visit www analog com cces April 2014 ADSP BF504 ADSP BF504F ADSP BF506F The other Analog Devices IDE VisualDSP supports proces sor families introduced prior to the release of CrossCore Embedded Studio This IDE includes the Analog Devices VDK real time operating system and an open source TCP IP stack For more information visit www analog com visualdsp Note that VisualDSP will not support future Analog Devices processors EZ KIT Lite Evaluation Board For processor evaluation Analog Devices provides wide range of EZ KIT Lite evaluation boards Including the processor and key peripherals the evaluation board also supports on chip emulation capabilities and other evaluation and development features Also available are various EZ Extenders which are daughter cards delivering additional specialized functionality including audio and video processing For more information visit www analog com and search on ezkit or ezextender EZ KIT Lite Evaluation Kits For a cost effective way to learn more about de
78. cessor Anomaly List RELATED SIGNAL CHAINS A signal chain is a series of signal conditioning electronic com ponents that receive input data acquired from sampling either real time phenomena or from stored data in tandem with the output of one portion of the chain supplying input to the next Signal chains are often used in signal processing applications to gather and process data or to apply system controls based on analysis of real time phenomena For more information about this term and related topics see the signal chain entry in Wikipedia or the Glossary of EE Terms on the Analog Devices website Analog Devices eases signal processing system development by providing signal processing components that are designed to work together well A tool for viewing relationships between specific applications and related components is available on the www analog com website The Application Signal Chains page in the Circuits from the Lab site http www analog com signalchains provides e Graphical circuit block diagram presentation of signal chains for a variety of circuit types and applications Drill down links for components in each chain to selection guides and application information e Reference designs applying best practice design techniques Rev B Page210f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F SIGNAL DESCRIPTIONS Signal definitions for the ADSP BF50x processors are listed in Table 11 All pins fo
79. cessors are completely code compatible with other Blackfin processors ADSP BF50x processors offer performance up to 400 MHz and reduced static power con sumption Differences with respect to peripheral combinations are shown in Table 1 Table 1 Processor Comparison i 3 m i i 5 d d a a Feature lt lt Up Down Rotary Counters 2 2 2 Timer Counters with PWM 8 8 8 3 Phase PWM Units 2 2 2 SPORTs 2 2 2 SPIs 2 2 2 UARTs 2 2 2 Parallel Peripheral Interface 1 1 1 Removable Storage Interface 1 1 1 CAN 1 1 1 TWI 1 1 1 Internal 32M Bit Flash 1 1 ADC Control Module ACM 1 1 1 Internal ADC 1 GPIOs 35 35 35 Li Instruction SRAM 16K 16K 16K L1 Instruction SRAM Cache 16K 16K 16K L1 Data SRAM 16K 16K 16K E L1 Data SRAM Cache 16K 16K 16K E L1 Scratchpad 4K 4K 4K L3 Boot ROM 4K 4K 4K Maximum Speed Grade 400 MHz Maximum System Clock Speed 100 MHz Package Options 88 Lead 88 Lead 120 Lead LFCSP LFCSP LQFP 1 For valid clock combinations see Table 14 Table 15 Table 16 and Table 24 By integrating a rich set of industry leading system peripherals and memory Blackfin processors are the platform of choice for next generation applications that require RISC like program mability multimedia support and leading edge signal processing in one integrated package Rev B Page3of84 PORTABLE LOW POWER ARCHITECTURE Blackfin processors provide world class power management and performance
80. ches on the CS line Although the device may begin to power up on the falling edge of CS it powers down THE PART BEGINS TO POWER UP again on the rising edge of CS If the ADC is already in partial power down mode and CS is brought high between the second and 10 falling edges of ADSCLK the device enters full power down mode Full Power Down Mode This mode is intended for use in applications where throughput rates slower than those in the partial power down mode are required as power up from a full power down takes substan tially longer than that from partial power down This mode is more suited to applications where a series of conversions per formed at a relatively high throughput rate are followed by a long period of inactivity and thus power down When the ADC is in full power down all analog circuitry is powered down Full power down is entered in a similar way as partial power down except the timing sequence shown in Figure 81 Entering Partial Power Down Mode must be executed twice The conversion process must be interrupted in a similar fashion by bringing CS high anywhere after the second falling edge of ADSCLK and before the 10 falling edge of ADSCLK The device enters par tial power down at this point To reach full power down the next conversion cycle must be interrupted in the same way as shown in Figure 83 Entering Full Power Down Mode Once CS is brought high in this window of ADSCLKs the part com pletely powe
81. cles for the output to appear compared to when the external sync signal is asynchronous to the peripheral clock For more information see the ADSP BF50x Blackfin Processor Hardware Reference PWMx_SYNC AS INPUT E tes H lop tpoe OUTPUT lpopis PWNMx TRIP Figure 29 PWM Timing Rev B Page470f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F ADC Controller Module ACM Timing Table 41 and Figure 30 describe ACM operations Note that the ACM clock ACLK frequency in MHz is set by the following equation in which ACMCKDIV ranges from 0 to 255 1 t ACLK fac k f scr ACIK 2x ACMCKDIV 2 Table 41 ACM Timing Vos 1 8 V Voer 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements tspr SPORT DRxPRI DRxSEC Setup Before ACLK 8 0 7 0 ns thor SPORT DRxPRI DRxSEC Hold After ACLK 0 0 ns Switching Characteristics tpo ACM Controls ACM A 2 0 ACM RANGE ACM_SGLDIFF Delay 8 4 8 4 ns After Falling Edge of CLKOUT toacx ACLK Delay After Falling Edge of CLKOUT 45 45 ns tocs CS Active Edge Delay After Falling Edge of CLKOUT 5 6 5 3 ns tocsacix The Delay Between the Active Edge of CS and the First Edgeof tacyx 5 tacik 5 ns ACLK tocs toactk ACLK ACM CONTROLS ho DRxPRI DRxSEC Figure 30 ACM Timing Rev B Page480f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F JTAG Test And Emulation Port Timing Table 42 and Figure 31
82. code gen eration and status and interrupts are programmable e Supporting bit rates ranging from fgcyx 1 048 576 to fscix bits per second e Supporting data formats from 7 to 12 bits per frame Both transmit and receive operations can be configured to generate maskable interrupts to the processor The UART port s clock rate is calculated as scik 160 FP8O X UART Divisor Where the 16 bit UART divisor comes from the UARTx DLH register most significant 8 bits and UARTx DLL register least significant eight bits and the EDBO is a bit in the UARTx GCTL register In conjunction with the general purpose timer functions auto baud detection is supported The UARTS feature a pair of UAx_RTS request to send and UAx CTS clear to send signals for hardware flow purposes The transmitter hardware is automatically prevented from sending further data when the UAx CTS input is de asserted The receiver can automatically de assert its UAx_RTS output when the enhanced receive FIFO exceeds a certain high water level The capabilities of the UARTS are further extended with support for the Infrared Data Association IrDA Serial Infra red Physical Layer Link Specification SIR protocol PARALLEL PERIPHERAL INTERFACE PPI The processor provides a parallel peripheral interface PPI that can connect directly to parallel A D and D A converters video encoders and decoders and other general purpose peripherals The PPI consist
83. cts whether the analog inputs are configured as differential pairs or single ended A logic low selects differential operation while a logic high selects single ended operation For details see Table 53 Analog Input Type and Channel Selection AO to A2 Multiplexer Select Logic inputs These inputs are used to select the pair of channels to be simultane ously converted such as Channel 1 of both ADC A and ADC B Channel 2 of both ADC A and ADC B and so on The pair of channels selected may be two single ended channels or two differential pairs The logic states of these pins need to be set up prior to the acquisition time and subsequent falling edge of CS to correctly set up the multiplexer for that conversion For further details see Table 53 Analog Input Type and Channel Selection Chip Select Active low logic input This input provides the dual function of initiating conversions on the internal ADC and framing the serial data transfer When connecting CS to a processor signal that is three stated during reset and or hibernate adding a pull up resistor may prove useful to avoid random ADC operation ADSCLK Serial Clock Logic input A serial clock input provides the ADSCLK for accessing the data from the internal ADC This clock is also used as the clock source for the conversion process Rev B Page240f84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 12 ADC Signal Descriptions ADSP BF506F Proce
84. d to bypass the pre boot routine and or boot kernel in case of a software reset They can also be used to simu late a wakeup from hibernate boot in the software reset case The boot process can be further customized by initialization code This is a piece of code that is loaded and executed prior to the regular application boot Typically this is used to speed up booting by managing the PLL clock frequencies wait states or serial bit rates The boot ROM also features C callable functions that can be called by the user application at run time This enables second stage boot or boot management schemes to be implemented with ease Rev B Page 17 of 84 INSTRUCTION SET DESCRIPTION The Blackfin processor family assembly language instruction set employs an algebraic syntax designed for ease of coding and readability The instructions have been specifically tuned to provide a flexible densely encoded instruction set that compiles to a very small final memory size The instruction set also provides fully featured multifunction instructions that allow the programmer to use many of the processor core resources in a single instruction Coupled with many features more often seen on microcontrollers this instruction set is very efficient when compiling C and C source code In addition the architecture supports both user algorithm application code and supervisor O S kernel device drivers debuggers ISRs modes of opera tion allowi
85. de 73 dB max fin 14 kHz sine wave single ended and pseudo differential modes Spurious Free Dynamic Range SFDR 75 dB max fin 50 kHz sine wave Intermodulation Distortion IMD fa 30 kHz fb 50 kHz Second Order Terms 88 dB typ Third Order Terms 88 dB typ Channel to Channel Isolation 88 dB typ SAMPLE AND HOLD Aperture Delay 11 ns max Aperture Jitter 50 ps typ Aperture Delay Matching 200 ps max Full Power Bandwidth 33 26 MHz typ Q 3 dB AVpp DVpp 5 V AVpp DVpp 3 V 3 5 3 MHz typ 0 1 dB AVpp DVpy 5 V AVpp DVpp 3 V Rev B Page560f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 48 Operating Conditions ADC Performance Accuracy Continued Parameter Specification Unit Test Conditions Comments DC ACCURACY Resolution 12 Bits Integral Nonlinearity INL 1 LSB max 0 7 LSB typ differential mode 15 LSB max 0 9 LSB typ single ended and pseudo differential modes Differential Nonlinearity DNL 3 0 99 LSB max Differential mode 0 99 1 5 LSB max Single ended and pseudo differential modes Straight Natural Binary Output Coding Offset Error 7 LSB max Offset Error Match 2 LSB typ Gain Error LSB max Gain Error Match LSB typ Twos Complement Output Coding Positive Gain Error 2 LSB max Positive Gain Error Match 0 5 LSB typ Zero Code Error 5 LSB max Zero Code Error Match 1 LSB typ Negative Gain Error 2 LSB max Negative Ga
86. dedicated scratchpad data memory stores stack and local variable information In addition multiple L1 memory blocks are provided offering a configurable mix of SRAM and cache The memory manage ment unit MMU provides memory protection for individual tasks that may be operating on the core and can protect system registers from unintended access The architecture provides three modes of operation user mode supervisor mode and emulation mode User mode has restricted access to certain system resources thus providing a protected software environment while supervisor mode has unrestricted access to the system and core resources The Blackfin processor instruction set has been optimized so that 16 bit opcodes represent the most frequently used instruc tions resulting in excellent compiled code density Complex DSP instructions are encoded into 32 bit opcodes representing fully featured multifunction instructions Blackfin processors support a limited multi issue capability where a 32 bit instruc tion can be issued in parallel with two 16 bit instructions allowing the programmer to use many ofthe core resources in a single instruction cycle The Blackfin processor assembly language uses an algebraic syn tax for ease of coding and readability The architecture has been optimized for use in conjunction with the C C compiler resulting in fast and efficient software implementations MEMORY ARCHITECTURE The Blackfin processor view
87. e 16 bit SPI BAUD register contains a value of 2 to 65 535 During transfers the SPI port simultaneously transmits and receives by serially shifting data in and out on its two serial data lines The serial clock line synchronizes the shifting and sam pling of data on the two serial data lines UART PORTS UARTS The ADSP BF50x Blackfin processors provide two full duplex universal asynchronous receiver transmitter UART ports Each UART port provides a simplified UART interface to other peripherals or hosts enabling full duplex DMA supported asynchronous transfers of serial data A UART port includes Rev B Page 11 of 84 support for five to eight data bits one or two stop bits and none even or odd parity Each UART port supports two modes of operation PIO programmed I O The processor sends or receives data by writing or reading I O mapped UART registers The data is double buffered on both transmit and receive DMA direct memory access The DMA controller trans fers both transmit and receive data This reduces the number and frequency of interrupts required to transfer data to and from memory Each UART has two dedicated DMA channels one for transmit and one for receive These DMA channels have lower default priority than most DMA channels because of their relatively low service rates Flexi ble interrupt timing options are available on the transmit side Each UART port s baud rate serial data format error
88. e flat 32 bit address space On chip I O devices have their control registers mapped into memory mapped registers MMRs at addresses near the top of the 4G byte address space These are separated into two smaller blocks One contains the control MMRs for all core functions and the other contains the registers needed for setup and con trol of the on chip peripherals outside of the core The MMRs are accessible only in supervisor and emulation modes and appear as reserved space to on chip peripherals April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Booting The processor contains a small on chip boot kernel which con figures the appropriate peripheral for booting If the processor is configured to boot from boot ROM memory space the proces sor starts executing from the on chip boot ROM For more information see Booting Modes on Page 16 Event Handling The event controller on the processor handles all asynchronous and synchronous events to the processor The processor pro vides event handling that supports both nesting and prioritization Nesting allows multiple event service routines to be active simultaneously Prioritization ensures that servicing of a higher priority event takes precedence over servicing of a lower priority event The controller provides support for five different types of events e Emulation An emulation event causes the processor to enter emulation mode allowing command and control of the processor vi
89. e the func tionality of the ADC When a conversion takes place the common mode is rejected resulting in a virtually noise free signal of amplitude V ggr to Vggs corresponding to the digital codes of 0 to 4096 If the 2 x Vrer range is used then the input signal amplitude extends from 2 Vggr to 2 Vapp after conversion 3 5 Ta 25 C 3 0 2 5 2 0 1 5 1 0 COMMON MODE RANGE V 0 5 0 0 05 1 0 15 20 25 30 35 40 45 5 0 Vrer V Figure 70 Input Common Mode Range vs Vper 0 to Vger Range Vpp 5 V Ta 25 C COMMON MODE RANGE V 0 0 5 1 0 1 5 2 0 2 5 Vrer V Figure 71 Input Common Mode Range vs Vper 2 X Veer Range Vpp 5 V Driving Differential Inputs Differential operation requires that Vy and Vw be simultane ously driven with two equal signals that are 180 out of phase The common mode must be set up externally The common mode range is determined by Vg the power supply and the particular amplifier used to drive the analog inputs Differential modes of operation with either an ac or dc input provide the best THD performance over a wide frequency range Because not all applications have a signal preconditioned for differential operation there is often a need to perform single ended to dif ferential conversion Rev B Page65of84 Using an Op Amp Pair An op amp pair can be used to directly couple
90. ent basis This supply should be decoupled to DGND Rev B Page250f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F SPECIFICATIONS Specifications are subject to change without notice OPERATING CONDITIONS Parameter Conditions Min Nominal Max Unit VppiNT Internal Supply Voltage Industrial Models 1 14 1 47 V Internal Supply Voltage Commercial Models 1 10 1 47 V Internal Supply Voltage Automotive Models 1 33 1 47 V Vpper External Supply Voltage 1 8 V I O ADSP BF504 Nonautomotive 1 7 1 8 1 9 V and Non Flash Models External Supply Voltage 2 5 V I O ADSP BF504 Nonautomotive 2 25 2 5 2 75 V and Non Flash Models External Supply Voltage 3 3 V I O ADSP BF50x All Models 2 7 3 3 3 6 V Vpprasa Flash Memory Supply Voltage 1 7 1 8 2 0 V Vis High Level Input Voltage Vppexr 1 90 V 1 2 V High Level Input Voltage Vopexr 2 75 V 1 7 V High Level Input Voltage Vopexr 3 6 V 2 0 V Vierwi High Level Input Voltage Vopext 1 90 V 2 75 V 3 6 V 0 7 X Veustwi Veustwi V Vi Low Level Input Voltage Vopext 1 7 V 0 6 V Low Level Input Voltage Vopext 2 25 V 0 7 V Low Level Input Voltage Voppext 3 0 V 0 8 V View Low Level Input Voltage Vopext minimum 0 3 x Veustwi V Ty Junction Temperature 88 Lead LFCSP Tamar 40 C to 85 C 40 105 C Junction Temperature 88 Lead LFCSP Taupin 0 C to 70 C 0 90 C Junction Temperature 120 Lead LOFP Tavsen 40 C to 85 C
91. erform shifts and rotates and is used to support normalization field extract and field deposit instructions The program sequencer controls the flow of instruction execu tion including instruction alignment and decoding For program flow control the sequencer supports PC relative and indirect conditional jumps with static branch prediction and subroutine calls Hardware is provided to support zero over head looping The architecture is fully interlocked meaning that the programmer need not manage the pipeline when executing instructions with data dependencies The address arithmetic unit provides two addresses for simulta neous dual fetches from memory It contains a multiported register file consisting of four sets of 32 bit index modify length and base registers for circular buffering and eight additional 32 bit pointer registers for C style indexed stack manipulation TO MEMORY DATA ARITHMETIC UNIT SEQUENCER DECODE LOOP BUFFER CONTROL J UNIT Figure 2 Blackfin Processor Core Rev B Page 4 of 84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Blackfin processors support a modified Harvard architecture in combination with a hierarchical memory structure Level 1 L1 memories are those that typically operate at the full processor speed with little or no latency At the L1 level the instruction memory holds instructions only The data memory holds data and a
92. ersion process The falling edge of CS puts the track and hold into hold mode at which point the analog input is sampled and the bus is taken out of three state The conversion is also initiated at this point and requires a minimum of 14 ADSCLKs to complete Once 13 ADSCLK falling edges have elapsed the track and hold goes back into track on the next ADSCLK rising edge as shown in Figure 87 Serial Interface Timing Diagram at Point B If a 16 ADSCLK transfer is used then two trailing zeros appear after the final LSB On the rising edge of CS the conversion is termi nated and DoyrA and DovurB go back into three state If CS is Rev B Page710f84 April2014 ADSP BF504 ADSP BF504F ADSP BF306F I I nt M tg 4 B i i I ADSCLK ri L2 3 la ls s Lid mm i 1 l NE N gt i5 e t a i Wi aoe a 1 i tg n QUIET DocA ra 3 a 4 I I 1 our DB11 Y DB10 X DB9 DBS C DBO Dou THREE OA 0 DB11 X DB10 X DB9 X DB8 DB2 K DB X DBO EESTATE STATE NL 2 LEADING ZEROS Figure 87 Serial Interface Timing Diagram t lt te a ADSCLK M i 1 2 3 4 5 14 15 16 17 32 l A ts i 4 1 tio 1 e t gt La t a t f Dour preg ZERO XDB114XDB104 ZERO X ZERO X ZERO X ZERO X DB11g ZERO X ZERO jy THREE STATE 2LEADING 2 TRAILING ZEROS 2TRAILING ZEROS STATE ZEROS 2 LEADING ZEROS Figure 88 Reading Data from Both ADCs on One Doy Li
93. es the processor to transition to the full on mode Hibernate State Maximum Static Power Savings The hibernate state maximizes static power savings by disabling the voltage and clocks to the processor core CCLK and to all of the peripherals SCLK This setting sets the internal power sup ply voltage Vppr to 0 V to provide the lowest static power dissipation Any critical information stored internally for example memory contents register contents and other infor mation must be written to a non volatile storage device prior to removing power if the processor state is to be preserved Rev B Page 14 of 84 Writing 0 to the HIBERNATE bit causes EXT_WAKE to transi tion low which can be used to signal an external voltage regulator to shut down Since Vppexr can still be supplied in this mode all of the exter nal pins three state unless otherwise specified This allows other devices that may be connected to the processor to still have power applied without drawing unwanted current The processor can be woken up by asserting the RESET pin All hibernate wakeup events initiate the hardware reset sequence Individual sources are enabled by the VR_CTL register The EXT_WAKE signal indicates the occurrence of a wakeup event As long as Vppgxr is applied the VR_CTL register maintains its state during hibernation All other internal registers and memo ries however lose their content in the hibernate state Power Savings As
94. eter 51 TIETE TETTE 9 Processor Environmental Conditions 53 Up Down Counters and Thumbwheel Interfaces 10 Flash Specifications izcceciiescxia setti sk ve enoei 54 3 Phase PW M Une 1i esxcrrekekid ricerca ARRA 10 Flash Program and Erase Times and Endurance vins TE 10 Cydes eene Serial Peripheral Interface SPI Ports 11 Flash Absolute Maximum Ratings sese 54 UART Boris UART cac dep i 11 ADC Ser ticatibb i keen cd bet OREL biu USED qaad 55 Parallel Peripheral Isterface PP ennnen 11 ADC Operating Conditions sseeeennne 55 FS DMC e M 12 ADC Timing Specifications esee Controller Area Network CAN Interface 12 ADC Absolute Maximum Ratings eeeee 58 TUrT Castell Intense A 13 ADC Typical Performance Characteristics 59 PONS inis HROGAREHLER EAA EAIA R rarer ree eta ene 13 ADC Terminology eee S Dynamic Power Management eee 13 ADC Theory Of ODetstlomn iiisscotsecasdesesechc ok ba 62 ADSP BF50x Voltage Regulation eee 15 ADC Muodes Of Operation 1 esrasaeeen eere teen mee 68 Clock Signals cette 15 ADU pial Titore oeri i pott ree ioi o RE ER ce rRERR 71 Bastia bod aces pH Md PvE 16 120 Lecad LOPBP Lead Assignment sceceesie eise tert eben 73 Instruction Set Description ocine apr an 17 88 Lead LFCSP Lead Assignment eee Em De
95. f the data signals Card interface clock generation from SCLK e SDIO interrupt and read wait features CE ATA command completion signal recognition and disable CONTROLLER AREA NETWORK CAN INTERFACE The ADSP BF50x processors provide a CAN controller that is a communication controller implementing the Controller Area Network CAN V2 0B protocol This protocol is an asynchro nous communications protocol used in both industrial and automotive control systems CAN is well suited for control applications due to its capability to communicate reliably over a network since the protocol incorporates CRC checking message error tracking and fault node confinement The CAN controller is based on a 32 entry mailbox RAM and supports both the standard and extended identifier ID mes sage formats specified in the CAN protocol specification revision 2 0 part B April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Each mailbox consists of eight 16 bit data words The data is divided into fields which includes a message identifier a time stamp a byte count up to 8 bytes of data and several control bits Each node monitors the messages being passed on the net work If the identifier in the transmitted message matches an identifier in one of its mailboxes the module knows that the message was meant for it passes the data into its appropriate mailbox and signals the processor of message arrival with an interrupt The CAN controller can
96. gh the event may be latched in the ILAT register This register may be read or written while in supervisor mode Note that general purpose interrupts can be globally enabled and disabled with the STI and CLI instructions respectively e CEC interrupt pending register I PEND The IPEND register keeps track of all nested events A set bit in the IPEND register indicates the event is currently active or nested at some level This register is updated automatically by the controller but may be read while in supervisor mode The SIC allows further control of event processing by providing three pairs of 32 bit interrupt control and status registers Each register contains a bit corresponding to each of the peripheral interrupt events shown in Table 3 on Page 7 e SIC interrupt mask registers SIC IMASKx Control the masking and unmasking of each peripheral interrupt event When a bit is set in these registers the corresponding peripheral event is unmasked and is forwarded to the CEC Rev B Page 8 of 84 when asserted A cleared bit in these registers masks the corresponding peripheral event preventing the event from propagating to the CEC e SIC interrupt status registers SIC ISRx As multiple peripherals can be mapped to a single event these registers allow the software to determine which peripheral event source triggered the interrupt A set bit indicates that the peripheral is asserting the interrupt and a cleared bit indi
97. he six PWM output signals per PWM unit consist of three high side drive signals PWMx_AH PWMx_BH and PWMx _CH and three low side drive signals PWMx_AL PWMx_BL and PWMx_CL The polarity of the generated PWM signal can be set with software so that either active HI or active LO PWM patterns can be produced The switching frequency of the generated PWM pattern is pro grammable using the 16 bit PWM_TM register The PWM generator can operate in single update mode or double update mode In single update mode the duty cycle values are pro grammable only once per PWM period so that the resultant PWM patterns are symmetrical about the midpoint of the PWM period In the double update mode a second updating of the PWM registers is implemented at the midpoint of the PWM period In this mode it is possible to produce asymmetrical PWM patterns that produce lower harmonic distortion in 3 phase PWM inverters Pulses synchronous to the switching frequency can be generated internally and output on the PWMx_SYNC pin The PWM unit can also accept externally generated synchronization pulses through PWMx_SYNC Each PWM unit features a dedicated asynchronous shutdown pin PWMx_TRIP which when brought low instantaneously places all six PWM outputs in the OFF state SERIAL PORTS The processors incorporate two dual channel synchronous serial ports SPORTO and SPORT for serial and multiproces sor communications The SPORTs support the following
98. ht Binary Transfer Characteristic and the ideal transfer characteristic for the ADC when twos comple ment coding is output is shown in Figure 79 Twos Complement Transfer Characteristic with VREF VREF Input Range this is shown with the 2 x Vpgp range SGL DIFF RANGE Output Coding 0 Differential Input 0 0 V to Veer Twos complement 0 Differential Input 1 0 V to 2 x Veer Twos complement 1 Single Ended Input 0 0 V to Vper Straight binary 1 Single Ended Input 1 0 V to2 x Veer Twos complement 0 Pseudo Differential Input 0 0 V to Vggr Straight binary 0 Pseudo Differential Input 1 0 V to 2 x Vagr Twos complement Table 53 Analog Input Type and Channel Selection ADCA ADCB SGL DIFF A2 A1 AO Vins Vin Vins Vin Comment 1 0 0 0 Vm AGND Vet AGND Single ended 1 0 0 1 Va2 AGND Vgz AGND Single ended 1 0 1 0 Va AGND Vas AGND Single ended 1 0 1 1 Vag AGND Vea AGND Single ended 1 1 0 0 Vas AGND Ves AGND Single ended 1 1 0 1 Vag AGND Vas AGND Single ended 0 0 0 0 Vay Va Vet Vg2 Fully differential 0 0 0 1 Vay Va Vet Vg2 Pseudo differential 0 0 1 0 Va Vm Vg Vea Fully differential 0 0 1 1 Vas Vm Vg Vea Pseudo differential 0 1 0 0 Vas Vae Ves Ves Fully differential 0 1 0 1 Vas Vas Ves Ves Pseudo differential Rev B Page670f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F 111 111 111 110 W 111 000 o 1LSB Vggr 4096 o Q 011 111 lt e e 000
99. in Error Match 0 5 LSB typ CONVERSION RATE Conversion Time 14 ADSCLK cycles 437 5 ns with ADSCLK 32 MHz Track and Hold Acquisition Time 90 ns max Full scale step input AVpp DVpp 5 V 110 ns max Full scale step input AVpp DVpp 3 V Throughput Rate 2 MSPS max 1 See ADC Terminology on Page 61 Sample tested during initial release to ensure compliance Guaranteed no missed codes to 12 bits Table 49 Operating Conditions Power Parameter Specification Unit Test Conditions Comments POWER SUPPLY REQUIREMENTS Vop 2 7 5 25 V min V max Vorive 2 7 5 25 V min V max lop Digital Logic Inputs 0 V or Voprive Normal Mode Static 2 3 mA max Vpp 5 25 V Operational fs 2 MSPS 6 4 mA max Vpp 5 25 V 5 7 mA typ f 1 5 MSPS 4 mA max Vpp 3 6 V 3 4 mA typ Partial Power Down Mode 500 uA max Static Full Power Down Mode Vpp 2 8 uA max Static POWER DISSIPATION Normal Mode Operational 33 6 mW max Vpp 5 25 V Partial Power Down Static 2 625 mW max Vpp 5 25 V Full Power Down Static 14 7 uW max Vpp 5 25 V lIn this table Vpp refers to both AVpp and DVpp Rev B Page570f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F ADC TIMING SPECIFICATIONS Table 50 Serial Data Interface Parameter Specification Unit Test Conditions Comments fapscuc 1 32 MHz min max tconvert 14 X tapscik ns max tapscik Vfapscik 437 5 ns max fapsak 32 MHz fsampie 2 MSPS AVpp DVpp 5 V 560 0 ns max fapscix 25 MHz fsaypie 1
100. inal Veustw Minimum Veustrw Nominal Veustm Maximum Unit 000 default 3 3 2 97 3 3 3 63 V 001 1 8 1 7 1 8 1 98 V 010 2 5 2 97 3 3 3 63 V 011 1 8 2 97 3 3 3 63 V 100 3 3 4 5 5 5 5 V 101 1 8 2 25 2 5 2 75 V 110 2 5 2 25 2 5 2 75 V 111 reserved Rev B Page260f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F ADSP BF50x Clock Related Operating Conditions Table 14 describes the core clock timing requirements for the ADSP BF50x processors Take care in selecting MSEL SSEL and CSEL ratios so as not to exceed the maximum core clock and system clock see Table 16 Table 15 describes phase locked loop operating conditions Table 14 Core Clock CCLK Requirements ADSP BF50x Processors All Speed Grades Max CCLK Parameter Min Vppint Nom Vppiur Frequency Unit fcak Core Clock Frequency All Models 1 33 V 1 400 V 400 MHz Core Clock Frequency Industrial Commercial Models 1 16V 1 225V 300 MHz Core Clock Frequency Industrial Models Only 1 14 V 1 200V 200 MHz Core Clock Frequency Commercial Models Only 1 10V 1 150V 200 MHz Table 15 Phase Locked Loop Operating Conditions Parameter Min Max Unit fvco Voltage Controlled Oscillator VCO Frequency 72 Instruction Rate MHz Commercial Industrial Models Voltage Controlled Oscillator VCO Frequency 84 Instruction Rate MHz Automotive Models For more information see Ordering Guide on Page 81
101. inary output coding It is the deviation of the first code transition 00 000 to 00 001 from the ideal AGND 1 LSB Offset Error Match Offset error match is the difference in offset error across all 12 channels Gain Error Gain error applies to straight binary output coding It is the deviation of the last code transition 111 110 to 111 111 from the ideal Vggc 1 LSB after the offset error is adjusted out Gain error does not include reference error Gain Error Match Gain error match is the difference in gain error across all 12 channels Positive Gain Error This applies when using twos complement output coding with for example the 2 x Vggr input range as V ger to V agr biased about the V gg point It is the deviation of the last code transition 011 110 to 011 111 from the ideal Vrep 1 LSB after the zero code error is adjusted out Positive Gain Error Match This is the difference in positive gain error across all 12 channels Zero Code Error Zero code error applies when using twos complement output coding with for example the 2 x Vazp input range as V ger to Vggr biased about the Vyg point It is the deviation of the mid scale transition all Os to all 1s from the ideal Vy voltage Vna Zero Code Error Match Zero code error match refers to the difference in zero code error across all 12 channels Negative Gain Error This applies when using twos complement output coding option i
102. ing Table 24 and Figure 10 describe clock and reset operations Per the CCLK and SCLK timing specifications in Table 14 to Table 16 combinations of CLKIN and clock multipliers must not select core peripheral clocks in excess of the processor s speed grade Table 25 and Figure 11 describe clock out timing Table 24 Clock and Reset Timing Parameter Min Max Unit Timing Requirements foun CLKIN Frequency Commercial Industrial Models 12 50 MHz CLKIN Frequency gt 34 Automotive Models 14 50 MHz tcKIN CLKIN Low Pulse 10 ns ckiNH CLKIN High Pulse 10 ns twest RESET Asserted Pulse Width Low 11 X tek ns Switching Characteristic BUFDLAY CLKIN to CLKBUF Delay 11 ns Applies to PLL bypass mode and PLL non bypass mode Combinations of the CLKIN frequency and the PLL clock multiplier must not exceed the allowed fyco fecix and fgcxx settings discussed in Table 14 on Page 27 through Table 16 on Page 27 3 The tex period see Figure 10 equals l fcyy Tf the DF bit in the PLL_CTL register is set the minimum ferw specification is 24 MHz for commercial industrial models and 28 MHz for automotive models Applies after power up sequence is complete See Table 26 and Figure 12 for power up reset timing The ADSP BF504 ADSP BF504F ADSP BF506F processor does not have a dedicated CLKBUF pin Rather the EXTCLK pin may be programmed to serve as CLKBUF or CLKOUT This parameter applies when EXTCLK is programmed t
103. iple bank burst Flash memory The features of this memory include e Synchronous asynchronous read e Synchronous burst read mode 50 MHz e Asynchronous synchronous read mode e Random access times 70 ns e Synchronous burst read suspend e Memory blocks e Multiple bank memory array 4M bit banks e Parameter blocks top location Dual operations e Program erase in one bank while read in others e No delay between read and write operations e Block locking e All blocks locked at power up e Any combination of blocks can be locked or locked down e Security 128 bit user programmable OTP cells 64 bit unique device number Common Flash interface CFI e 100 000 program erase cycles per block Flash memory ships from the factory in an erased state except for block 0 of the parameter bank Block 0 of the Flash memory parameter bank ships from the factory in an unknown state An erase operation should be performed prior to programming this block DMA CONTROLLERS The processor has multiple independent DMA channels that support automated data transfers with minimal overhead for the processor core DMA transfers can occur between the pro cessor s internal memories and any of its DMA capable peripherals Additionally DMA transfers can be accomplished between any of the DMA capable peripherals and external devices connected to the external memory interface DMA capable peripherals include the SPORTS SPI ports UARTS RSI and PPI
104. itching Characteristics tpprirsE Data Delay from Late External TFSx 12 0 10 0 ns or External RFSx in Multi channel Mode With MFD 0 tprENLESE Data Enable from External RFSx in Multi channel Mode With 0 0 0 0 ns MFD 0 When in multi channel mode TFSx enable and TFSx valid follow tprenrrse and tpprirse Tf external RFSx TFSx setup to RSCLKx TSCLKx gt tscrxe 2 then tpprrg and tprenen apply otherwise tpprrrse and tprexrrse apply EXTERNAL RFSx IN MULTI CHANNEL MODE DRIVE SAMPLE DRIVE EDGE EDGE EDGE RFSx DTx 1ST BIT LATE EXTERNAL TFSx DRIVE SAMPLE DRIVE EDGE EDGE EDGE TFSx DTx 1ST BIT Figure 22 Serial Ports External Late Frame Sync Rev B Page410f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Serial Peripheral Interface SPI Port Master Timing Table 34 and Figure 23 describe SPI port master operations Table 34 Serial Peripheral Interface SPI Port Master Timing Voor 1 8 V Vovexr 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements tsspiom Data Input Valid to SCK Edge Data Input Setup 11 6 9 6 ns tuspiom SCK Sampling Edge to Data Input Invalid 1 5 1 5 ns Switching Characteristics tspscim SPISELx low to First SCK Edge 2xtsak 1 5 2xtsak 1 5 ns tspicum Serial Clock High Period 2xtsak 1 5 2Xtsak 1 5 ns tspicLM Serial Clock Low Period 2Xtsak 1 5 2Xtsak 1 5 ns tspicik Serial Clock Period 4Xtsax 1 5 4X tsax 1 5 ns tupsm Last SCK Edge to SPISELx High 2
105. l clock input to the sev eral other associated PF pins to an external clock input to the PPI CLK input pin or to the internal SCLK The timer units can be used in conjunction with the two UARTs to measure the width of the pulses in the data stream to provide a software auto baud detect function for the respective serial channels April 2014 ADSP BF504 ADSP BF504F ADSP BF506F The timers can generate interrupts to the processor core provid ing periodic events for synchronization either to the system clock or to a count of external signals In addition to the eight general purpose programmable timers a ninth timer is also provided This extra timer is clocked by the internal processor clock and is typically used as a system tick clock for generation of operating system periodic interrupts UP DOWN COUNTERS AND THUMBWHEEL INTERFACES Two 32 bit up down counters are provided that can sense 2 bit quadrature or binary codes as typically emitted by industrial drives or manual thumbwheels The counters can also operate in general purpose up down count modes Then count direc tion is either controlled by a level sensitive input pin or by two edge detectors A third counter input can provide flexible zero marker support and can alternatively be used to input the push button signal of thumb wheels All three pins have a programmable debouncing circuit Internal signals forwarded to each timer unit enable these tim ers to measure
106. locked out on the previous 13 fall ing edge In applications with a slower ADSCLK it may be Figure 85 Power vs Throughput in Normal Mode with Vpp 3 V UDE possible to read in data on each ADSCLK rising edge depending 28 on the ADSCLK frequency The first rising edge of ADSCLK is after the CS falling edge would have the second leading zero provided and the 13 rising ADSCLK edge would have DBO VARIABLE ADSCLK provided Note that with fast ADSCLK values and thus short ADSCLK x 20 periods in order to allow adequately for tj an ADSCLK rising E ila cire edge may occur before the first ADSCLK falling edge This ris a ing edge of ADSCLK may be ignored for the purposes of the P timing descriptions in this section If a falling edge of ADSCLK 14 is coincident with the falling edge of CS then this falling edge of 12 ADSCLK is not acknowledged by the ADC and the next falling do edge of ADSCLK will be the first registered after the falling edge 0 200 400 600 800 1000 1200 1400 1600 1800 2000 of CS THROUGHPUT kSPS Figure 86 Power vs Throughput in Normal Mode with Vpp 5 V ADC SERIAL INTERFACE Figure 87 Serial Interface Timing Diagram shows the detailed timing diagram for serial interfacing to the ADC The serial clock provides the conversion clock and controls the transfer of information from the ADC during conversion The CS signal initiates the data transfer and conv
107. maximum ADSCLK frequency and an ADSCLK frequency that not brought high but is instead held low for a further 14 or 16 scales with the sampling rate with Vpp 3 V and Vpp 5 V ADSCLK cycles on DoyrA the data from Conversion B is out respectively In all cases the internal reference was used put on Dou A followed by two trailing zeros Likewise if CS is held low for a further 14 or 16 ADSCLK 10 0 cycles on Dou7B the data from Conversion A is output on TA 25 C T DourB oo This is illustrated in Figure 88 Reading Data from Both ADCs on One DOUT Line with 32 ADSCLKs where the case for ss VARIABLE ADSCLK DourA is shown In this case the Dour line in use goes back into g 80 three state on the 32 4 ADSCLK falling edge or the rising edge E 15 of CS whichever occurs first 70 A minimum of 14 serial clock cycles are required to perform the m AMHA ARES conversion process and to access data from one conversion on either data line of the ADC CS going low provides the leading 5 0 zero to be read in by the microcontroller or DSP The remaining 5 5 data is then clocked out by subsequent ADSCLK falling edges Ko beginning with a second leading zero Thus the first falling 0 200 400 600 800 1000 1200 1400 clock edge on the serial clock has the leading zero provided and THROUGHPUT KSPS also clocks out the second leading zero The 12 bit result then follows with the final bit in the data transfer valid on the 14 falling edge having being c
108. mpling Edge to Data Input Invalid 2 0 1 6 ns Switching Characteristics tosor SPISS Assertion to Data Out Active 0 12 0 0 10 3 ns tpspui SPISS Deassertion to Data High Impedance 0 11 0 0 9 0 ns tppspip SCK Edge to Data Out Valid Data Out Delay 10 10 ns tupspip SCK Edge to Data Out Invalid Data Out Hold 0 0 ns SPIxSS INPUT N tspsci tspicis tspicus t t t rt SPICLK HDS SPITDS SPIxSCK INPUT ppspip tupspip topspip tpspui SPIxMISO OUTPUT tsspip tuspip SPIxMOSI INPUT tpsoE tupspip topspip 4 pspui SPIxMISO OUTPUT CPHA SO tuspip SPIxMOSI INPUT Figure 24 Serial Peripheral Interface SPI Port Slave Timing Rev B Page 43 of 84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F Universal Asynchronous Receiver Transmitter UART Ports Receive and Transmit Timing The UART ports receive and transmit operations are described in the ADSP BF50x Hardware Reference Manual General Purpose Port Timing Table 36 and Figure 25 describe general purpose port operations Table 36 General Purpose Port Timing Vopexr 1 8 V Voer 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirement twel General Purpose Port Pin Input Pulse Width tsak 1 tsak 1 ns Switching Characteristic tepon General Purpose Port Pin Output Delay from CLKOUT High 0 11 0 0 8 9 ns CLKOUT tepon GPIO OUTPUT twrei GPIO INPUT Figure 25 General Purpose Port Timing Rev B Page440f8
109. n particular the 2 x Vpgz input range as V ggr to Vggr biased about the Vyg point It is the deviation of the first code transition 100 000 to 100 001 from the ideal that is Vppp 1 LSB after the zero code error is adjusted out Rev B Page61of84 Negative Gain Error Match This is the difference in negative gain error across all 12 channels Track and Hold Acquisition Time The track and hold amplifier returns to track mode after the end of conversion Track and hold acquisition time is the time required for the output of the track and hold amplifier to reach its final value within 1 2 LSB after the end of conversion Signal to Noise Distortion Ratio SINAD This ratio is the measured ratio of signal to noise distor tion at the output of the ADC The signal is the rms amplitude of the fundamental Noise is the sum of all non fundamental signals up to half the sampling frequency fs 2 excluding dc The ratio is dependent on the number of quan tization levels in the digitalization process the more levels the smaller the quantization noise The theoretical signal to noise distortion ratio for an ideal N bit converter with a sine wave input is given by Signal to Noise Distortion 6 02N 1 76 dB Therefore for a 12 bit converter theoretical SINAD is 74 dB Total Harmonic Distortion THD Total harmonic distortion is the ratio of the rms sum of har monics to the fundamental For the ADC it is
110. nally the TWI module is fully compatible with serial camera control bus SCCB functionality for easier control of various CMOS camera sensor devices PORTS Because of the rich set of peripherals the processor groups the many peripheral signals to three ports Port F Port G and Port H Most of the associated pins are shared by multiple sig nals The ports function as multiplexer controls General Purpose I O GPIO The processor has 35 bidirectional general purpose I O GPIO pins allocated across three separate GPIO modules PORTFIO PORTGIO and PORTHIO associated with Port F Port G and Port H respectively Each GPIO capable pin shares functional ity with other processor peripherals via a multiplexing scheme however the GPIO functionality is the default state of the device upon power up Neither GPIO output nor input drivers are Rev B Page 13 of 84 active by default Each general purpose port pin can be individ ually controlled by manipulation of the port control status and interrupt registers e GPIO direction control register Specifies the direction of each individual GPIO pin as input or output e GPIO control and status registers The processor employs a write one to modify mechanism that allows any combi nation of individual GPIO pins to be modified in a single instruction without affecting the level of any other GPIO pins Four control registers are provided One register is written in order to
111. nction with the ACM refer to the timing requirements in Table 41 ACM Timing Referenced to drive edge Rev B Page 39 of 84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F DATA RECEIVE EXTERNAL CLOCK DRIVE EDGE DATA RECEIVE INTERNAL CLOCK DRIVE EDGE RSCLKx RFSx OUTPUT RFSx INPUT DRx DATA TRANSMIT INTERNAL CLOCK SAMPLE EDGE RSCLKx tuorse RFSx OUTPUT RFSx INPUT SAMPLE EDGE DATA TRANSMIT EXTERNAL CLOCK DRIVE EDGE SAMPLE EDGE DRIVE EDGE SAMPLE EDGE p tsc_kew TSCLKx TSCLKx tuorsE TFSx TFSx OUTPUT OUTPUT TFSx TFSx INPUT INPUT DTx DTx Figure 20 Serial Ports Table 32 Serial Ports Enable and Three State Vovexr 1 8 V Vovex 2 5 V 3 3 V Parameter Min Max Min Max Unit Switching Characteristics tpreNE Data Enable Delay from External TSCLKx 0 0 0 0 ns toprre Data Disable Delay from External TSCLKx tsa 1 tsa 1 ns tore Data Enable Delay from Internal TSCLKx 2 0 2 0 ns toptt Data Disable Delay from Internal TSCLKx tsak 1 tsak 1 ns Referenced to drive edge DRIVE EDGE DRIVE EDGE TSCLKx 2 toTeNnen toprren 2 DTx Figure 21 Serial Ports Enable and Three State Rev B Page400f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 33 Serial Ports External Late Frame Sync Voss 1 8 V Voss 2 5 V 3 3 V Parameter Min Max Min Max Unit Sw
112. ne with 32 ADSCLKs Rev B Page720f84 April2014 ADSP BF504 ADSP BF504F ADSP BFS06F 120 LEAD LQFP LEAD ASSIGNMENT Table 54 lists the LQFP leads by signal mnemonic Table 55 on Page 74 lists the LQFP leads by lead number Table 54 120 Lead LQFP Lead Assignment Alphabetical by Signal Signal Lead No Signal Lead No Signal Lead No Signal Lead No AO 100 NC 72 PG11 46 Vas 88 A1 98 NMI 11 PG12 47 Vee 87 A2 97 PFO 118 PG13 48 Vopex 1 AGND 73 PF1 119 PG14 49 Vopex 6 AGND 78 PF2 2 PG15 50 Vpprx 15 AGND 79 PF3 4 PHO 113 Vpprx 20 AGND 82 PF4 3 PH1 115 Vpprx 23 AGND 93 PF5 5 PH2 114 Vpprx 26 AGND 99 PF6 7 RANGE 95 Vopex 30 AVop 76 PF7 8 REF_SELECT 75 Vpprx 41 BMODEO 58 PF8 9 RESET 12 Vpprx 51 BMODE1 57 PF9 10 SCL 55 Vpprx 59 BMODE2 56 PF10 14 ADSCLK 102 Vopex 62 CLKIN 110 PF11 16 SDA 54 Vopex 64 cs 101 PF12 18 SGL DIFF 96 Vppex 66 DeapA 77 PF13 19 TCK 34 Vopex 67 DeapB 94 PF14 21 TDI 33 Vpprx 112 DGND 74 PF15 22 TDO 36 Vopex 116 DGND 104 PG 71 TMS 35 VDDFLASH 25 DoutA 105 PGO 27 TRST 37 VpDELASH 63 DourB 103 PG1 28 Vai 80 VppriAsH 69 DVpp 107 PG2 29 Va 81 VppiN 24 EMU 68 PG3 31 Vas 83 VppiN 42 EXT WAKE 70 PG4 32 Va 84 VopiN 52 EXTCLK 120 PG5 38 Vas 85 VopiN 53 GND 13 PG6 39 Vas 86 VopiN 61 GND 17 PG7 40 Vet 92 VopiN 65 GND 108 PG8 43 Vg 91 VppiN 117 GND 109 PG9 44 Vas 90 Vorive 106 NC 60 PG10 45 Vea 89 XTAL 111 GND 121 AGND 122 Pin no 121 is the GND supply see Figure 89 and Figure 90
113. ng multiple levels of access to core processor resources The assembly language which takes advantage of the proces sor s unique architecture offers the following advantages e Seamlessly integrated DSP MCU features are optimized for both 8 bit and 16 bit operations e A multi issue load store modified Harvard architecture which supports two 16 bit MAC or four 8 bit ALU two load store two pointer updates per cycle All registers I O and memory are mapped into a unified 4G byte memory space providing a simplified program ming model e Microcontroller features such as arbitrary bit and bit field manipulation insertion and extraction integer operations on 8 16 and 32 bit data types and separate user and supervisor stack pointers Code density enhancements which include intermixing of 16 bit and 32 bit instructions no mode switching no code segregation Frequently used instructions are encoded in 16 bits DEVELOPMENT TOOLS Analog Devices supports its processors with a complete line of software and hardware development tools including integrated development environments which include CrossCore Embed ded Studio and or VisualDSP evaluation products emulators and a wide variety of software add ins Integrated Development Environments IDEs For C C software writing and editing code generation and debug support Analog Devices offers two IDEs The newest IDE CrossCore Embedded Studio is
114. o output CLKBUF utm CLKIN BurpLAY tBurpLAY CLKBUF N N NF twrst RESET I amp Figure 10 Clock and Reset Timing Rev B Page330f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 25 Clock Out Timing Parameter Vovexr 1 8 V Vos 2 5 V 3 3 V Min Max Min Max Unit Switching Characteristics tscix CLKOUT Period 10 10 ns tscLKH CLKOUT Width High 4 4 ns tscik CLKOUT Width Low 4 4 ns 1 The ADSP BF504 ADSP BF504F ADSP BF506F processor does not have a dedicated CLKOUT pin Rather the EXTCLK pin may be programmed to serve as CLKBUF or CLKOUT This parameter applies when EXTCLK is programmed to output CLKOUT The tscrx value is the inverse of the fsc x specification Reduced supply voltages affect the best case value of 10 ns listed here The tga value does not account for the effects of jitter CLKOUT Figure 11 Clock Out Timing Table 26 Power Up Reset Timing Parameter Min Max Unit Timing Requirement lost iN pu RESET Deasserted after the Vpoiz Voss Vonrasn and CLKIN Pins are Stable and 3500 x tan ns Within Specification tnsT IN PWR CLKIN Vpp suPPLiES In Figure 12 Vpp_suppues iS Vppint Vopext and Vppriasn Figure 12 Power Up Reset Timing Rev B Page340f84 April2014 ADSP BF504 ADSP BF504F ADSP BFS06F Parallel Peripheral Interface Timing Table 27 and Figure 14 on Page 35 Figure 20
115. on of voltage Vppmr and temperature see Table 18 and Ippwr specifies the total power specification for the listed test conditions including the dynamic component as a function of voltage Vppinr and frequency Table 19 There are two parts to the dynamic component The first part is due to transistor switching in the core clock CCLK domain This part is subject to an Activity Scaling Factor ASF which represents application code running on the processor core and L1 memories Table 17 Table 18 Static Current Ipp_prepsirEp mA The ASF is combined with the CCLK Frequency and Vppr dependent data in Table 19 to calculate this part The second part is due to transistor switching in the system clock SCLK domain which is included in the Ipprr specification equation Table 17 Activity Scaling Factors ASF Ippiyr Power Vector Activity Scaling Factor ASF lpp PEAK 1 27 lpp uicH 1 24 lpp rve 1 00 lpp ApP 0 85 lpp NoP 0 71 lpp ipLE 0 42 See Estimating Power for ASDP BF534 BF536 BF537 Blackfin Processors EE 297 The power vector information also applies to the ADSP BF50x processors Voltage V T C 1 10V 1 15V 1 20V 1 25 V 1 30V 1 35V 1 40V 1 45V 1 50V 40 0 20 0 23 0 26 0 29 0 31 0 34 0 37 0 40 0 43 20 0 30 0 34 0 38 0 43 0 47 0 51 0 55 0 59 0 63 0 0 50 0 57 0 63 0 70 0 77 0 83 0 90 0 97 1 03 25 0 90 1 03 1 17 1 30
116. ons on Page 26 Vopexr P 1 O Power Supply VopiNT P Internal Power Supply VpprLAsH P Flash Memory Power Supply GND G Ground for All Supplies Rev B Page230f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 12 ADC Signal Descriptions ADSP BF506F Processor Only Signal Name Type Function DGND G Digital Ground This isthe ground reference pointfor all digital circuitry on the internal ADC Both DGND pins should connect to the DGND plane of a system The DGND and AGND voltages should ideally be at the same potential and must not be more than 0 3 V apart even on a transient basis REF SELECT Internal External Reference Selection Logic input If this pin is tied to DGND the on chip 2 5 V reference is used as the reference source for both ADC A and ADC B In addition Pin Dc4pA and Pin DcapB must be tied to decoupling capacitors If the REF SELECT pin is tied to a logic high an external reference can be supplied to the internal ADC through the Dc4pA and or DcapB pins Analog Supply Voltage 2 7 V to 5 25 V This is the only supply voltage for all analog circuitry on the internal ADC The AVpp and DV pp voltages should ideally be at the same potential and must not be more than 0 3 V apart even on a transient basis This supply should be decoupled to AGND DcapA DcapB Vner AGND Decoupling Capacitor Pins Decoupling capacitors 470 nF recommended are connected to these pins to decouple the
117. or s TAP allowing the developer to load code set break points and view variables memory and registers The processor must be halted to send data and commands but once an operation is completed by the emulator the DSP system is set to run at full speed with no impact on system timing The emu lators require the target board to include a header that supports connection of the DSP s JTAG port to the emulator For details on target board design issues including mechanical layout single processor connections signal buffering signal ter mination and emulator pod logic see the EE 68 Analog Devices JTAG Emulation Technical Reference on the Analog Devices website www analog com use site search on EE 68 This document is updated regularly to keep pace with improvements to emulator support ADC AND ACM INTERFACE This section describes the ADC and ACM interface System designers should also consult the ADSP BF50x Blackfin Proces sor Hardware Reference for additional information The ADC control module ACM provides an interface that synchronizes the controls between the processor and the inter nal analog to digital converter ADC module The ACM is available on the ADSP BF504 ADSP BF504F and ADSP BF506F processors and the ADC is available on the ADSP BF506F processor only The analog to digital conver sions are initiated by the processor based on external or internal events The ACM allows for flexible scheduling of s
118. orp high is 1 9 V and Vrpyp low is 1 4 V Time trp is the interval from when the output starts driving to when the output reaches the V4 high or Vigp low trip voltage Time tg is calculated as shown in the equation t t SOURCE VOLTAGE V ENA ENA MEASURED I TRIP If multiple pins are enabled the measurement value is that of the first pin to start driving Figure 40 Driver Type D Current 1 8 V Vppext Rev B Page510f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Output Disable Time Measurement Output pins are considered to be disabled when they stop driv ing go into a high impedance state and start to decay from their output high or low voltage The output disable time tp is the difference between ty yessurep and tpgcay as shown on the left side of Figure 42 t t DIS DIS_MEASURED DECAY The time for the voltage on the bus to decay by AV is dependent on the capacitive load C and the load current I This decay time can be approximated by the equation t 1 8V 25 C t AV I thse pECAY C AV I t 1 8V 25 C RISE AND FALL TIME ns ULL The time tprcay is calculated with test loads C and I and with AV equal to 0 25 V for Vpprxr nominal 2 5 V 3 3 V and LOAD CAPACITANCE pF 0 15 V for Vppexr nominal 1 8 V Figure 44 Driver Type B Typical Rise and Fall Times 1096 9096 vs The time ty mrasuren is the interval from when the reference sig Load
119. ower savings can be dramatic as shown in the following equations Power Savings Factor V _ CCLKRED E yummy T m DDINTNO ccLKNOM TyomM Power Savings 1 Power Savings Factor x 10096 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F where the variables in the equations are fccixnom is the nominal core clock frequency Sccixrep is the reduced core clock frequency Vppitnom is the nominal internal supply voltage Vppmrrep is the reduced internal supply voltage Tyom is the duration running at fccrknom Tren is the duration running at fccikngp ADSP BF50x VOLTAGE REGULATION The ADSP BF50x processors require an external voltage regula tor to power the Vppmwr domain To reduce standby power consumption the external voltage regulator can be signaled through EXT WAKE to remove power from the processor core This signal is high true for power up and may be connected directly to the low true shut down input of many common regulators While in the hibernate state all external supplies V ppzxr Vppexasu can still be applied eliminating the need for external buffers The external voltage regulator can be activated from this power down state by asserting the RESET pin which then initiates a boot sequence EXT_WAKE indicates a wakeup to the external voltage regulator The power good PG input signal allows the processor to start only after the internal voltage has reached a chosen level In this way the startup
120. pE PPI FS1 2 tsDRPE PPI_DATA DATA SAMPLED FRAME SYNC SAMPLED tupnPE Figure 14 PPI GP Rx Mode with External Frame Sync Timing Rev B Page 35 of 84 April 2014 ADSP BF504 ADSP BF504F ADSP BFS06F DATA DRIVEN FRAME SYNC SAMPLED PPI_CLK tsespe turspe PPI_FS1 2 topTPE tupTPE PPI_DATA Figure 15 PPI GP Tx Mode with External Frame Sync Timing FRAME SYNC DATA DRIVEN SAMPLED PPI_CLK torsPe PPI FS1 2 tspRPE tupRPE PPI_DATA Figure 16 PPI GP Rx Mode with Internal Frame Sync Timing FRAME SYNC DATA DATA DRIVEN DRIVEN DRIVEN PPI CLK PPI FS1 2 PPI DATA Figure 17 PPI GP Tx Mode with Internal Frame Sync Timing Rev B Page360f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F RSI Controller Timing Table 28 and Figure 18 describe RSI Controller Timing Table 29 and Figure 19 describe RSI controller high speed timing Table 28 RSI Controller Timing Parameter Min Max Unit Timing Requirements tisu Input Setup Time 5 75 ns tin Input Hold Time 2 ns Switching Characteristics fop Clock Frequency Data Transfer Mode 0 25 MHz fop Clock Frequency Identification Mode 100 400 kHz tw Clock Low Time 10 ns tw Clock High Time 10 ns tnu Clock Rise Time 10 ns tn Clock Fall Time 10 ns tony X Output Delay Time During Data Transfer Mode 14 ns topy Output Delay Time During Identification Mode 50 ns Mt df Specification can be 0 kHz which mean
121. port Two 3 phase 16 bit center based PWM units 2 dual channel full duplex synchronous serial ports SPORTs supporting eight stereo I S channels 2 serial peripheral interface SPI compatible ports 2 UARTs with IrDA support Parallel peripheral interface PPI supporting ITU R 656 video data formats Removable storage interface RSI controller for MMC SD SDIO and CE ATA Internal ADC with 12 channels 12 bits and up to 2 MSPS ADC controller module ACM providing a glueless interface between Blackfin processor and internal or external ADC Controller Area Network CAN controller 2 wire interface TWI controller 12 peripheral DMAs 2 memory to memory DMA channels Event handler with 52 interrupt inputs 35 general purpose I Os GPIOs with programmable hysteresis Debug JTAG interface On chip PLL capable of frequency multiplication m COUNTER1 0 L TIMER7 0 SPORT1 0 il il Ld dH pg d UART1 0 la i CAN TWI Figure 1 Processor Block Diagram Blackfin and the Blackfin logo are registered trademarks of Analog Devices Inc Rev B Document Feedback Information furnished by Analog Devices is believed to be accurate and reliable However no responsibility is assumed by Analog Devices for its use nor for any infringements of patents or other rights of third parties that may result from its use Specifications subject to change without notice No license is granted by implication or
122. port the quality and reliability requirements of automotive applications Note that these automotive models may have specifications that differ from the commercial models and designers should review the Specifications section of this Table 58 Automotive Products data sheet carefully Only the automotive grade products shown in Table 58 are available for use in automotive applications Contact your local ADI account representative for specific product ordering information and to obtain the specific Auto motive Reliability reports for these models Temperature Processor Instruction Rate Flash Package Package Automotive Models Range Maximum Memory Description Option ADBF504WYCPZ4XX 40 C to 105 C 400 MHz N A 88 Lead LFCSP_VQ CP 88 5 Z RoHS compliant part The use of xx designates silicon revision gt Referenced temperature is ambient temperature The ambient temperature is not a specification Please see Operating Conditions on Page 26 for junction specification which is the only temperature specification emperature Tj ORDERING GUIDE Temperature Processor Instruction Rate Flash Package Package Model Range Maximum Memory Description Option ADSP BF504BCPZ 3F 40 C to 85 C 300 MHz 32M bit 88 Lead LFCSP VO CP 88 5 ADSP BF504BCPZ 4 40 C to 85 C 400 MHz N A 88 Lead LFCSP VO CP 88 5 ADSP BF504BCPZ 4F 40 C to 85 C 400 MHz 32M bit 88 Lead LFCSP VO CP 88 5
123. pproximation ADCs with accurate control of the sampling instant via a CS input and once off conversion control April 2014 ADSP BF504 ADSP BF504F ADSP BF506F ADC APPLICATION HINTS The following sections provide application hints for using the ADC Grounding and Layout Considerations The analog and digital supplies to the ADC are independent and separately pinned out to minimize coupling between the analog and digital sections of the device The printed circuit board PCB that houses the ADC should be designed so that the ana log and digital sections are separated and confined to certain areas of the board This design facilitates the use of ground planes that can be easily separated To provide optimum shielding for ground planes a minimum etch technique is generally best All AGND pins should be sunk in the AGND plane Digital and analog ground planes should be joined in only one place If the ADC is in a system where multi ple devices require an AGND to DGND connection the connection should still be made at one point only a star ground point that should be established as close as possible to the ground pins on the ADC Avoid running digital lines under the device as this couples noise onto the die Avoid running digital lines in the area of the AGND pad as this couples noise onto the ADC die and into the AGND plane The power supply lines to the ADC should use as large a trace as possible to provide low impedance paths
124. process 8 16 or 32 bit data from the register file The compute register file contains eight 32 bit registers When performing compute operations on 16 bit operand data the register file operates as 16 independent 16 bit registers All operands for compute operations come from the multiported register file and instruction constant fields Each MAC can perform a 16 bit by 16 bit multiply in each cycle accumulating the results into the 40 bit accumulators Signed and unsigned formats rounding and saturation are supported The ALUs perform a traditional set of arithmetic and logical operations on 16 bit or 32 bit data In addition many special instructions are included to accelerate various signal processing tasks These include bit operations such as field extract and pop ulation count modulo 2 multiply divide primitives saturation and rounding and sign exponent detection The set of video instructions include byte alignment and packing operations 16 bit and 8 bit adds with clipping 8 bit average operations ADDRESS ARITHMETIC UNIT and 8 bit subtract absolute value accumulate SAA operations Also provided are the compare select and vector search instructions For certain instructions two 16 bit ALU operations can be per formed simultaneously on register pairs a 16 bit high half and 16 bit low half of a compute register If the second ALU is used quad 16 bit operations are possible The 40 bit shifter can p
125. r Various Source Impedances Single Ended Mode shows a graph of the THD vs the analog input signal frequency for different source impedances in single ended mode while Figure 66 THD vs Analog Input Frequency for Various Source Impedances Differential Mode shows the THD vs the analog input signal frequency for different source impedances in differ ential mode Figure 67 THD vs Analog Input Frequency for Various Supply Voltages shows a graph of the THD vs the analog input fre quency for various supplies while sampling at 2 MSPS In this case the source impedance is 47 Q FsaMPLe 1 5MSPS Vpp 3V 55 RANGE OV TO VREF T 2 a X E INPUT FREQUENCY kHz Figure 65 THD vs Analog Input Frequency for Various Source Impedances Single Ended Mode April2014 ADSP BF504 ADSP BF504F ADSP BF306F FsampLe 1 5MSPS Vpp 3V Rsource 3000 RANGE 0V TO VREF Rsource 99 70 Rsource 1000 THD dB Rsource 47Q Rsource 100 0 100 200 300 400 500 600 700 800 900 1000 INPUT FREQUENCY kHz Figure 66 THD vs Analog Input Frequency for Various Source Impedances Differential Mode FsaMPLE 1 5MSPS 2MSPS Vpp 3V 5V RANGE 0 TO VREF Vpp 3V SINGLE ENDED MODE pp 3V FERENTIAL MODE 4 2 AA THD dB Vpp 5V Vpp 5V DIFFERENTIAL MODE SINGLE ENDED MODE 0 100 200 300 400 500 600 700 800 900 1000 IN
126. r the ADC ADSP BF506F processor only are listed in Table 12 In order to maintain maximum function and reduce package size and pin count some pins have multiple multiplexed func tions In cases where pin function is reconfigurable the default hibernate all signals are three stated with the following excep tions EXT WAKE is driven low and XTAL is driven to a solid logic level During and immediately after reset all I O pins have their input buffers disabled until enabled by user software with the excep tion of the pins that need pull ups or pull downs as noted in state is shown in plain text while the alternate functions are Table 11 shown in italics Adding a parallel termination to CLKOUT may prove useful in further enhancing signal integrity Be sure to verify over shoot undershoot and signal integrity specifications on actual During and immediately after reset all processor signals not ADC signals are three stated with the following exceptions EXT WAKE is driven high and XTAL is driven in conjunction hardware with CLKIN to create a crystal oscillator circuit During Table 11 Processor Signal Descriptions Driver Signal Name Type Function Type Port F GPIO and Multiplexed Peripherals PFO TSCLKO UAO RX TMR6 CUDO 1 0 GPIO SPORTO TX Serial CLK UARTO RX Timer6 Count Up Dir 0 C PF1 RSCLKO UAO TX TMR5 CDGO 1 0 GPIO SPORTO RX Serial CLK UARTO TX Timer5 Count Down Dir 0 C PF2 DTOPRI PWMO BH PPI D8 CZM
127. range for the part can be selected to be a 0 V to Vggr input or a 2 x Vggp input configured with either single ended or differential analog inputs The ADC has an on chip 2 5 V reference that can be overdriven when an external refer ence is preferred If the internal reference is to be used elsewhere in a system then the output needs to buffered first The ADC also features power down options to allow power sav ing between conversions The power down feature is implemented via the standard serial interface as described in the ADC Modes of Operation section Converter Operation The ADC has two successive approximation ADCs each based around two capacitive DACs Figure 62 ADC Acquisition Phase and Figure 63 ADC Conversion Phase show simplified schematics of one of these ADCs in acquisition and conversion phase respectively The ADC is comprised of control logic a SAR and two capacitive DACs In Figure 62 ADC Acquisition Phase the acquisition phase SW3 is closed SW1 and SW2 are in Position A the comparator is held in a balanced condition and the sampling capacitor arrays acquire the differential signal on the input CAPACITIVE ee n COMPARATOR an 1 CONTROL 9 LOGIC el Cs Vins O o o A swi Cs p SW2 IN O 9 o O p Vi RER CAPACITIVE DAC Figure 62 ADC Acquisition Phase April 2014 ADSP BF504 ADSP BF504F ADSP BF506F When the ADC starts a conversion see Figure 63 AD
128. rrupts IVG15 7 in addition to the dedicated interrupt and exception events Of these general purpose interrupts the two lowest priority interrupts IVG15 14 are recommended to be reserved for software interrupt handlers leaving seven prioritized interrupt Rev B Page6of84 inputs to support the peripherals of the processor Table 2 describes the inputs to the CEC identifies their names in the event vector table EVT and lists their priorities Table 2 Core Event Controller CEC Priority Ois Highest Event Class EVT Entry 0 Emulation Test Control EMU 1 Reset RST 2 Nonmaskable Interrupt NMI 3 Exception EVX 4 Reserved 5 Hardware Error IVHW 6 Core Timer IVTMR 7 General Purpose Interrupt 7 IVG7 8 General Purpose Interrupt 8 IVG8 9 General Purpose Interrupt 9 IVG9 10 General Purpose Interrupt 10 IVG10 11 General Purpose Interrupt 11 IVG11 12 General Purpose Interrupt 12 IVG12 13 General Purpose Interrupt 13 IVG13 14 General Purpose Interrupt 14 IVG14 15 General Purpose Interrupt 15 IVG15 System Interrupt Controller SIC The system interrupt controller provides the mapping and routing of events from the many peripheral interrupt sources to the prioritized general purpose interrupt inputs of the CEC Although the processor provides a default mapping the user can alter the mappings and priorities of interrupt events by writing the appropriate values into the interrupt assignment registers SIC IARx
129. rs down Note that it is not necessary to complete the 14 ADSCLKs once CS is brought high to enter a power down mode To exit full power down and power up the ADC a dummy con version is performed as when powering up from partial power down On the falling edge of CS the device begins to power up and continues to power up as long as CS is held low until after the falling edge of the 10 ADSCLK The required power up time must elapse before a conversion can be initiated as shown in Figure 84 Exiting Full Power Down Mode See the Power Up Times section for the power up times associated with the ADC THE PART IS FULLY POWERED UP SEE POWER UP TIMES tPowER UP1 SECTION i cs I I 1 10 14 1 ADSCLK Vl tt NI VI VI 14 DourA oU INVALID DATA VALID DATA DourB Figure 82 Exiting Partial Power Down Mode Rev B Page69of84 April 2014 ADSP BF504 ADSP BF504F ADSP BF506F THE PART ENTERS PARTIAL POWER DOWN THE PART BEGINS TO POWER UP THE PART ENTERS FULL POWER DOWN BN A ADSCLK Ar i DoutA THREE STATE DH INVALID DATA OUT 1 2 10 14 THREE STATE INVALID DATA Figure 83 Entering Full Power Down Mode THE PART BEGINS TO POWER UP tpoweR uP2 THE PART IS FULLY POWERED UP PA SEE POWER UP TIMES SECTION ADSCLK r n n 1 14 1 im tJ LE X 7 dM I UE I Va IN ul Li II II DourA INVALID DATA VALID DATA DoutB Figure 84 Exiting Full Power Down Mode Power Up
130. rsions When the ADC is in partial power down all analog circuitry is powered down except for the on chip refer ence and reference buffer To enter partial power down mode the conversion process must be interrupted by bringing CS high anywhere after the sec ond falling edge of ADSCLK and before the 10 falling edge of ADSCLK as shown in Figure 81 Entering Partial Power Down Mode Once CS is brought high in this window of ADSCLKs the part enters partial power down the conversion that was ini tiated by the falling edge of CS is terminated and DoyrA and DourB go back into three state If CS is brought high before the second ADSCLK falling edge the part remains in normal mode and does not power down This avoids accidental power down due to glitches on the CS line 1 1 12 10 14 ADSCLK v vI DoutA C 00 THREE STATE DoutB Figure 81 Entering Partial Power Down Mode To exit this mode of operation and power up the ADC again a dummy conversion is performed On the falling edge of CS the device begins to power up and continues to power up as long as CS is held low until after the falling edge of the 10 ADSCLK The device is fully powered up after approximately 1 us has elapsed and valid data results from the next conversion as shown in Figure 82 Exiting Partial Power Down Mode If CS is brought high before the second falling edge of ADSCLK the ADC again goes into partial power down This avoids acciden tal power up due to glit
131. s Suspend Latency Erase 5 20 us Program Erase Cycles per Block Main Blocks 100 000 Cycles Program Erase Cycles per Block Parameter Blocks 100 000 Cycles The difference between pre programmed and not pre programmed is not significant lt 30 ms Values are liable to change with the external system level overhead command sequence and Status Register polling execution FLASH ABSOLUTE MAXIMUM RATINGS Table 46 shows the ADC absolute maximum ratings Table 46 Flash Absolute Maximum Ratings Parameter Rating Junction Temperature While Biased See Table 20 on Page 31 Storage Temperature Range See Table 20 on Page 31 Flash Memory Supply Voltage Vpprtasu 0 2 V to 42 45 V Rev B Page540f84 April2014 ADC SPECIFICATIONS ADSP BF504 ADSP BF504F ADSP BF506F Specifications are subject to change without notice ADC OPERATING CONDITIONS Parameter Conditions Min Nominal Max Unit Vpp AVpp DVop Vorive fapscik 24 MHz fs up to 1 5 MSPS 2 7 3 6 V internal or external reference 2 5 V 196 unless otherwise noted fapscik 25 MHz fs up to 1 56 MSPS 3 0 3 6 V internal or external reference 2 5 V 196 unless otherwise noted fapscik 32 MHz fs up to 2 0 MSPS 4 75 AVpp DVpp 5 25 AVpp DVpp V internal or external reference 2 5 V 196 2 7 Vorive 5 25 Vprive V unless otherwise noted T Junction Temperature 120 Lead LOFP Tug 40 C to 85 C 40 105 C
132. s memory as a single unified 4G byte address space using 32 bit addresses All resources including internal memory external memory and I O control registers occupy separate sections of this common address space The memory portions of this address space are arranged in a hierarchical structure to provide a good cost performance balance of some very fast low latency core accessible memory as cache or SRAM and to provide larger lower cost and perfor mance interface accessible memory systems See Figure 3 The core accessible L1 memory system is the highest perfor mance memory available to the Blackfin processor The interface accessible memory system accessed through the external bus interface unit EBIU provides access to the inter nal flash memory and boot ROM The memory DMA controller provides high bandwidth data movement capability It can perform block transfers of code or data between the internal memory and the external memory spaces Internal Core Accessible Memory The processor has three blocks of core accessible memory providing high bandwidth access to the core Rev B Page5of84 The first block is the L1 instruction memory consisting of 32K bytes SRAM of which 16K bytes can be configured as a four way set associative cache This memory is accessed at full processor speed The second core accessible memory block is the L1 data mem ory consisting of 32K bytes of SRAM of which 16K bytes may be configured
133. s of a dedicated input clock pin up to three frame synchronization pins and up to 16 data pins The input clock supports parallel data rates up to half the system clock rate and the synchronization signals can be configured as either inputs or outputs UART Clock Rate April 2014 ADSP BF504 ADSP BF504F ADSP BFS06F The PPI supports a variety of general purpose and ITU R 656 modes of operation In general purpose mode the PPI provides half duplex bidirectional data transfer with up to 16 bits of data Up to three frame synchronization signals are also pro vided In ITU R 656 mode the PPI provides half duplex bidirectional transfer of 8 or 10 bit video data Additionally on chip decode of embedded start of line SOL and start of field SOF preamble packets is supported General Purpose Mode Descriptions The general purpose modes of the PPI are intended to suit a wide variety of data capture and transmission applications Three distinct submodes are supported Input mode Frame syncs and data are inputs into the PPI e Frame capture mode Frame syncs are outputs from the PPI but data are inputs Output mode Frame syncs and data are outputs from the PPI Input Mode Input mode is intended for ADC applications as well as video communication with hardware signaling In its simplest form PPI FSI is an external frame sync input that controls when to read data The PPI DELAY MMR allows for a delay in PPI
134. s to stop the clock The given minimum frequency range is for cases where a continuous clock is required Vou MIN 23 SD CLK VoL MAX INPUT topoly a gt OUTPUT NOTES 1 INPUT INCLUDES SD_Dx AND SD_CMD SIGNALS 2 OUTPUT INCLUDES SD_Dx AND SD_CMD SIGNALS Figure 18 RSI Controller Timing Rev B Page370f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F Table 29 RSI Controller Timing High Speed Mode Parameter Min Max Unit Timing Requirements tisu Input Setup Time 5 75 ns ty Input Hold Time 2 ns Switching Characteristics fpp Clock Frequency Data Transfer Mode 0 50 MHz tw Clock Low Time ns tw Clock High Time ns tnu Clock Rise Time 3 ns true Clock Fall Time 3 ns topiy Output Delay Time During Data Transfer Mode 2 5 ns ton Output Hold Time 2 5 ns css Von MIN p SD CLK VoL MAX INPUT tony ton OUTPUT NOTES 1 INPUT INCLUDES SD_Dx AND SD_CMD SIGNALS 2 OUTPUT INCLUDES SD_Dx AND SD_CMD SIGNALS Figure 19 RSI Controller Timing High Speed Mode Rev B Page380f84 April 2014 Serial Ports ADSP BF504 ADSP BF504F ADSP BF506F Table 30 through Table 33 on Page 41 and Figure 20 on Page 40 through Figure 22 on Page 41 describe serial port operations Table 30 Serial Ports External Clock Voss 1 8 V Voonr 2 5 V 3 3 V Parameter Min Max Min Max Unit Timing Requirements tsrse TFSx RFSx Setup Before TSCLKx RSCLKx
135. set pin values one register is written in order to clear pin values one register is written in order to toggle pin values and one register is written in order to specify a pin value Reading the GPIO status register allows software to interrogate the sense of the pins GPIO interrupt mask registers The two GPIO interrupt mask registers allow each individual GPIO pin to function as an interrupt to the processor Similar to the two GPIO control registers that are used to set and clear individual pin values one GPIO interrupt mask register sets bits to enable interrupt function and the other GPIO interrupt mask register clears bits to disable interrupt function GPIO pins defined as inputs can be configured to generate hardware interrupts while output pins can be triggered by software interrupts GPIO interrupt sensitivity registers The two GPIO inter rupt sensitivity registers specify whether individual pins are level or edge sensitive and specify if edge sensitive whether just the rising edge or both the rising and falling edges of the signal are significant One register selects the type of sensitivity and one register selects which edges are significant for edge sensitivity DYNAMIC POWER MANAGEMENT The processor provides five operating modes each with a differ ent performance power profile In addition dynamic power management provides the control functions to dynamically alter the processor core supply voltage fur
136. shown in Table 53 Analog Input Type and Channel Selection The analog input range of the ADC can be selected as 0 V to Vrer or 0 V to 2 x Vpgr via the RANGE pin This selection is made in a similar fashion to that of the SGL DIFF pin by setting the logic state of the RANGE pin a time taq prior to the falling edge of CS Subsequent to this the logic level on this pin can be Table 52 ADC Output Coding altered after the third falling edge of ADSCLK If this pin is tied to a logic low the analog input range selected is 0 V to Vag If this pin is tied to a logic high the analog input range selected is 0 V to 2 X Vggr Output Coding The ADC output coding is set to either twos complement or straight binary depending on which analog input configuration is selected for a conversion Table 52 ADC Output Coding shows which output coding scheme is used for each possible analog input configuration Transfer Functions The designed code transitions occur at successive integer LSB values 1 LSB 2 LSB and so on In single ended mode the LSB size is Vppp 4096 when the 0 V to Vagp range is used and the LSB size is 2 x Vggp 4096 when the 0 V to 2 x Vggr range is used In differential mode the LSB size is 2 x Vpgp 4096 when the 0 V to Vrer range is used and the LSB size is 4 x Vpgp 4096 when the 0 V to 2 x Vggr range is used The ideal transfer characteristic for the ADC when straight binary coding is output is shown in Figure 78 Straig
137. sors driver type corresponds to a particular pin Von 3 6V 55 C Vw 33V 25 C Vp 30V 125 C T B t E z z t Wu 4 tr 5 tc o 8 ul Oo Wu Q o 5 tc 9 3 o 7 0 0 5 1 0 1 5 2 0 2 5 3 0 3 5 SOURCE VOLTAGE V SOURCE VOLTAGE V Figure 32 Driver Type B Current 3 3 V Vppgy Figure 35 Driver Type C Current 3 3 V Vppexq Vonexr 2 75V 55 C Vopexr 2 75V 55 C Mays 2 5V 25 C Vm 25V 25 C opexr 2 25V 125 C V 225V 125 C t E 5 ul Wu a a a tc 2 2 o o ul 9 a tc 8 2 a 2 SOURCE VOLTAGE V SOURCE VOLTAGE V Figure 33 Driver Type B Current 2 5 V Vppext Figure 36 Drive Type C Current 2 5 V V ppext em Vey 1 8V 25 C T LOL Vom 17V 155 C ope 1 7V 125 C t t 5 5 ul Wu tc tc c3 tc 8 8 ul 9 9 a tc 3 2 2 2 SOURCE VOLTAGE V SOURCE VOLTAGE V Figure 34 Driver Type B Current 1 8 V Vppext Figure 37 Driver Type C Current 1 8 V Vppexr Rev B Page500f84 April2014 ADSP BF504 ADSP BF504F ADSP BFS06F PROCESSOR TEST CONDITIONS 3 6V 55 C V a TE aaa otc All timing parameters appearing in this data sheet were mea Fa j ZOV ease sured under the conditions described in this section Figure 41 shows the measurement point for AC measurements except t output enable disable The measurement point Vyas is V ppexr 2 E for Vppexr nominal 1 8 V 2 5 V 3 3 V
138. ssor Only Continued Signal Name Type Function DoyrA DourB O Serial Data Outputs The data output is supplied to each pin as a serial data stream The bits are clocked out on the falling edge of the ADSCLK input and 14 ADSCLKs are required to access the data The data simultaneously appears on both pins from the simultaneous conversions of both ADCs The data stream consists of two leading zeros followed by the 12 bits of conversion data The data is provided MSB first If CS is held low for 16 ADSCLK cycles rather than 14 then two trailing zeros will appear after the 12 bits of data If CS is held low for a further 16 ADSCLK cycles on either DoyrA or DourB the data from the other ADC follows on the Doy pin This allows data from a simultaneous conversion on both ADCs to be gathered in serial format on either Doy A or DouB using only one serial port For more information see the ADC Serial Interface section Vorive P Logic Power Supply Input The voltage supplied at this pin determines at what voltage the digital I O interface operates This pin should be decoupled to DGND The voltage at this pin may be different than that at AVpp and DVpp but should never exceed either by more than 0 3 V DVpp P Digital Supply Voltage 2 7 V to 5 25 V This is the supply voltage for all digital circuitry on the internal ADC The DVpp and AVpp voltages should ideally be at the same potential and must not be more than 0 3 V apart even on a transi
139. supply affect the full scale transition but not the converter s linearity PSRR is the maximum change in the full scale transition point due to a change in power supply voltage from the nominal value see Figure 50 PSRR vs Sup ply Ripple Frequency Without Supply Decoupling Thermal Hysteresis Thermal hysteresis is defined as the absolute maximum change of reference output voltage V agr after the device is cycled through temperature from either T_HYS 25 C to Tmax to 25 C or T_HYS 25 C to Tux to 25 C Itis expressed in ppm by Vere 25 C V prr T HYS V prr 25 C x 10 Vays ppm Rev B Page 62 of 84 where VREF 25 C is VREF at 25 C Vrer T HYS is the maximum change of Vggr at T_HYS or T HYS ADC THEORY OF OPERATION The following sections describe the ADC theory of operation Circuit Information The ADC is a fast micropower dual 12 bit single supply ADC that operates from a 2 7 V to a 5 25 V supply When oper ated from a 5 V supply the ADC is capable of throughput rates of up to 2 MSPS when provided with a 32 MHz clock and a throughput rate of up to 1 5 MSPS at 3 V The ADC contains two on chip differential track and hold amplifiers two successive approximation ADCs and a serial interface with two separate data output pins The serial clock input accesses data from the part but also pro vides the clock source for each successive approximation ADC The analog input
140. th the exception of CLKIN XTAL EXT_WAKE The individual values cannot be combined for analysis of a single instance of overshoot or undershoot The worst case observed value must fall within one of the voltages specified and the total duration of the overshoot or undershoot exceeding the 10096 case must be less than or equal to the corresponding duty cycle Duty cycle refers to the percentage of time the signal exceeds the value for the 10096 case The is equivalent to the measured duration of a single instance of overshoot or undershoot as a percentage of the period of occurrence Rev B Page 31 of 84 Table 22 specifies the maximum total source sink Ipy Io cur rent for a group of pins Permanent damage can occur if this value is exceeded To understand this specification if pins PG5 PG6 PG7 PG8 and PG9 from group 5 in the Total Current Pin Groups table each were sourcing or sinking 2 mA each the total current for those pins would be 10 mA This would allow up to 66 mA total that could be sourced or sunk by the remain ing pins in the group without damaging the device For a list of all groups and their pins see the Total Current Pin Groups table Note that the Vo and Vo specifications have separate per pin maximum current requirements see the Electrical Characteristics table Table 22 Total Current Pin Groups Group Pinsin Group PF10 PF11 PF12 PF13 PF14 PF15 PGO PG1 PG2 PG3 PG4 PG5 PG
141. the 13 rising edge of ADSCLK after the CS falling edge see Figure 87 Serial Inter face Timing Diagram If the level on this pin is changed it will be recognized by the ADC therefore it is necessary to keep the same logic level during acquisition and conversion to avoid cor rupting the conversion in progress For example in Figure 77 Selecting Differential or Single Ended Configuration the SGL DIFF pin is set at logic high for the duration of both the acquisition and conversion times so the analog inputs are configured as single ended for that conversion Sampling Point A The logic level of the SGL DIFF changed to low after the track and hold returned to track and prior to the April 2014 ADSP BF504 ADSP BF504F ADSP BF506F required acquisition time for the next sampling instant at Point B therefore the analog inputs are configured as differential for that conversion SGL DIFF i Figure 77 Selecting Differential or Single Ended Configuration The channels used for simultaneous conversions are selected via the multiplexer address input pins A0 to A2 The logic states of these pins also need to be established prior to the acquisition time however they may change during the conversion time provided the mode is not changed If the mode is changed from fully differential to pseudo differential for example then the acquisition time would start again from this point The selected input channels are decoded as
142. the device returns to normal operation or remains in power down These modes of operation are designed to provide flexible power man Rev B Page 68 of 84 agement options These options can be chosen to optimize the power dissipation throughput rate ratio for differing applica tion requirements Normal Mode This mode is intended for applications needing fastest through put rates because the user does not have to worry about any power up times with the ADC remaining fully powered at all times Figure 80 Normal Mode Operation shows the general diagram of the operation of the ADC in this mode ADSCLK Tq T DoutA DUE LEADING ZEROS CONVERSION RESULT OUT Figure 80 Normal Mode Operation The conversion is initiated on the falling edge of CS as described in the ADC Serial Interface section To ensure that the part remains fully powered up at all times CS must remain low until at least 10 ADSCLK falling edges have elapsed after the falling edge of CS If CS is brought high any time after the 10 ADSCLK falling edge but before the 14 ADSCLK falling edge the part remains powered up but the conversion is terminated and Doy A and DoyrB go back into three state Fourteen serial clock cycles are required to complete the conversion and access the conversion result The Doyr line does not return to three state after 14 ADSCLK cycles have elapsed but instead does so when CS is brought high again If CS is left low for another 2 A
143. ther reducing power dissi pation When configured for a 0 volt core supply voltage the processor enters the hibernate state Control of clocking to each of the processor peripherals also reduces power consumption See Table 4 for a summary of the power settings for each mode Full On Operating Mode Maximum Performance In the full on mode the PLL is enabled and is not bypassed providing capability for maximum operational frequency This is the power up default execution state in which maximum per formance can be achieved The processor core and all enabled peripherals run at full speed Active Operating Mode Moderate Dynamic Power Savings In the active mode the PLL is enabled but bypassed Because the PLL is bypassed the processor s core clock CCLK and system clock SCLK run at the input clock CLKIN frequency DMA access is available to appropriately configured L1 memories April 2014 ADSP BF504 ADSP BF504F ADSP BF506F In the active mode it is possible to disable the control input to the PLL by setting the PLL OFF bit in the PLL control register This register can be accessed with a user callable routine in the on chip ROM called bfrom_SysControl If disabled the PLL control input must be re enabled before transitioning to the full on or sleep modes Table 4 Power Settings Core System PLL Clock Clock Core Mode State PLL Bypassed CCLK SCLK Power Full On Enabled No Enabled
144. this mode the control byte sequences are not stored to memory they are filtered by the PPI After synchronizing to the start of Field 1 the PPI ignores incoming samples until it sees an SAV code The user specifies the number of active video lines per frame in PPI_COUNT register Vertical Blanking Interval Mode In this mode the PPI only transfers vertical blanking interval VBI data Entire Field Mode In this mode the entire incoming bit stream is read in through the PPI This includes active video control preamble sequences and ancillary data that may be embedded in horizontal and ver tical blanking intervals Data transfer starts immediately after synchronization to Field 1 Data is transferred to or from the synchronous channels through eight DMA engines that work autonomously from the processor core RSI INTERFACE The removable storage interface RSI controller acts as the host interface for multimedia cards MMC secure digital memory cards SD secure digital input output cards SDIO and CE ATA hard disk drives The following list describes the main fea tures of the RSI controller e Support for a single MMC SD memory SDIO card or CE ATA hard disk drive e Support for 1 bit and 4 bit SD modes e Support for 1 bit 4 bit and 8 bit MMC modes e Support for 4 bit and 8 bit CE ATA hard disk drives e A ten signal external interface with clock command and up to eight data lines Card detection using one o
145. time of the external regulator is detected after hibernation For a complete description of the power good functionality refer to the ADSP BF50x Blackfin Processor Hard ware Reference CLOCK SIGNALS The processor can be clocked by an external crystal a sine wave input or a buffered shaped clock derived from an external clock oscillator If an external clock is used it should be a TTL compatible signal and must not be halted changed or operated below the speci fied frequency during normal operation This signal is connected to the processor s CLKIN pin When an external clock is used the XTAL pin must be left unconnected Alternatively because the processor includes an on chip oscilla tor circuit an external crystal may be used For fundamental frequency operation use the circuit shown in Figure 4 A paral lel resonant fundamental frequency microprocessor grade crystal is connected across the CLKIN and XTAL pins The on chip resistance between CLKIN and the XTAL pin is in the 500 kQ range Further parallel resistors are typically not recom mended The two capacitors and the series resistor shown in Figure 4 fine tune phase and amplitude of the sine frequency The capacitor and resistor values shown in Figure 4 are typical values only The capacitor values are dependent upon the crystal manufacturers load capacitance recommendations and the PCB physical layout The resistor value depends on the drive level specified b
146. to DGND 0 3 V to 7 V Vorive to DGND 0 3 V to DVpp Vorive to AGND 0 3 V to AVpp AVpp to DVpp 0 3 V to 0 3 V AGND to DGND 0 3 V to 0 3 V Analog Input Voltage to AGND 0 3 V to AVpp 0 3 V Digital Input Voltage to DGND 0 3Vto 7 V Digital Output Voltage to GND 0 3 V to Vprive 0 3 V Veer to AGND 0 3 V to AVpp 0 3 V Input Current to Any ADC Pin 10 mA Except Supplies Storage Temperature Range See Table 20 on Page 31 Junction Temperature Under Bias See Table 20 on Page 31 Transient currents of up to 100 mA will not cause latch up Rev B Page580f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F ADC TYPICAL PERFORMANCE CHARACTERISTICS T4 25 C unless otherwise noted 60 4096 POINT FFT INTERNAL REFERENCE 10 Vpp 5V Vorive 3V L 3 FsAMPLE 2MSPS 70 Fin 52kHz SINAD 71 4dB 30 THD 84 42dB 80 DIFFERENTIAL MODE EXTERNAL REFERENCE a 50 a g c a Fg 70 100 90 110 100mV p p SINE WAVE ON AVpp NO DECOUPLING 429 LSINGLE ENDED MODE 110 7 0 100 200 300 400 500 600 700 800 900 1000 0 200 400 600 800 1000 1200 1400 1600 1800 2000 SUPPLY RIPPLE FREQUENCY kHz FREQUENCY kHz Figure 53 Typical FFT Figure 50 PSRR vs Supply Ripple Frequency Without Supply Decoupling Vpp 5V Vorive 3V DIFFERENTIAL MODE DNL ERROR LSB
147. veloping with Analog Devices processors Analog Devices offer a range of EZ KIT Lite evaluation kits Each evaluation kit includes an EZ KIT Lite evaluation board directions for downloading an evaluation version ofthe available IDE s a USB cable and a power supply The USB controller on the EZ KIT Lite board connects to the USB port of the user s PC enabling the chosen IDE evaluation suite to emulate the on board processor in circuit This permits the customer to download execute and debug programs for the EZ KIT Lite system It also supports in circuit programming of the on board Flash device to store user specific boot code enabling standalone operation With the full version of Cross Core Embedded Studio or VisualDSP 4 installed sold separately engineers can develop software for supported EZ KITs or any custom system utilizing supported Analog Devices processors Software Add Ins for CrossCore Embedded Studio Analog Devices offers software add ins which seamlessly inte grate with CrossCore Embedded Studio to extend its capabilities and reduce development time Add ins include board support packages for evaluation hardware various middleware pack ages and algorithmic modules Documentation help configuration dialogs and coding examples present in these add ins are viewable through the CrossCore Embedded Studio IDE once the add in is installed Board Support Packages for Evaluation Hardware Software support for the EZ K
148. velopment Tools ect 17 Outline DEENEISIOUS cucaesesdeb tecta idR tU hM ipee Dn b bddus 79 Arad uc THREE ei D Li 18 Automotive PRODUCES 2eeuasexvasce prr Ra E tras FARA V Fabre YES 81 ee MER E 20 CCH Que ie earsecaaaesrH e pH LU Ed ER ERR ERR EER E Ead 81 ADC Application HEUS sonarra 21 REVISION HISTORY 04 14 Rev A to Rev B Revised package diagram Figure 93 to include U Groove in Updated Development Tools ees 17 Outline Dimensions irre NUpepe ERR S DAE CREE UPPE 79 Corrected RCKFE bit setting and description in Package thickness changed from 0 75 0 80 0 85 to Table 9 The SPORTx Receive Configuration 1 Register 0 75 0 85 0 90 in Figure 94 in Outline Dimensions 79 SPORTS RORI cuius ntepr Dite ter etae epe ladk 19 Updated footnote 6 in Operating Conditions 26 Updated Table 18 with revised data for Static Current IDD DEEPSLEEP mA 30 Rev B Page20f84 April2014 ADSP BF504 ADSP BF504F ADSP BF506F GENERAL DESCRIPTION The ADSP BF50x processors are members of the Blackfin fam ily of products incorporating the Analog Devices Intel Micro Signal Architecture MSA Blackfin processors combine a dual MAC state of the art signal processing engine the advantages ofa clean orthogonal RISC like microprocessor instruction set and single instruction multiple data SIMD multimedia capa bilities into a single instruction set architecture The ADSP BF50x pro
149. y the crystal manufacturer The user should verify the customized values based on careful investigations on multiple devices over temperature range Rev B Page 15 of 84 A third overtone crystal can be used for frequencies above 25 MHz The circuit is then modified to ensure crystal operation only at the third overtone by adding a tuned inductor circuit as shown in Figure 4 A design procedure for third overtone oper ation is discussed in detail in EE 168 Using Third Overtone Crystals with the ADSP 218x DSP on the Analog Devices web site www analog com use site search on EE 168 The Blackfin core runs at a different clock rate than the on chip peripherals As shown in Figure 5 the core clock CCLK and system peripheral clock SCLK are derived from the input clock CLKIN signal An on chip PLL is capable of multiplying the CLKIN signal by a programmable multiplication factor bounded by specified minimum and maximum VCO frequen cies The default multiplier is 6x but it can be modified by a software instruction sequence Blackfin Processor CLKOUT SCLK TO PLL CIRCUITRY EXTCLK XTAL FOR OVERTONE OPERATION ONLY Y Y y NOTE VALUES MARKED WITH MUST BE CUSTOMIZED DEPENDING ON THE CRYSTAL AND LAYOUT PLEASE ANALYZE CAREFULLY FOR FREQUENCIES ABOVE 33 MHz THE SUGGESTED CAPACITOR VALUE OF 18 pF SHOULD BE TREATED AS A MAXIMUM AND THE SUGGESTED RESISTOR VALUE SHOULD BE REDUCED TO 0 Q Figure 4
Download Pdf Manuals
Related Search
Related Contents
Personal por Contrato La Crosse Technology Weather History Interval User's Manual Cooltek UMX2 L型サイドバー90/45 here - Neuroptics Bedienungsanleitung Nokia 5530 Music コインランドリ-システム ` Copyright © All rights reserved.
Failed to retrieve file