Search found 11 matches

by irsla
Mon Nov 02, 2020 4:16 pm
Forum: Pyboard D-series
Topic: Elegant Physical Config for Pyboard D
Replies: 17
Views: 10433

Re: Elegant Physical Config for Pyboard D

Nice !

Thank you
by irsla
Mon Nov 02, 2020 1:11 pm
Forum: Pyboard D-series
Topic: Elegant Physical Config for Pyboard D
Replies: 17
Views: 10433

Re: Elegant Physical Config for Pyboard D

Hi Roberthh,

can you post a picture ?

Regards,
by irsla
Mon Nov 02, 2020 9:46 am
Forum: Pyboard D-series
Topic: Pyboard Access Point doesn't ask for password to connect
Replies: 4
Views: 4009

Re: Pyboard Access Point doesn't ask for password to connect

It's a known issue,

There's a PR open for this https://github.com/micropython/micropython/pull/5170

The patch kind of work, although it's not fully correct.

I posted the right values for the wifi chip configuration in the comments.
by irsla
Thu Sep 24, 2020 12:53 pm
Forum: Development of MicroPython
Topic: Adding Wake up Pins configuration to deepsleep for STM32 / pyboard-d
Replies: 6
Views: 4108

Re: Adding Wake up Pins configuration to deepsleep for STM32 / pyboard-d

Hi Everyone,

Although I had a github (I'm using gitlab ;)) account since Dec 2012, I've never used it. Nevertheless I think I was able to make a PR ;)

https://github.com/micropython/micropython/pull/6482
by irsla
Thu Sep 24, 2020 10:56 am
Forum: Development of MicroPython
Topic: Adding Wake up Pins configuration to deepsleep for STM32 / pyboard-d
Replies: 6
Views: 4108

Re: Support for low power modes (Pyboard 1.x and D)

I have this repo which provides low power support for the Pyboard 1.x. It has been partially adapted for the Pyboard D and I'm currently working on completing this. Pin X18 is CPU pin C13. It is available on the wbus and also on the WBUS_DIP68 adaptor (pin W26). Firmware support for low power modes...
by irsla
Thu Sep 24, 2020 10:51 am
Forum: Development of MicroPython
Topic: Adding Wake up Pins configuration to deepsleep for STM32 / pyboard-d
Replies: 6
Views: 4108

Re: Adding Wake up Pins configuration to deepsleep for STM32 / pyboard-d

I'm posting here because I don't know the next steps and I would love to discuss all this. Hi, great work! Thanks for adding this feature. The next step would be to raise a PR on https://github.com/micropython/micropython Let me know if you have any questions on the process to do that. You're welco...
by irsla
Wed Sep 23, 2020 9:47 am
Forum: Development of MicroPython
Topic: Adding Wake up Pins configuration to deepsleep for STM32 / pyboard-d
Replies: 6
Views: 4108

Adding Wake up Pins configuration to deepsleep for STM32 / pyboard-d

Hi Everyone, Following my question here https://forum.micropython.org/viewtopic.php?f=20&t=9056 I dig into the firmware code and found the missing bits. I now have a patch that allows a user to call deepsleep with the PINS parameters and successuflly tested it on a SF6W board for the X1 pins. All th...
by irsla
Wed Sep 23, 2020 9:39 am
Forum: Pyboard D-series
Topic: advice on pybd deepsleep wake up on X1
Replies: 7
Views: 5953

Re: advice on pybd deepsleep wake up on X1

Hi Everybody,

News of the day: I got it working by adding a few parameter to the deepsleep function.

I would like to share this patch with the community by having added to the main source code. I will move this discussion to the appropriate channel.

Regards,
by irsla
Tue Sep 22, 2020 3:02 pm
Forum: Pyboard D-series
Topic: advice on pybd deepsleep wake up on X1
Replies: 7
Views: 5953

Re: advice on pybd deepsleep wake up on X1

Hi Jimmo, Thanks for pointing the links, unfortunately it doesn't work this line: stm.mem32[stm.PWR + stm.PWR_CSR] |= 1 << 8 # enable WKUP pin on PA0 indeed should enable the wake up pin PA0 / X1 (PWR_CSR2_EWUP1 although it's on PWR_CSR2 and not PWR_CSR) but when entering in the deepsleep the firmwa...
by irsla
Tue Sep 22, 2020 2:19 pm
Forum: Pyboard D-series
Topic: advice on pybd deepsleep wake up on X1
Replies: 7
Views: 5953

Re: advice on pybd deepsleep wake up on X1

Continuing testing and understanding all this. The timeout value works fine. while STOP is False: print("sleeping in 3") time.sleep(3) #machine.lightsleep() machine.deepsleep(10000) #need to readTap to reset the interrupt print("tapState: " + str(Accel.readTap())) time.sleep(1) So my problem seams t...