Section 1 Introduction Congratulations on your purchase of the C51 AT89RFD-08 Reference Design. It is designed to give designers a quick start to develop code on the AT89C51SND2C and for prototyping and testing of new designs. Overview This document describes the AT89RFD-08 Reference Design dedicated to the AT89C51SND2C C51 microcontroller.
Page 5
Introduction Figure 1-1. AT89RFD-08 Board Power Supply Earphone Jack Connector Auxiliary Mono 3V UART Input AT89C51SND2 Speaker Jack Power Supply Jumper Selection (J14) LED1 LED2 Reset SELECT AT89RFD-08 Hardware User Guide 4382E–MP3–05/06...
Page 6
Figure 1-2. Component Side Figure 1-3. Soldering Side To complement the evaluation and enable additional development capability, the AT89RFD-08 Board can be connected to a PC (UART) Atmel in order to use the AT89C51SND2C as a slave device. AT89RFD-08 Hardware User Guide...
Page 7
AT89RFD-08 RS232 Link RS232 Level Shifter -12/+12V - 3V Note: PC software at89rfd-08-MyCom-X_X.exe is available to control AT89RFD-08. Refer to firmware package readme.txt file. AT89RFD-08 The AT89RFD-08 Board provides the following features: Reference n AT89C51SND2C CTBGA device (3V) Design Features n Power supply flagged by “POWER”...
Section 2 Using the AT89RFD-08 Board The AT89RFD-08 Board can be used as a stand-alone board or as a slave board. AT89RFD-08 Hardware User Guide 4382E–MP3–05/06...
Using the AT89RFD-08 Board Block Diagram Figure 2-1. AT89RFD-08 Board Block Diagram TWI Network RS232 Link UART LEDs Human Clocks Interface & Keys Power Supply External Power Speaker Audio Head-Set Interface Expansion connector Human Interface AT89RFD-08 Hardware User Guide 4382E–MP3–05/06...
To prevent malfunction due to insufficient power supply voltage, we assume that an external brown-out protection or the Master system controls the AT89C51SND2C Reset PIN. Note: Refer to Atmel Document ‘External Brown-out Protection for C51 Microcontrollers with Active High Reset Input’, available on the Atmel web site. 2.2.1 5V to 9V power...
Using the AT89RFD-08 Board Table 2-2. Power supply configuration Power supply source J14(*) Unit External Power Supply closed The direct power supply voltage must be adjusted with the power supply source. Input voltage on this connector must be included between 2.7 and 3.3V.
The microcontroller area consists of the AT89C51SND2C product along with the follow- ing items: microcontroller n Reset Circuit n 16 MHz Oscillator n PLL Filter for USB clock generation AT89C51SND2C is located in the center of the AT89RFD-08 Reference Design. Figure 2-6. Processor Placement 2.3.1 Reset 2.3.1.1 Power-on RESET The on-board RC network acts as power-on RESET.
Using the AT89RFD-08 Board 2.3.2 CPU Clock The AT89C51SND2C microcontroller is clocked by a 16MHz crystal (Y1). Figure 2-8. Clock Area 2.3.3 PLL Filter Generation of the 48MHz clock frequency is based on an internal PLL with its two- capacitors and one-resistor filter.
Figure 2-9. RS-232 SIP3 Connector 3V UART 2.4.2 The AT89RFD-08 Reference Design provides all the required hardware to develop USB compliant application. This includes: n a USB connector n a USB unload jumper (J13) which allows to disconnect the pull-up on D+ and then simulate an Attach/Detach of the USB cable.
Using the AT89RFD-08 Board 2.4.3 The AT89C51SND2C is a micro-controller with an on-chip full duplex SPI interface, master or slave. A 6-pin male connector assumes the SPI bus connections. Figure 2-11. SPI 6-pin Connector The SPI 6-pin connector also provides to the user Vcc and Gnd.
Resources 2.5.1 LEDs Two leds are provided on the AT89RFD-08 Reference Design. They are connected to P2_5 and P2_6 and are all free of usage. No dedicated signaling from the AT89C51SND2C is predefined on these leds. Figure 2-13. Leds position on the board 2.5.2...
Output output of the microcontroller. Note: The Power amplifier output is not protected against short circuit: do not unplug the speaker jack connector while AT89RFD-08 Reference Design is powered to avoid any hazardous short circuit. 2.6.2 Earphone 32 Ohms The earphone area consists of a 32 Ohms stereo jack.
Using the AT89RFD-08 Board Expansion The expansion area consists of a 20-pin connector. Connector Figure 2-16. JP1 Expansion Connector Table 2-3. Expansion Connector signal name pin number signal name pin number P3.2 P0.7 P3.6 P0.6 P3.7 P0.5 P2.0 P0.4 P2.1 P0.3...
Press the RST button while keeping ISP button pressed. n Release the RST button. n Release ISP button. n Connect the USB cable to the AT89RFD-08 Reference Design and to the PC Microcontroller is now in the ISP mode and is ready to communicate with FLIP. 2.8.3...
Using the AT89RFD-08 Board Electrical The AT89RFD-08 Reference Design is designed to enable easy measurement of elec- trical parameters on the board. 6 configuration pads can be used either for voltage Parameter measurements or for current measurements. Measurement 2.9.1 Configuration Pad A configuration pad configures the AT89RFD-08 Board Demo Board for custom applica- tion.
Using the AT89RFD-08 Board 2.9.3 Measurements 2.9.3.1 Voltage Voltage measurement shall be done with a CLOSED configuration pad. Figure 2-19. Voltage Measurement voltage probe CLOSED 2.9.3.2 Current Current measurement shall be done cutting the configuration pad and connecting a multimeter.
Using the AT89RFD-08 Board 2.10 Layout Guide Signal integrity on Power Supply Decoupling, USB and Audio lines are the main con- straints of the PCB. 2.10.1 Power Supply Considerable care must be taken to provide quiet supplies such as the analog section: n AUDVREF: Audio Voltage Reference pin for decoupling.
Using the AT89RFD-08 Board 2.10.2 The UVDD line must be large enough to drive 500mA. The D+ and D- lines must be routed side by side because they are a differential pair. There must be two UVSS lines on each side of this two lines.
Using the AT89RFD-08 Board 2.11 1. Can the decoupling capacitors for AUDVCM, CBP and AUDVREF be changed? Lowering the decoupling capacitors increases the noise (due to power supply rejection) in low frequency (i.e. dividing the capacitor value by 2 increases the noise by 2 in low frequency).
Page 25
4. I don’t use HSL and HSR, can they stay unconnected? HSR HSL can stay unconnected if not used and not activated. 5. Regarding the AT89RFD-08 schematics, I want to use 2.7 V for AT8xC51SND2C instead of 3V, and AUDVBAT connected to battery 3.6V, is it possible? Yes, it is possible but AT8xC51SND2C power supply shall be at least 3V for USB oper- ation to comply USB specification.
Page 26
Using the AT89RFD-08 Board Figure 2-23. Power Supply Alternate Schematic Note: To prevent any malfunctions during periods of insufficient power supply voltage, AT89C51SND2C voltage supply shall be monitored by a voltage supervisor. During USB operation, AT89C51SND2C voltage supply shall be 3.0V to 3.6V to comply USB specification.
Page 27
To prevent system malfunctions during periods of insufficient power supply voltage, AT8xC51SND2C voltage supply shall be monitored by a voltage supervisor. Refer to Atmel Document ‘External Brown-out Protection for C51 Microcontrollers with Active High Reset Input’. How shall I drive the NandFlash WP/ IO if I do not want to connect to the...
Page 28
Using the AT89RFD-08 Board AT8xC51SND2C Capacitors Enable SND2_RST R=150 Ohm NandFlash LDO_EN SND2_RST POWER OFF Sequence POWER ON Sequence 9. What about power through I/O pins as RxD, TxD if AT8xC51SND2C is not powered? The AT8xC51SND2C can have an unexpected behavior if Powered through IOs: - consumption.
Page 29
10. How can I improve the USB VBUS detection to avoid the power through I/O if AT8xC51SND2C is not powered? You can use the VBUS detection described in AT89RFD-08 schematics. 11. Can I connect AT8xC51SND2C reset pin to a Controller GPIO?
Page 30
Using the AT89RFD-08 Board PA Gain (dB) PA Zin (ohm) 46.5 K 60 K 72 K 87 K 100.5 K 114 K 126 K 135 K 142.5 K 148.5 K 153 K Example with Fc=100 Hz, PA Gain = +5 dB => Cin = 27 nF For low frequency noise rejection, internal mechanism is a full differential mode, and decoupling with common mode (capacitor CBP).
Page 31
MP3VOLR (0Fh) (MP3 decoder digital volume) and adjust the LINE_OUT gain to get 0dB on full chain. In AT89RFD-08 firmware, it is possible to send the AUDIO_SET_GAIN (Line_out, 00h) command (7Eh FFh 91h 02h 00h 00h 92h). 17. Could you please confirm the difference between 0dBFS (Full Scale) and zero? (target characteristic is over 85dB.)
Page 32
Using the AT89RFD-08 Board The high frequency cut-off is essentially determined by the DAC digital filter response (and hence its clock frequency). This frequency is 0.4535.Fs, Fs the sampling frequency (i.e. 44.1KHz). 20. Confirm the isolation between L-channel and R-channel of headset line.
Page 33
Using the AT89RFD-08 Board 2-30 AT89RFD-08 Hardware User Guide 4382E–MP3–05/06...
Section 4 Technical Support For Technical support, please contact mcu@atmel.com. When requesting technical support, please include the following information: n Which target C51 device is used (complete part number) n Target voltage and speed n Clock source and fuse setting of the C51...
Page 36
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY...