Hello,
I noticed something strange, i used your core since it has the fixes for Serial.available, but i noticed something rather strange. I used CH32X035, Serial (which is attached to Serial1) is working fine for debug (i did not test receive), i also have a device on UART2 (PA2 PA3).
On Serial2, the receive works fine, no problem, but whenever i use Serial2.write, it sends the datas to Serial (Serial1) instead of Serial2. Do you have an idea of what could cause this? i digged into the core sources but there is quite a bit of wrappers layers and it is unclear where exactly is Serial2.write hooked to the actual low level USART_SendData
Hello,
I noticed something strange, i used your core since it has the fixes for Serial.available, but i noticed something rather strange. I used CH32X035, Serial (which is attached to Serial1) is working fine for debug (i did not test receive), i also have a device on UART2 (PA2 PA3).
On Serial2, the receive works fine, no problem, but whenever i use Serial2.write, it sends the datas to Serial (Serial1) instead of Serial2. Do you have an idea of what could cause this? i digged into the core sources but there is quite a bit of wrappers layers and it is unclear where exactly is Serial2.write hooked to the actual low level USART_SendData