Search found 44 matches

by RWLTOK
Wed Mar 18, 2020 4:42 pm
Forum: Development of MicroPython
Topic: Circular DMA support for SPI on STM32L4 family
Replies: 5
Views: 796

Re: Circular DMA support for SPI on STM32L4 family

@jimmo, I have fully implemented my proposal and tested both on the PyBoardv1.1 and the STM32L452RE_P NUCLEO board. As the code is portable across the families, it should work on most STM32 board. It works well. All the code is in my fork. I am having trouble with foreground processing of the data w...
by RWLTOK
Mon Mar 09, 2020 4:13 am
Forum: General Discussion and Questions
Topic: Date/Time management
Replies: 20
Views: 11570

Re: Date/Time management

I tried the example: import machine rtc = machine.RTC() rtc.init((2020, 3, 8, 23, 51, 0, 0, 0)) which results with: Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: function takes 1 positional arguments but 2 were given See http://docs.micropython.org/en/latest/esp82...
by RWLTOK
Wed Mar 04, 2020 4:36 am
Forum: Development of MicroPython
Topic: Circular DMA support for SPI on STM32L4 family
Replies: 5
Views: 796

Re: Circular DMA support for SPI on STM32L4 family

@jimmo, I added PR proposal comments for SPI dma modes #5721 ( https://github.com/micropython/micropython/pull/5721 ) Thanks for prompting me. Rich PS: my github handle is rlourette. I should change my handle on this forum to match, but I don't know if I can do that. Thanks for the reply, jimmo. Oka...
by RWLTOK
Tue Mar 03, 2020 2:13 am
Forum: Development of MicroPython
Topic: Circular DMA support for SPI on STM32L4 family
Replies: 5
Views: 796

Re: Circular DMA support for SPI on STM32L4 family

Thanks for the reply, jimmo. Okay on the machine.SPI. If you happen to have any thoughts on: I am not sure what to do with send , recv , send_recv . Should these be modified to take a parameter, which specifies whether the function returns immediately after the transfer is started? Otherwise, the de...
by RWLTOK
Mon Mar 02, 2020 3:15 am
Forum: General Discussion and Questions
Topic: uasyncio Query
Replies: 15
Views: 643

Re: uasyncio Query

How imminent is imminent? I love the module and am looking forward to the improvements. Rich ... Do you know if your changes will be pulled into the main code? They will not, because an entirely new version of uasyncio is imminent. This fixes the bugs addressed in my fork. I'm hoping it will also of...
by RWLTOK
Mon Mar 02, 2020 2:00 am
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 14
Views: 714

Re: Build Secrets

Thanks jimmo, It does make sense. Rich Instead of getting a module named uasyncio, I got modules called '__init__, asyn, core, queues, and synchro'. These are the python files in the directory '../../../../../Micropython-Library-Development/lib/uasyncio' The module unittest appears fine. How do you ...
by RWLTOK
Mon Mar 02, 2020 1:22 am
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 14
Views: 714

Re: Build Secrets - Frozen Manifest

Ok. What am I doing wrong? I have these two lines in my frozen manifest file: freeze('../../../../../Micropython-Library-Development/lib/uasyncio') freeze('../../../../../Micropython-Library-Development/lib/','unittest.py') Instead of getting a module named uasyncio, I got modules called '__init__, ...
by RWLTOK
Sun Mar 01, 2020 6:52 am
Forum: Development of MicroPython
Topic: Circular DMA support for SPI on STM32L4 family
Replies: 5
Views: 796

Circular DMA support for SPI on STM32L4 family

I would like to propose changes to the SPI.init() pyb module signature in order to add circular DMA functionality to the SPI module. The STM32 family is quite broad. I am working with the STM32L452RE specifically, but what I am discussing should apply to the STM32L4 family as the DMA controller is c...
by RWLTOK
Sun Mar 01, 2020 6:19 am
Forum: Development of MicroPython
Topic: Slowing things down
Replies: 3
Views: 290

Re: Slowing things down

Thanks for the responses. I have played with the PLLs to slow things down. The goal is to save as much power as possible. I would like to run the MSI clock at 2MHz. In this low power mode, there will be no USB. I am not looking forward to debugging in this mode.
by RWLTOK
Sun Mar 01, 2020 6:02 am
Forum: Pyboard D-series
Topic: Questions and wish list about Pyboard D
Replies: 38
Views: 5329

Re: Questions and wish list about Pyboard D

I am actually in the wrong thread as I am working with the STM32L4 series and they do not have the double buffer mode. Only the circular is supported. This is a small battery powered application. I would love to use the power of the Pyboard D. Thanks Bryan we have never met. I am trying to implement...