1) how or where to connect REF IN pin? should it connected to +3.3V?
2) as i understand Vdd can be connected to +5V, but it gets very hot soon, even with 3.3V
3) can i permanently ground the CS pin?
4) why is that audio is produced whichever way I connect the 8 bits output to MSB(D13) to D6 or D0(LSB) to D7?
1) Ref in should be connected to Ref out.
2) Vdd should be +5V, Vss - 5 V.
3) Yes, but these notes apply -
4) DAC does not know what bits it gets are MSB or LSB so yes you will get audio but if you
shift the 8 bit byte to lower pins the DAC pk-pk output will drop. Ie. all you would be doing is
scaling the DAC output.
If chip got hot sounds like you connected a pin to a V > + 5 or V < - 5. May have ruined
it.
There are connections marked AGND (analogue ground) and DGND (digital ground).
I would prefer that these were also identified as 0v (zero volts). This is where the other wire from the two power supplies connects.
/RANT MODE = ON
When you have a 5v PSU, one wire is +5v, the other wire is 0v, NOT -5v
the +5v connects to Vdd and the 0v connects to GND, or as I would prefer to call it 0v
/RANT MODE = =OFF