Search found 6 matches

by mpython
Fri Apr 23, 2021 6:26 am
Forum: Development of MicroPython
Topic: Nucleo F429ZI DAC/ADC
Replies: 2
Views: 1138

Re: Nucleo F429ZI DAC/ADC

Hello,
why isn't implemented PWM in the machine library for nucleo f429zi?

Thank you for your response.
by mpython
Sun Apr 04, 2021 9:22 pm
Forum: Development of MicroPython
Topic: Nucleo F429ZI DAC/ADC
Replies: 2
Views: 1138

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...
by mpython
Wed Jan 27, 2021 8:34 pm
Forum: Development of MicroPython
Topic: firmware nucleo F767ZI
Replies: 1
Views: 249

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...
by mpython
Sat Dec 05, 2020 10:59 pm
Forum: Development of MicroPython
Topic: UART (Pin Alternate Functions)
Replies: 4
Views: 1542

Re: UART (Pin Alternate Functions)

Thank you for your response.
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
by mpython
Wed Nov 18, 2020 8:18 pm
Forum: Development of MicroPython
Topic: UART (Pin Alternate Functions)
Replies: 4
Views: 1542

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?
by mpython
Sat Nov 14, 2020 7:48 pm
Forum: Development of MicroPython
Topic: UART (Pin Alternate Functions)
Replies: 4
Views: 1542

UART (Pin Alternate Functions)

I am trying to reconfigure UART to new pins on Nucleo F429ZI board. And followings code doesn't work. pd0=Pin('D0') >>> pd1=Pin('D1') >>> pd0.init(mode=machine.Pin.ALT, alt=machine.Pin.AF7_USART2) >>> pd1.init(mode=machine.Pin.ALT, alt=machine.Pin.AF7_USART2) >>> pd1.af() 7 >>> pd0.af() 7 >>> from m...