Search found 73 matches
- Fri Jul 10, 2015 3:36 pm
- Forum: Development of MicroPython
- Topic: make failure with latest
- Replies: 3
- Views: 3589
make failure with latest
I just cloned the latest micropython and get the following error with make BOARD=PYBV10 MICROPY_PY_WIZNET5K=1 CC modnwwiznet5k.c In file included from ../py/objlist.h:29:0, from modnwwiznet5k.c:33: modnwwiznet5k.c:449:23: error: 'MP_QSTR_ifconfig' undeclared here (not in a function) { MP_OBJ_NEW_QST...
- Sun Jul 05, 2015 4:41 pm
- Forum: General Discussion and Questions
- Topic: ADC function precision
- Replies: 3
- Views: 4203
Re: ADC function precision
The adc.read_timed() is clocked by timer 6 and can run up to 84MHz. The accuracy of the timer is dictated by the MCU's crystal spec of 30 ppm. I measured the crystal frequency accuracy on my pyboard at 33 ppm. Ultimately, your adc_read_time() frequency shouldn't exceed the time for the ADC to collec...
- Sun Jul 05, 2015 12:14 pm
- Forum: General Discussion and Questions
- Topic: struct unpack on pyboard
- Replies: 2
- Views: 2922
struct unpack on pyboard
on my linux system with python2 and python3 the following test produces 12 integers, on pyboard only one integer ??? import struct v = b'\x19\x9c\x02\x03\xeb\x00\x00\r\xea\x00\x00\x0f\x99\x98\x08\xa8\xda\xcd\x949\x97\x95\xde\xe1\xc32\x00\x00\x00\x00\x00\x00\x00\x00\xd9C\x9cr\x1bK\x18\xe5\xd9C\x9c|\x...
- Sat Jul 04, 2015 1:39 pm
- Forum: MicroPython pyboard
- Topic: module wiznet5k
- Replies: 6
- Views: 39015
Re: module wiznet5k
well, since ifconfig() didn't seem to be working , I instead modified the defaults (ip, gateway) in the firmware's modnwwiznet5k.c, and re-flashed the firmware. Now CREGs looks OK and I could ping the wiznet module .... more tests coming. Wiz CREG: 0000: 00 c0 a8 01 01 ff ff ff 00 00 08 dc ab cd ef ...
- Fri Jul 03, 2015 9:13 pm
- Forum: MicroPython pyboard
- Topic: module wiznet5k
- Replies: 6
- Views: 39015
Re: module wiznet5k
reviving this thread, as I try some pyboard experiments with SPI and wiz820io (W5200). I just did some teensy tests with the wiznet module, and all was well. so I enabled wiznet stuff in pyboard firmware and hooked up the SPI1 jumpers and reset jumper and common ground (seperate 3.3v power for wiz82...
- Tue Jun 30, 2015 10:10 am
- Forum: General Discussion and Questions
- Topic: Pulse width in microseconds (like pulseIn in Arduino)
- Replies: 9
- Views: 24949
Re: Pulse width in microseconds (like pulseIn in Arduino)
dhylands has an example of measuring pulse width using timer callback, see
https://github.com/dhylands/upy-example ... ic_test.py
https://github.com/dhylands/upy-example ... ic_test.py
- Sun Jun 21, 2015 2:45 pm
- Forum: Drivers for External Components
- Topic: SPI flash ... TODO
- Replies: 17
- Views: 19212
SPI flash ... TODO
There are various makes and models of SPI flash. They share a "mostly" standard set of SPI commands. The ESP8266 has an onboard winbond SPI flash. I did some pyboard tests with the Adafruit 1MB 8-pin DIP chip. http://www.adafruit.com/product/1564 pyboard SPI flash tests: I developed/hacked a "classl...
- Thu Jun 04, 2015 12:14 pm
- Forum: MicroPython pyboard
- Topic: memcpy.s and DMA
- Replies: 0
- Views: 4201
memcpy.s and DMA
I did some experiments with memcpy() on pyboard (168mhz). memcpy() is used in the firmware by the interpeter and for doing various support services, e.g. memory copies for flash. memcpy() is implemented in C in lib/libc/string0.c. If the source and destination are word-aligned, then a loop copies wo...
- Mon May 25, 2015 12:59 am
- Forum: General Discussion and Questions
- Topic: SD card vs flash drive, speed?
- Replies: 11
- Views: 16781
Re: SD card vs flash drive, speed?
IO performance of SD, SPI SD, and FLASH: (pyboard) (taking advantage of the thread subject) Here are some anecdotal results comparing write/read speeds of SD, SPI SD, and FLASH on pyboard. In the following thread, http://forum.micropython.org/viewtopic.php?f=2&p=3395#p3665 it was noted that the SD ...
- Sun May 24, 2015 10:06 pm
- Forum: Programs, Libraries and Tools
- Topic: rshell - Remote Shell
- Replies: 89
- Views: 114039