Search found 58 matches

by beyonlo
Thu Jun 23, 2022 11:37 pm
Forum: Pyboard D-series
Topic: CAN BUS - is the CAN.rxcallback() delayed by the GC?
Replies: 1
Views: 18232

Re: CAN BUS - is the CAN.rxcallback() delayed by the GC?

Anyone know about that?
by beyonlo
Fri Jun 10, 2022 2:26 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico Micropython overclocked twice (250MHz) works fine
Replies: 13
Views: 15033

Re: Pico Micropython overclocked twice (250MHz) works fine

After 1 year passed, is safe to run at 270Mhz? I'm running some tests with 270Mhz and I have no problem, but I do not know if something can not works. Do you know? >>> from machine import freq >>> import gc, time, array >>> freq(270_000_000) >>> freq() 270000000 >>> >>> import os >>> os.uname() (sys...
by beyonlo
Thu Jun 09, 2022 8:06 pm
Forum: Pyboard D-series
Topic: CAN BUS - is the CAN.rxcallback() delayed by the GC?
Replies: 1
Views: 18232

CAN BUS - is the CAN.rxcallback() delayed by the GC?

Hi all. I would like to use the Pyboard D-Series ( SF2W model) for realtime communication using CANBUS , and I would like to know what is the behaviour of the pyb.CAN.rxcallback() (https://docs.micropython.org/en/latest/library/pyb.CAN.html#pyb.CAN.rxcallback) when Garbage Collector ( GC ) is runnin...
by beyonlo
Fri Apr 15, 2022 9:38 pm
Forum: ESP32 boards
Topic: ESP 32 - is it possible to use W5500 ?
Replies: 8
Views: 10384

Re: ESP 32 - is it possible to use W5500 ?

Hi, I've done some test with a ESP32-WROVER-IE and an external SPI Wiznet5500 ethernet chip. After a lot of research on this forum and github, I've decided to try to modify a pure-python adafruit driver (developed for circuitpython) for this chip. Now it seems works, but maybe it need more test. I ...
by beyonlo
Fri Apr 15, 2022 9:35 pm
Forum: ESP32 boards
Topic: Does micropython ESP32 support Ethernet?
Replies: 2
Views: 1131

Re: Does micropython ESP32 support Ethernet?

I didn't find any reference on the official doc. I did find this post that uses wiznet chipset over SPI without any reference of the working solution: https://forum.micropython.org/viewtopic.php?f=18&t=11378&p=62493&hilit=ethernet#p62493 I was hoping for the native Ethernet on ESP32 but any externa...
by beyonlo
Fri Apr 15, 2022 9:18 pm
Forum: ESP32 boards
Topic: ESP32 + Wiznet 5500 or Ethernet module
Replies: 6
Views: 3730

Re: ESP32 + Wiznet 5500 or Ethernet module

Hi, I've done some test with a ESP32-WROVER-IE and an external SPI Wiznet5500 ethernet chip. After a lot of research on this forum and github, I've decided to try to modify a pure-python adafruit driver for this chip. Now it seems works. Please, could you: 1. Share the source code Wiznet5500 driver...
by beyonlo
Wed Apr 13, 2022 9:22 pm
Forum: ESP32 boards
Topic: LAN8720
Replies: 7
Views: 7069

Re: LAN8720

Will the SSL works on the socket over ethernet LAN8720 like as SSL works on the socket over the WiFi?
by beyonlo
Thu Apr 07, 2022 11:42 pm
Forum: Raspberry Pi microcontroller boards
Topic: RP2040 PIO Pin change to HIGH do not works
Replies: 19
Views: 6842

Re: RP2040 PIO Pin change to HIGH do not works

This is an area I haven't tested on the RP2, however the fact that you can allocate in a timer ISR implies that the RP2 timer IRQ is soft. Your ISR code would definitely fail on a Pyboard's hardware timer. The docs for RP2 indicate that timers are soft. Pin IRQ's on RP2 may be hard or soft. Hi @pyt...
by beyonlo
Tue Apr 05, 2022 6:31 pm
Forum: Raspberry Pi microcontroller boards
Topic: RP2040 PIO Pin change to HIGH do not works
Replies: 19
Views: 6842

Re: RP2040 PIO Pin change to HIGH do not works

This is an area I haven't tested on the RP2, however the fact that you can allocate in a timer ISR implies that the RP2 timer IRQ is soft. Your ISR code would definitely fail on a Pyboard's hardware timer. The docs for RP2 indicate that timers are soft. Pin IRQ's on RP2 may be hard or soft. Hi @pyt...
by beyonlo
Mon Apr 04, 2022 1:19 pm
Forum: Raspberry Pi microcontroller boards
Topic: RP2040 PIO Pin change to HIGH do not works
Replies: 19
Views: 6842

Re: RP2040 PIO Pin change to HIGH do not works

A hard IRQ will interrupt a GC. Once the Python ISR has completed, the GC will resume from the point where it was interrupted. The ISR cannot allocate and any attempt to do so will raise an exception. Understood! Thank you very much @pythoncoder for your help. I will add a "test.append('ok')" insid...