Searching \ for '[SX] SX/B I2C slave mode' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/ubicom/lib/io/index.htm?key=i2c
Search entire site for: 'SX/B I2C slave mode'.

Exact match. Not showing close matches.
PICList Thread
'[SX] SX/B I2C slave mode'
2008\08\18@150425 by Rsadeikan/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Rsadeika wrote:

Has anybody come up with any ideas as to how to use I2C slave mode, using SX/B? I thought I remember some discussion about this, but do not recall if anybody made any progress. I checked the SX/B commands, but that only deals with master mode, would be nice if it had a slave mode.

Thanks

Ray
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\08\18@154137 by Chetn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chet wrote:

Have you tried "Use I2C slave Virtual Peripheral" on the Paralllax page http://www.parallax.com/tabid/460/Default.aspx
Chet
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276#m286284
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\08\18@155152 by Rsadeikan/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Rsadeika wrote:

What you are refering to is the asm code, correct? I do not have the knowledge to incorporate that code into an SX/B format program, that would be something that JonnyMac, the expert, may want to take on. I was thinking that since I am talking about slave mode, a VP may not be necessary, just a sub may suffice.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276#m286286
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\08\18@160355 by Chetn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chet wrote:

These are the files I have,  They came with the UART/I2C board.  I have tried it on the board as it came, but I have not experimented with it.  If the slave processor can look for it's information on the bus via some handshaking, then the I2C commands should be doable in SX/B.  There are some examples scattered around with handshaking like !ABC ....  where the !ABC is the slave device address.

Good luck.


Chet
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276#m286289
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\08\18@223008 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

I looked into creating subroutines/functions -- not a good idea; if the I2C master blows up in the middle of a command you'll get hung up.  The ISR version is really the only safe way to go.  At the moment, I have no pressing need to use the SX as an I2C slave, but if I find a need I'll take Guenther's code and package it in an SX/B demo.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276#m286394
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\08\19@070506 by bernoullin/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bernoulli wrote:

In my opinion, it really is not that hard for the I2C Slave to deal with the I2C Master blowing up in the middle of the communication.  One just simply needs to put a time limit for the Slave to see a change in the SCLK signal.  If the time limit is exceeded the Slave shall deem the transmission to be faulty and thus go about its prior business.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276#m286450
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\08\19@072947 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Good point; and probably easier to manage in an interrupt.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=286276#m286462
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2008 , 2009 only
- Today
- New search...