to be honest I'm not sure what the chip is up to, ill let you know if I can get any more insight.
btw good job on this whole project
Search found 70 matches
- Sat Oct 17, 2015 2:23 pm
- Forum: General Discussion and Questions
- Topic: anomaly using i2c api
- Replies: 2
- Views: 3083
- Sat Oct 17, 2015 10:44 am
- Forum: General Discussion and Questions
- Topic: anomaly using i2c api
- Replies: 2
- Views: 3083
anomaly using i2c api
I think I have discovered a small anomaly with the pyb.I2c api. I have a chip on the bus (SC16IS7X i2c uart), that has a soft reset bit, and normally setting this resets the chip and thus causes an i2c fault. This is fine and is the behaviour I see on Linux etc BUT with the pyb i2c interface, I don'...
- Fri Oct 16, 2015 5:22 pm
- Forum: MicroPython pyboard
- Topic: I2C/SPI gateway for a PC
- Replies: 11
- Views: 10185
Re: I2C/SPI gateway for a PC
cool this is rpc the easy way, no xml encoding etc etc.
Thanks for the tip Ill have a browse through the code
Thanks for the tip Ill have a browse through the code
- Fri Oct 16, 2015 4:09 pm
- Forum: MicroPython pyboard
- Topic: I2C/SPI gateway for a PC
- Replies: 11
- Views: 10185
Re: I2C/SPI gateway for a PC
actually I think I can do this by just sending the raw python commands to the repl and interpreting the results, much easier than writing a protocol, and it will work on a bare bone pyb ie if the pc wants to perform a i2c read then it sends "i2c.mem_read(x,y)" then something like... l = port.readlin...
- Fri Oct 16, 2015 7:11 am
- Forum: MicroPython pyboard
- Topic: I2C/SPI gateway for a PC
- Replies: 11
- Views: 10185
- Fri Oct 16, 2015 7:01 am
- Forum: MicroPython pyboard
- Topic: I2C/SPI gateway for a PC
- Replies: 11
- Views: 10185
Re: I2C/SPI gateway for a PC
oh also it means I can write code for the pyb on the pc, and have some debug capability.
Im new to this presumably there is no debugability on the pyb
Im new to this presumably there is no debugability on the pyb
- Fri Oct 16, 2015 6:54 am
- Forum: MicroPython pyboard
- Topic: I2C/SPI gateway for a PC
- Replies: 11
- Views: 10185
Re: I2C/SPI gateway for a PC
Hi Thanks for the response, yeh just like bus pirate,
ok not sure how to steal the port from the repl tho
I tried a quick (boot.py)
but the repl still is in control. Im missing something obvious....
ok not sure how to steal the port from the repl tho
I tried a quick (boot.py)
Code: Select all
import sys
while True:
s = sys.stdin.readline().rtrim()
sys.stdout.print(s)
- Fri Oct 16, 2015 6:25 am
- Forum: MicroPython pyboard
- Topic: I2C/SPI gateway for a PC
- Replies: 11
- Views: 10185
I2C/SPI gateway for a PC
I have an idea for my first project. :shock: Basically I want to provide a uart protocol, so a pc app can send commands and the pyb can then perform the operations eg I2C SPI ADC et al. This means I can develop an app in vs2015 using the brilliant python addin during development phase. Q Has anyone ...
- Wed Oct 14, 2015 5:21 pm
- Forum: Announcements and News
- Topic: UPDATED: New users post approval
- Replies: 33
- Views: 271343
Re: New users post approval
ok I don't suppose anyone has commented on the irony of an anti spam control on a python lovers forum.
post #2
post #2
- Wed Oct 14, 2015 5:10 pm
- Forum: Announcements and News
- Topic: UPDATED: New users post approval
- Replies: 33
- Views: 271343
Re: New users post approval
I guess you guys have the same problems with the love doctor spam that we get over at GHI.
Anyway I have ordered my board and look forward to playing, but would like to say I am very impressed with the web site and the documentation so far....
The journey begins......
Anyway I have ordered my board and look forward to playing, but would like to say I am very impressed with the web site and the documentation so far....
The journey begins......