Search found 4 matches

by mpython
Wed Jan 27, 2021 8:34 pm
Forum: Development of MicroPython
Topic: firmware nucleo F767ZI
Replies: 1
Views: 97

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: 1271

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: 1271

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: 1271

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...