Search found 110 matches

by shaoziyang
Fri Feb 10, 2017 4:26 am
Forum: Development of MicroPython
Topic: stm32l4 port and cmake
Replies: 9
Views: 199

Re: stm32l4 port and cmake

Thanks for that. I still have some problems with the stm32l4 port. If I use `dfu-util -a 0 -s :mass-erase:force -D firmware.dfu` then I no longer get the dir() hard fault. I can also see that on first boot the LEDs stay on for longer (presumably initialising the file system). Unfortunately though W...
by shaoziyang
Wed Feb 08, 2017 6:21 am
Forum: Development of MicroPython
Topic: stm32l4 port and cmake
Replies: 9
Views: 199

Re: stm32l4 port and cmake

Hi @shaoziyang, I just tried uploading a port to the STM32L476 discovery board that I ordered and it almost seems to work - unfortunately Windows is having a problem with the USB device (Invalid Device Desciptor, Code 43). I can't see immediately why this would have any problems while the pyboard w...
by shaoziyang
Sun Feb 05, 2017 8:54 am
Forum: Development of MicroPython
Topic: stm32l4 port and cmake
Replies: 9
Views: 199

Re: stm32l4 port and cmake

Hi all, Have just started using micropython and very keen to work on a port for the STM32Lxxx series (the low power range for ST). Any ideas about why this would be a bad idea or things to watch out for? I created a cmake build of the pyboard v11 at https://github.com/stiege/cmake_micropython ; it ...
by shaoziyang
Mon Jan 30, 2017 1:21 pm
Forum: Other Boards
Topic: SPIFLASH for STM32L476DISC Speed is very slow
Replies: 2
Views: 98

Re: SPIFLASH for STM32L476DISC Speed is very slow

2.jpg
2.jpg (19.21 KiB) Viewed 76 times


file copy speed is below 1KB/s.
by shaoziyang
Mon Jan 30, 2017 1:14 pm
Forum: Other Boards
Topic: SPIFLASH for STM32L476DISC Speed is very slow
Replies: 2
Views: 98

SPIFLASH for STM32L476DISC Speed is very slow

After enable internal spiflash in STM32L476DISC board, pybflash disk size is enlarged, but speed is became very slow.
by shaoziyang
Sat Jan 28, 2017 3:39 pm
Forum: The MicroPython pyboard
Topic: Does pyboard support soft I2C?
Replies: 1
Views: 83

Does pyboard support soft I2C?

Does pyboard may use any pin to implement soft I2C? Because hardware I2C pin can not use.
by shaoziyang
Thu Jan 19, 2017 2:07 am
Forum: Other Boards
Topic: Does pyboard support 3-wire mode SPI bus?
Replies: 2
Views: 91

Re: Does pyboard support 3-wire mode SPI bus?

MicroPython doesn't directly support this, but the reference Manual for the STM32F405 says that it is supported. So I think that you can make it work by using the stm module to read/write the registers directly to tweak the SPI mode. Here's an example of using the stm module to set the HDSEL bit in...
by shaoziyang
Wed Jan 18, 2017 4:48 pm
Forum: Other Boards
Topic: Does pyboard support 3-wire mode SPI bus?
Replies: 2
Views: 91

Does pyboard support 3-wire mode SPI bus?

Does pyboard support 3-wire mode SPI bus?

Standard SPI is 4-wire, MOSI, MISO, SCK and CS. But in some case, we use 3-wire mode SPI, does micropython support it?

3.jpg
3.jpg (25.34 KiB) Viewed 75 times
by shaoziyang
Tue Jan 17, 2017 2:59 am
Forum: Other Boards
Topic: My new PYB Nano board is coming
Replies: 21
Views: 2931

Re: My new PYB Nano board is coming

I am in Australia. ¥ 68 is around $13 AUD. One quarter the price of the official pyboard :) How much would economy overseas shipping cost? I buy a lot of parts from AliExpress, with 20-45 day free shipping. The stores must be getting bulk postage discounts. The cheapest I can economy send a parcel ...
by shaoziyang
Tue Jan 17, 2017 2:38 am
Forum: Other Boards
Topic: Porting Micropython on SensiBLE
Replies: 3
Views: 177

Re: Porting Micropython on SensiBLE

Hello Micropython Forum. I developed SensiBLE http://www.SensiEDGE.com. To all who want to develop IoT products but missing the ability to develop and produce a professional hardware. The module all include MCU+BLE+Sensors+Battery just waiting to transform to a real product. I am reaching out to wh...

Go to advanced search