the I2C pins connected.
I've posted a picture of the OOBoard with the hilighted sections from
the manual that came with the OOPic 5 compiler software in the files
section. It seems to have 2 I2C Ports on the board, One (in the
cluster of Various IO Ports labelled (Local Devices) and one labelled
Network. I am assuming that it's the local devices one I need to use.
Also does anyone recognise what the connector type is (Its the white
connectors) It has 5 pins. I've been trying to google for it, but as
5 pin connector is pretty vague thing to search for, I'm not having
much luck. I have the pin information in the documentation so could
end up soldering wires to the pins if need be.
Cheers,
Jas
--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> It's actually simpler than you are making this out to be. Set your
I2C
> address as they recommend, then divide this by 2 (bit shift right
one
> place) and this is the .node value. When you are sending data to
the
> device you would use cv10bit format and the .Location attribute is
the
> command, so you'd do this:
> dev.Mode = cv10bit
> dev.Node = <whatever address shifted right one bit>
> dev.Location = <command>
> dev = <data>
>
> When you are sending a command you would use this:
> dev.Mode = cv7bit
> dev = <command>
>
> That's it. If you are using an ooPIC R you don' t need to worry
about
> pull ups on the SCL line - Its already driven. The SDA line
should
> have a 4.7K pull up on it.
>
> DLC
>
> jasuk1970 wrote:
> > --- In oopic@yahoogroups.com, "rtstofer" <rstofer@> wrote:
> >
> >> --- In oopic@yahoogroups.com, "jasuk1970" <mail@> wrote:
> >>
> >>> Cheers,
> >>>
> >>> I am looking at this now. I am trying to work out what Mode it
> >>>
> >> should
> >>
> >>> be using.
> >>>
> >>> An example of the commands it is looking for to get the status
is:
> >>>
> >>> SaaaaaaadAccccccccASaaaaaaadAbbbbbbbbP
> >>>
> >>> S= start
> >>> a= address bit (7 bits + direction)
> >>> d= read or write bit
> >>> A= acknowledgement from slave
> >>> c= command bit (8 bits)
> >>> b= First byte of data (8 bits)
> >>> P= stop
> >>>
> >>> If the address is 0x50 then it would look like:
> >>>
> >>> S01010000 A 11010000 A S01010001 A {Recieve first byte of data}
> >>>
> >>> I hope it makes sense, Looking at it I am assuming it is cv7Bit.
> >>>
> >>> Or would I need to do some custom controlling to get this
working?
> >>>
> >>> Thanks for any help,
> >>>
> >>> Jas
> >>>
> >> I must be looking at the wrong datasheet because the one I am
> >>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
No comments:
Post a Comment