Search found 53 matches
- Mon Mar 09, 2020 4:13 am
- Forum: General Discussion and Questions
- Topic: Date/Time management
- Replies: 21
- Views: 40753
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...
- Wed Mar 04, 2020 4:36 am
- Forum: Development of MicroPython
- Topic: Circular DMA support for SPI on STM32L4 family
- Replies: 5
- Views: 4567
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...
- Tue Mar 03, 2020 2:13 am
- Forum: Development of MicroPython
- Topic: Circular DMA support for SPI on STM32L4 family
- Replies: 5
- Views: 4567
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...
- Mon Mar 02, 2020 3:15 am
- Forum: General Discussion and Questions
- Topic: uasyncio Query
- Replies: 15
- Views: 6894
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...
- Mon Mar 02, 2020 2:00 am
- Forum: General Discussion and Questions
- Topic: Build Secrets
- Replies: 14
- Views: 7704
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 ...
- Mon Mar 02, 2020 1:22 am
- Forum: General Discussion and Questions
- Topic: Build Secrets
- Replies: 14
- Views: 7704
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__, ...
- Sun Mar 01, 2020 6:52 am
- Forum: Development of MicroPython
- Topic: Circular DMA support for SPI on STM32L4 family
- Replies: 5
- Views: 4567
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...
- Sun Mar 01, 2020 6:19 am
- Forum: Development of MicroPython
- Topic: Slowing things down
- Replies: 3
- Views: 2817
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.
- Sun Mar 01, 2020 6:02 am
- Forum: Pyboard D-series
- Topic: Questions and wish list about Pyboard D
- Replies: 38
- Views: 26522
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...
- Sat Feb 22, 2020 11:22 pm
- Forum: Development of MicroPython
- Topic: Slowing things down
- Replies: 3
- Views: 2817
Slowing things down
I am trying the slow down my STM32L452RE application. No luck with using the pyb.freq() function as it is not supported in that port currently. Is anyone aware of a fork that may have this implemented. Everything is hardcoded in system_stm32.c and it appears no user serviceable parts inside. Anyone ...