Johan Euphrosine

Results 579 comments of Johan Euphrosine

@thesourcerer8 commented about getting uart to work here: https://github.com/thesourcerer8/mpw2-stdcell-tests/blob/main/uart_test/uart_test.c

but it would be nice to also have the caravel `UART` defined in the nucleo micropython `machine` environment, currently it returns: ``` uart = UART(0, 9600) # init with given...

it particular it seems that `UART8` (which correspond to https://caravel-harness.readthedocs.io/en/latest/uart.html) is not plugged into the default nucleo HAL: https://github.com/micropython/micropython/blob/05bb26010e4a466a82cfed179f8d8d0b406a78ca/ports/stm32/boards/NUCLEO_F746ZG/mpconfigboard.h#L32-L39

@abdullahyildiz yep, but the hardware pin that export the hardware bus are physically connected to the Nucleo board, so it should be possible to surface them to the micropython environment...

@abdullahyildiz I think they are electrically connected, UART is on `E7` and `F7`, respectively mapped to `mprj_io[5]` and `mprj_io[6]` which onnect to `CN11` `PF0` and `CN12` `PE11` of the nucleo...

found out that we can actually bridge one of the existing UART port defined here: https://github.com/micropython/micropython/blob/master/ports/stm32/boards/NUCLEO_F746ZG/mpconfigboard.h#L38-L39 by setting the pin `#9` to `C_DISABLE` in `gpio_config_io.py` and leaving its register untouched...

or maybe just publish the patches applied on top of https://github.com/micropython/micropython/blob/master/ports/stm32/boards/NUCLEO_F746ZG/ ?

one workaround is to run manually the bring up sequence with: ``` $ make repl >>> import io_config >>> io_config.run() ```