uda1330 ats driver istek

Başlatan armsistem, 15 Temmuz 2012, 17:54:12

armsistem

Arkadaşlar merhaba , uda1330ats (dac ses entegresi) için driver arıyorum nette aradım bulamadım ilgilenen arkadaş varmıdır birde böyle entegre driverlerinı genelde aradığınız yabancı site veya forumlar varmıdır.

http://www.nxp.com/documents/data_sheet/UDA1330ATS.pdf


armsistem

#2
Hocam yanıt net olmuş işin sırrı bu sitemi ?

mesaj birleştirme:: 15 Temmuz 2012, 21:30:51

Hocam wav dosyasını hex'e çevirip mi yapıyoruz bu işi ?


void dac_byte_send (Byte b)
{
Byte    c;

for (c=8;c;c--)
  {
  DAC_L3DATA=(b&1); // practically 50% duty cycle
  DAC_L3CLOCK=0;
  b>>=1;
  DAC_L3CLOCK=1;    // data bit is sampled here (rising edge)
  }
}