Maker Pro
Maker Pro

PIC10F200 and I2C communications?

eem2am

Aug 3, 2009
429
Joined
Aug 3, 2009
Messages
429
Hello,
I am wanting to interface an MCP4706 DAC to a PIC10F200
MCP4706 DAC datasheet
http://ww1.microchip.com/downloads/en/DeviceDoc/22272C.pdf

PIC10F200 DATASHEET:
http://ww1.microchip.com/downloads/en/devicedoc/41239a.pdf

Will i need to add external open collector BJTs to the PIC10F200 to act as outputs, and use a separate input pin on the pIC10F200?
...Or is it simply not going to be possible to interface the PIC10F200 to the MCP4706, since PIC10F200 does not have an I2C module?

I wish to use "bit-bashing" to communicate (immitate the I2C protocol) with the MCP4706 because there is no I2C module on the PIC10F200.
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
1. Why not choose a PIC with an I2C module?
2. You can do it with software, as long as speed is not a problem.

Bob
 

Gpino

Nov 27, 2012
11
Joined
Nov 27, 2012
Messages
11
< Please retype it in English, thankyou :) >

ciao Gpino
 
Last edited by a moderator:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
Gpino: English please. Not everyone understands Italian.

Harald
 

Gpino

Nov 27, 2012
11
Joined
Nov 27, 2012
Messages
11
Hello pic10F200 with the low memory you can not do what you want
I with the same micro spi command in a 74HC595 and I'm already at the limit of memory
 

Gpino

Nov 27, 2012
11
Joined
Nov 27, 2012
Messages
11
PIC10Fxx

I do not think I've never had problems like the problem is the lack of memory
 

gorgon

Jun 6, 2011
603
Joined
Jun 6, 2011
Messages
603
How about changing the DAC to a SPI version, since you are using SPI already.
If you have hit the memory roof already, you need to revise your selection of PIC variant, or how you use memory.
If you program in C, you may save some memory going through the data types in use, and the grouping of them. Alignment issues may steal RAM from you.
 
Top