mcp3421 why not? help!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times
Contact:

mcp3421 why not? help!

Post by nnnnff »

mcp3421 why not? help!
mcp3421.rar
(140.8 KiB) Downloaded 337 times

User avatar
Dan81
Valued Contributor
Valued Contributor
Posts: 268
Joined: Sun Jan 15, 2006 4:07 pm
Location: Albi France
Been thanked: 60 times
Contact:

Re: mcp3421 why not? help!

Post by Dan81 »

hello Simonh

Change
- the quartz frequency to 19.66MHz (Build\ Project option)
- Hardware in the properties of the I2C components

Add an "I2C init" Macro before the loop.


Daniel
Attachments
mcp3421single_v2.fcf
(16 KiB) Downloaded 283 times

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: mcp3421 why not? help!

Post by STibor »

nnnnff wrote:mcp3421 why not? help!
The attachment mcp3421.rar is no longer available
Hi,

I2C is a software component mode.
PORTA3 SCL = SDA = PORTA4
PIC clocked at 4MHz.
Attachments
MCP3421_SW.jpg
(219.39 KiB) Downloaded 846 times

Post Reply