Search found 11 matches
- Wed Oct 12, 2022 9:43 am
- Forum: Development of MicroPython
- Topic: C module
- Replies: 1
- Views: 32731
C module
Hello, I have a problem with compilation of C module to micropython for stm32 port. With include library dynruntime.h. The error is: In file included from ../../extmod/Cled/cblik.c:2: ../../py/dynruntime.h:37:2: error: #error "dynruntime.h included in non-dynamic-module build." 37 | #error "dynrunti...
- Fri Jul 29, 2022 7:47 am
- Forum: Programs, Libraries and Tools
- Topic: nucleo F767 PWM
- Replies: 4
- Views: 2038
Re: nucleo F767 PWM
Hello, the timing is µs. I am not sure about firing single pulse timers.
- Wed Jul 20, 2022 9:41 pm
- Forum: Programs, Libraries and Tools
- Topic: nucleo F767 PWM
- Replies: 4
- Views: 2038
Re: nucleo F767 PWM
Thank you for your help. I am still not sure how to implement timer offset. Do you have some example?
I didn't find help for stm library.
I didn't find help for stm library.
- Mon Jul 18, 2022 12:30 pm
- Forum: Programs, Libraries and Tools
- Topic: nucleo F767 PWM
- Replies: 4
- Views: 2038
nucleo F767 PWM
Hello,
I use Nuclo F767 with micropython.
I need to set PWM in multiple timers, unfortunately, I noticed, that two different timers aren't synchronized.
Any help? And I also need to do PWM like in the picture below. and therefore I need some offset....
Thank you for any advice.
I use Nuclo F767 with micropython.
I need to set PWM in multiple timers, unfortunately, I noticed, that two different timers aren't synchronized.
Any help? And I also need to do PWM like in the picture below. and therefore I need some offset....
Thank you for any advice.
- Mon Jul 26, 2021 8:05 pm
- Forum: Development of MicroPython
- Topic: Nucleo H743ZI2 USB connect
- Replies: 2
- Views: 2915
Nucleo H743ZI2 USB connect
Hello, I have a problem with connecting to H743ZI2 via USB after deploying the micropython firmware.
The error from thonny:
Thank you for your advice.
The error from thonny:
Thank you for your advice.
- Fri Apr 23, 2021 6:26 am
- Forum: Development of MicroPython
- Topic: Nucleo F429ZI DAC/ADC
- Replies: 2
- Views: 3497
Re: Nucleo F429ZI DAC/ADC
Hello,
why isn't implemented PWM in the machine library for nucleo f429zi?
Thank you for your response.
why isn't implemented PWM in the machine library for nucleo f429zi?
Thank you for your response.
- Sun Apr 04, 2021 9:22 pm
- Forum: Development of MicroPython
- Topic: Nucleo F429ZI DAC/ADC
- Replies: 2
- Views: 3497
Nucleo F429ZI DAC/ADC
Why isn't possible to run ADC on some pins in the yellow ring on the picture, but different pins yes? nucleo_adc_.jpg In the datasheet, it should work. Is it possible to repair it in firmware? #F3=pyb.ADC('PF3') #A3 #F5=pyb.ADC('PF5') #A4 #F10=pyb.ADC('PF10')#A5 Traceback (most recent call last): Fi...
- Wed Jan 27, 2021 8:34 pm
- Forum: Development of MicroPython
- Topic: firmware nucleo F767ZI
- Replies: 1
- Views: 1443
firmware nucleo F767ZI
Hello, I have a problem with build firmware for Nucleo F767ZI. report: CC mbedtls/mbedtls_port.c CC build-NUCLEO_F767ZI/pins_NUCLEO_F767ZI.c LINK build-NUCLEO_F767ZI/firmware.elf arm-none-eabi-ld: error: build-NUCLEO_F767ZI/firmware.elf uses VFP register arguments, /usr/lib/gcc/arm-none-eabi/4.9.3/l...
- Sat Dec 05, 2020 10:59 pm
- Forum: Development of MicroPython
- Topic: UART (Pin Alternate Functions)
- Replies: 4
- Views: 3835
Re: UART (Pin Alternate Functions)
Thank you for your response.
Now I can write to UART, but not read. Where could be the problem?
Now I can write to UART, but not read. Where could be the problem?
Code: Select all
>>> from machine import UART
>>> uart=UART(2,9600)
>>> uart.write ('444')
3
>>> response=uart.read(5)
>>> print (response)
None
- Wed Nov 18, 2020 8:18 pm
- Forum: Development of MicroPython
- Topic: UART (Pin Alternate Functions)
- Replies: 4
- Views: 3835
Re: UART (Pin Alternate Functions)
OK, I have to really call the stm32 pins.
So, when some pins don't have the alternate function, which is in the: Pin.af_list().
I can't add a new function to the pins?
So, when some pins don't have the alternate function, which is in the: Pin.af_list().
I can't add a new function to the pins?