How to do digital to analogue conversion using LTC1257 ?
sckam
Posts: 27
Dear all,
Hi!
I have a Digital to Analogue Converter IC (LTC1257).
May I know how to use my Basic Stamp 2(BS2) to convert the digital signal to analogue signal?
Thank you.
Best regards.
Kam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you.
Warm regards.
Kam
Hi!
I have a Digital to Analogue Converter IC (LTC1257).
May I know how to use my Basic Stamp 2(BS2) to convert the digital signal to analogue signal?
Thank you.
Best regards.
Kam
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you.
Warm regards.
Kam
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
I have some problem on my BS2 code:
1.When I did SYNTAX CHECK, an error "Out of variable
space" happen at "Y"
Why ? just only five WORDs declare only, the error
already come out ?
I have remark the code.
2.Refer to Jon's URL link for the DAC PDF file,the DPin in my BS2 code under DAC section is refer to Pin 2(Din) on the LTC1257 ? and the DAC in the code is refer to Pin 3(LOAD) on the LTC1257 ?
Clk··· PIN·· 0
Dpin·· PIN·· 1
DAC··· PIN·· 5
temp··· VAR··· Word
tempL·· VAR··· temp.BYTE0
tempH·· VAR··· temp.BYTE1
dac1··· VAR··· Word
dac2··· VAR··· Word
shift·· VAR··· Byte
Attach here is the program BS2 code.
Thank you.
Best regards.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thank you.
Warm regards.
Kam