User Tools

Site Tools


mos6581

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
mos6581 [2011/09/28 09:52] wadminmos6581 [2011/12/06 13:57] wadmin
Line 9: Line 9:
 All the sources are listed in the last section of the Datasheet. All the sources are listed in the last section of the Datasheet.
  
-===== Once upon a time... ===== +== Once upon a time... ==
 //In 1982, a young engineer named Bob Yannes was given the task of developing a soundchip for the Commodore company within a four month time frame. // //In 1982, a young engineer named Bob Yannes was given the task of developing a soundchip for the Commodore company within a four month time frame. //
  
Line 20: Line 19:
 //Until the SID enthusiasts took the flag...// //Until the SID enthusiasts took the flag...//
  
-===== MOS 6581 Datasheet =====+ 
 + 
 + 
 +===== MOS6581 SOUND INTERFACE DEVICE (SID) =====
 The 6581 Sound Interface Device (SID) is a single-chip, 3 voice electronic music synthesizer/sound effects generator compatible with the 65XX and similar microprocessor families. SID provides wide-range, high-resolution control of pitch (frequency), tone color (harmonic content) and dynamics (volume). Specialized control circuitry minimizes software overhead, facilitating use in arcade/home video games and low-cost musical instruments. The 6581 Sound Interface Device (SID) is a single-chip, 3 voice electronic music synthesizer/sound effects generator compatible with the 65XX and similar microprocessor families. SID provides wide-range, high-resolution control of pitch (frequency), tone color (harmonic content) and dynamics (volume). Specialized control circuitry minimizes software overhead, facilitating use in arcade/home video games and low-cost musical instruments.
  
Line 110: Line 112:
 Together these registers form a 16-bit number which linearly controls the Frequency of Oscillator 1. The frequency is determined by the following equation:  Together these registers form a 16-bit number which linearly controls the Frequency of Oscillator 1. The frequency is determined by the following equation: 
  
-Fout = (Fn * Fclk/16777216) Hz +<math>Fout = (Fn * Fclk/16777216) Hz </math>
  
 Where Fn is the 16-bit number in the Frequency registers and Fclk is the system clock applied to the Ø2 input (pin 6). For a standard 1.0 Mhz clock, the frequency is given by:  Where Fn is the 16-bit number in the Frequency registers and Fclk is the system clock applied to the Ø2 input (pin 6). For a standard 1.0 Mhz clock, the frequency is given by: 
Line 298: Line 300:
 |  :::      |  **28**  |  1  |  1  |  1  |  0  |  0  |  ''1C''  |  E7    |  E6    |  E5    |  E4    |  E3    |  E2    |  E1    |  E0    |  **ENV3**  |  R  | |  :::      |  **28**  |  1  |  1  |  1  |  0  |  0  |  ''1C''  |  E7    |  E6    |  E5    |  E4    |  E3    |  E2    |  E1    |  E0    |  **ENV3**  |  R  |
 Same as OSC 3, but this register allows the microprocessor to read the output of the Voice 3 Envelope Generator. This output can be added to the Filler Frequency to produce harmonic envelopes, WAH WAH, and similar effects. “Phaser” sounds can be created by adding this output to the frequency control registers of an oscillator. The Voice 3 Envelope Generator must be gated in order to produce any output from this register. The OSC 3 register, however, always reflects the changing output of the oscillator and is not affected in any way by the Envelope Generator.  Same as OSC 3, but this register allows the microprocessor to read the output of the Voice 3 Envelope Generator. This output can be added to the Filler Frequency to produce harmonic envelopes, WAH WAH, and similar effects. “Phaser” sounds can be created by adding this output to the frequency control registers of an oscillator. The Voice 3 Envelope Generator must be gated in order to produce any output from this register. The OSC 3 register, however, always reflects the changing output of the oscillator and is not affected in any way by the Envelope Generator. 
 +
 +===== SID Pinout and Connection =====
 +
 +Pins decription can be found herebelow. Consider jumping to next section for maximum ratings.
 +
 +==== Power Supply ====
 +SID power consumption during normal operation is around 600mW. Expect a little more from a 6581 (around 650mW), and less from 6582 and 8580 (around 550W).
 +The SID shall heat a lot during operation. The design of the analog part of the chip has been improved from 6581 to 6582/8580, allowing to reduce the operating voltage of the chip, and at the same time lowering its consumed power.
 +
 +This also means that 6581 and 6582/8580 __are not compatible__. The power voltages listed below shall be respected, otherwise SID might be damaged.
 +
 +=== VCC - Pin 25 ===
 +This pin shall be powered by a 5V DC coupled power supply. 
 +About 70mA is drawn from VCC during normal operation. Coupling capacitor of at least 10uf and filtering capacitor of 100nf are recommended for proper operation.
 +
 +=== VDD - Pin 28 ===
 +This pin shall be connected to either 9V or 12V DC coupled power supply, according to your SID chip version:
 +
 +^  SID Model  ^  VDD Voltage  ^  Current   ^
 +|  6581  |  12V  |  25mA  |
 +|  6582  |  9V  |  :::  |
 +|  8580  |  :::  |  :::  |
 +
 +Filtering capacitor of 100nf is recommended.
 +
 +=== GND - Pin 14 ===
 +Signal Grounds. To lower the noise, the digital and analog ground shall be connected together on this pin and only at it. Keep in mind that the VDD is used only by the analog part of the chip, which includes it inside the analog section. This makes a basic ground plane domain for analog around pins 26, 27 and 28.
 +
 +
 +==== Filter Configuration ====
  
  
mos6581.txt · Last modified: 2018/08/26 09:36 by 127.0.0.1