Hello,
I am working on a project where I have some sensors that connect via i2c using pins P4 for SCL and P5 for SDA. But I also need a UART bus line to connect to another microcontroller, and wanted to use the pins P0 and P1 for that, since I am not planning on using SPI because the protocol does not have DMA. I started looking at the machine.UART documentation [link] (class UART – duplex serial communication bus — MicroPython 1.22 documentation) and saw that function UART.init() has some keyword-only arguments that supposedly lets you define the TX and RX pins. I tried this but did work for me. I also started digging into the firmware and pin mapping to micropython but wanted to know if anyone else has done this before and could point me to the correct direction.
Thank you !
-Tomas