This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

communicate with tlc 5620

Other Parts Discussed in Thread: TLC5620hi i am using atmel 89s52 to work with tlc 5620 however i am not able to get the analog out put according to my source code written as follows I AM USING 12MHz CRYSTAL MCU NO 89S52 AT REFA 2.5V REFB 3.25V REFC 2.5V REFD 2.5V 5620PIN MCUPIN CLK AT P2.1 DATA AT P2.2 LOAD AT P2.6 LDAC AT P2.7 I HAVE TO SEND 0FF (255) TO SELECT 2.5V X 2 = 5 V CLR LDAC DACOUT1: SETB CLK CLR DATA SEND 0 TO DATA TO SELECT DACA MSB DELAY 10US CLR CLK DELAY 10US SETB CLK CLR DATA SEND 0 TO DATA TO SELECT DAC A LSB DELAY 10US CLR CLK DELAY10US SETB CLK SETB DATA SEND 1 TO SELECT RNG X2 DELAY 10US CLR CLK DELAY 10US SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK DELAY 10US SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK DELAY 10US SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK DELAY 10US SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK DELAY 10US SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK DELAY 10US SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK DELAY 10US SETB CLK SETB DATA SEND DATA 1 DELAY 10US CLR CLK ; ALL REF A SELECTED RNG BIT SELECTED AND DATA 11111111 ALSO SEND TO TLC5620 DELAY 250US CLR LOAD DELAY 25US SETB LOAD Delay 25us Clr clk Delay 10us Setb clk ; NOW AS THE LDAC IS LOW WHEN THERE IS LOW AT LOAD THE IS RTANSFEERED FROM SERIAL INPUT TO A DAC AND TO THE OUT PUT PIN DAC A ;BUT I AM NOT ABLE TO GET THE VALUE ACCORDING TO MY DIGITAL VALUE
  • Hemal,

    Is there any chance we can get you to present this in another format? Scope shots of your communication perhaps? Since we do not do development on the Atmel processors it is difficult for us to help you with your code scheme, but we can help tell you what may be wrong with your communication

  • hi

    kelvin

    thanx for your promt reply

    only just give me assembly code to communicate with tlc 5620

     

    the assembly code from mcs51family is good to understand me

    but if not than only write whichever assebly code u like and suggest the  mcu family i will check the code and write according to my coding language

     

    hemal

     

    hemalbhatt33@yahoo.in

  • Hemal,

    The TLC5620 is a very old part, I'm not sure what our apps team was doing in the way of sample code in 1994 but we do not have any such sample code to support the device. If you can provide us with some scope shots of your communication as it is now we can tell you what may be wrong.

    Which interface are you using? Load-Controlled Update or LDAC-Controlled Update?