A to D communicating issues "ADC081S101"
Bits
Posts: 414
Please point out the mistake. I am using the ADC081S101. Here is my simple code. No data is gathered.
PUB ADC081S101 outa[ADC_CS]:= 0 REPEAT 3 outa[ADC_Clk] := 1 outa[ADC_Clk] := 0 REPEAT 8 outa[ADC_Clk] := 1 outa[ADC_Clk] := 0 result := (result << 1) + ina[ADC_Data] REPEAT 4 outa[ADC_Clk] := 1 outa[ADC_Clk] := 0 outa[ADC_CS] := 1
Comments
Andy