PDA

View Full Version : Ltc1861



Sidinei
- 18th March 2006, 16:47
Dear friends.

I need communicate LTC1861 and PIC16F628 to PicBasic.

As?

I am thankful.

Sidinei

BigWumpus
- 18th March 2006, 19:19
I think you will use a SPI-interface.
Yust look for Shiftin/Shiftout-Commands inside PicBasic. The 16F628 has no hardware-support for SPI.

Sidinei
- 18th March 2006, 21:18
Dear friend.

I am using Shiftin e Shiftout.
But this not functioning correctly.

Shiftout Di,Ck,MSBFIRST, [1\1,addr\3,0\1]
Shiftin Do,Ck,MSBPRE,[result\12]

addr=$05 ' For channel 0

or

addr=$07 ' For channel 1

I am thankful