LTC1298 AD chip SX assembly language troubles
Randy Harris
Posts: 11
I am trying to get the LTC1298 chip to work with the SX assembler but I cannot get the 1298 to reply back with the conversion data. What am I missing. I think I have read the spec sheets correctly. Do I have to use the pull-up resistor for the port bit inputting the data from the 1298? It does not seem to matter if I pull it up or not I get no data from the 1298. I have included the test program in an attachement.
Thanks for any help.
Thanks for any help.
Comments
It looks like you're not clearing (with setb) the CS at the end of the convert.
Both start and end issue clrb on CS.
David
I had two mistakes. I commented out the clrb (actually it was a setb, I think). Then I needed to clrb at the end. It works now. Thanks all who helped.