Search found 7 matches

by fredb
Mon Dec 28, 2020 9:23 am
Forum: Programs, Libraries and Tools
Topic: Thonny v3.3.0 for Micropython
Replies: 2
Views: 2687

Re: Thonny v3.3.0 for Micropython

Thonny was updated (Version 3.3.1) with these corrections for MicroPython: Support BBC micro:bit v2 Fix problem with MicroPython programs creating lot of output very quickly Fix wrong message when saving to MP and device is busy Fix error when trying to download file from microbit Fix error on reset...
by fredb
Thu Nov 26, 2020 8:19 pm
Forum: Programs, Libraries and Tools
Topic: Thonny v3.3.0 for Micropython
Replies: 2
Views: 2687

Thonny v3.3.0 for Micropython

A few words to talk about Thonny, the free python IDE for beginners The 3.3.0 version has been released november 15 and is enabled here : https://thonny.org/ With a simple interface, Thonny allows beginners to start and regulars to develop biggest projects. Finally, it is available for Windows, Linu...
by fredb
Fri Jul 24, 2020 12:39 pm
Forum: Development of MicroPython
Topic: Getting Started with STM32
Replies: 5
Views: 3830

Re: Getting Started with STM32

Hi, Talash, To build Micropython for STM32 on Linux machine, make sure to have the right version of Ubuntu. Currently I'm working with Mint 19.3 Tricia (based on Ubuntu 18.04 Bionic Beaver) to compile Micropython sources with the tools : team-gcc-arm-embedded for STM32. I tried the latest version re...
by fredb
Wed May 27, 2020 1:32 pm
Forum: Pyboard D-series
Topic: Read a binary file with a clock
Replies: 7
Views: 6080

Re: Read a binary file with a clock

Here is the source code to read memory à 10KHz. I can't publish the entire source code because it doesn't belong to me. ''' Read Flash memory (S25FL128S) at 10KHz with external interrupt on PB1 (external clock) The memory already contains data ''' from pyb import Pin, SPI import machine #----- SPI t...
by fredb
Fri May 08, 2020 12:10 pm
Forum: Pyboard D-series
Topic: Read a binary file with a clock
Replies: 7
Views: 6080

Re: Read a bynary file with a clock

Some news : it works ! First, the 10MB binary file is read and bytes are copied to the S25FL128S flash memory by page of 512 bytes in a single command for each page. This copy takes about 16 seconds. The next step is the reading of the flash memory. It takes 76µs for each byte. There is no latency w...
by fredb
Sat May 02, 2020 2:00 pm
Forum: Pyboard D-series
Topic: Read a binary file with a clock
Replies: 7
Views: 6080

Re: Read a bynary file with a clock

Thank you for your comments. I also noticed a latency of 3.8ms every 1.2 seconds when playing my file. Finally, I will test a solution with a 16MB external flash memory accessible by SPI (S25FL128S). The size of the file I need to read is 10MB maximum, so I will read it from the sd card and copy it ...
by fredb
Fri May 01, 2020 12:20 pm
Forum: Pyboard D-series
Topic: Read a binary file with a clock
Replies: 7
Views: 6080

Read a binary file with a clock

Hi, everybody, I start in this forum with a problem, but I would have preferred to come up with a solution... I spent a whole week looking for a solution before posting the following : I have a project to read the bytes of a binary file and present them on a port (port A) of Pyboard_D_SF6W. I have t...