Search found 12 matches

by scruss
Mon Aug 10, 2020 12:35 am
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill
Replies: 29
Views: 8555

Re: WeAct STM32F411CEU6 black pill

by scruss
Thu Jul 30, 2020 12:57 pm
Forum: General Discussion and Questions
Topic: Benchmark comparison of MicroPython boards
Replies: 12
Views: 11223

Re: Benchmark comparison of MicroPython boards

I don't think there's one in the table for the ATSAMD51, so I ran these on the Seeed Wio Terminal: Seeed Wio Terminal (120 MHz ATSAMD51P19A, MicroPython 331f7c9-dirty on 2020-06-30; Ardupy with seeed) pystone_lowmem: Pystone(1.2) time for 500 passes = 339 ms This machine benchmarks at 1474 pystones/...
by scruss
Thu Jul 30, 2020 1:23 am
Forum: Other Boards
Topic: WeAct STM32F411CUE6 systick and timers
Replies: 4
Views: 311

Re: WeAct STM32F411CUE6 systick and timers

If you're associating timers with specific pins, the contributed WeAct pinout diagram is useful:
https://github.com/WeActTC/MiniF4-STM32 ... Balint.png
by scruss
Thu Jul 23, 2020 1:57 pm
Forum: Other Boards
Topic: Wio Terminal with ATSAMD51 + Realtek RTL8720DN + 2.4 screen + etc
Replies: 2
Views: 1197

Re: Wio Terminal with ATSAMD51 + Realtek RTL8720DN + 2.4 screen + etc

Seeed Studio just sent me one of these to review. Haven't dug in great detail, but the demos work and flashing a firmware via UF2 is simple. Haven't got wifi or more clever peripherals working, but the screen is pretty sharp. It's much smaller than I expected. The 40 pin header is almost the full wi...
by scruss
Wed Jun 24, 2020 1:06 pm
Forum: Hardware Projects
Topic: BrainPad running MicroPython
Replies: 5
Views: 2179

Re: BrainPad running MicroPython

I've added temperature sensor reading, fixed one of the LDR scripts and included a much cleaner Timer-based blink: https://github.com/scruss/brainpad-micropython Not sure if I have the calibration of the mcp9701a is quite right: seems to be reading rather high: from pyb import ADC,Pin from time impo...
by scruss
Sat May 30, 2020 11:41 pm
Forum: Other Boards
Topic: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings
Replies: 8
Views: 1472

Re: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings

Ah, thanks. I got it to rewrite the flash, and it starts, but the filesystem doesn't seem too happy. Like I said before, I may have accidentally destroyed the flash. Is there a flash checker script, or do I need to write/run my own?
by scruss
Wed May 27, 2020 8:38 pm
Forum: Other Boards
Topic: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings
Replies: 8
Views: 1472

Re: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings

Thanks for the guidance. Are you saying you didn't connect up LED and USRSW in your mpconfigboard.h file? Uh … maybe ? This board only has a single blue user LED, so the colour change to indicate status isn't going to happen. I also have more than a suspicion that running a ws2812 strip off SPI1_MOS...
by scruss
Wed May 27, 2020 1:49 pm
Forum: Other Boards
Topic: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings
Replies: 8
Views: 1472

Re: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings

Hmm - that's annoying. Especially since the flash on one of my F411 boards is in such a mess that Linux doesn't even see it as a filesystem any more, and there's no way of doing the safe mode reset on it.
by scruss
Mon May 25, 2020 9:42 pm
Forum: General Discussion and Questions
Topic: Double precision and CPU slowdown.
Replies: 10
Views: 1002

Re: Double precision and CPU slowdown.

Assuming a spherical earth isn't tremendously accurate at the best of times: depending on the distances involved you could be 0.5% off the spheroidal distance. Proper spheroidal calculations are way outside what a microcontroller can do. If you're wanting to calculated arbitrary distances over the w...
by scruss
Mon May 25, 2020 2:58 pm
Forum: Other Boards
Topic: [WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings
Replies: 8
Views: 1472

[WeAct STM32F411CEU6] Avoiding “Volume was not properly unmounted” warnings

I'm really enjoying using MicroPython on these boards - thanks, mcauser, for the very clear definitions/instructions! One thing is not quite right: on resetting the board, the drive ejects without cleaning up writes. At best, I get Volume was not properly unmounted. Some data may be corrupt. Please ...