WCH PIOC documentation: Chinese PDFs to English? - Page 1
Forum section: electronics / general

author: Nominal Animal
author_rank: Super Contributor
timestamp: October 06, 2024, 08:11:23 am
content: WCH ch32x033 and ch32x035 have a dedicated protocol I/O controller that I'd like to investigate, but the documentation is in Chinese atgithub.com/openwch/ch32x035/tree/main/EVT/EXAM/PIOC/Tool_Manual/Manual/:CHRISC8B.PDF(describing the WCH-RISC8B core and instruction set architecture) andPIOC.PDF(the subsystem and its interaction with the QingKe RISC-V core). Comparing to e.g. RP2040, there are only two pins, but the instruction set is more complete.Any suggestions on how to auto-translate these from Chinese to English? It's only 8 + 10 pages.I'm tempted to just recreate the documents in HTML, translating paragraph by paragraph using Google Translate, but that definitely is the Hard Way, but I do like the result being HTML (as opposed to PDF). I haven't translated whole documents before, so I don't know what (free) tools are available for this, and what works best.

author: SiliconWizard
author_rank: Super Contributor
timestamp: October 06, 2024, 08:43:26 am
content: I tested this and it appears to work:https://www.onlinedoctranslator.com/en/translationformHad a quick look at the PIOC translated document, not enough to figure out if we can really use it as a reference manual, but it looks readable. The Index doesn't look translated, but otherwise the content is.

author: nctnico
author_rank: Super Contributor
timestamp: October 06, 2024, 05:23:51 pm
content: I second the suggestion forhttps://www.onlinedoctranslator.com/en/I have used it myself a couple of time with good succes for translating technical Chinese documents (and even donated some money)I won't say the translation is 100% perfect as I can't check with the original but the English translation was more than good enough to get me an understanding of what the document is about.

author: SiliconWizard
author_rank: Super Contributor
timestamp: October 06, 2024, 08:35:18 pm
content: Could be useful. Now... I just found out that the EN version of these docs was there:https://github.com/openwch/ch32x035/tree/main/EVT/EXAM/PIOC

author: xvr
author_rank: Frequent Contributor
timestamp: October 10, 2024, 06:21:57 pm
content: Google Translate can translate documents, including pdf. It can slightly alter visual appearance of pdf document, but in general it works good.

author: Nominal Animal
author_rank: Super Contributor
timestamp: October 10, 2024, 06:48:48 pm
content: Note that SiliconWizard inreply #3linked to the English versions of these documents, so it turns out there is no need to translate these particular ones.

author: SiliconWizard
author_rank: Super Contributor
timestamp: October 10, 2024, 08:38:33 pm
content: I have taken a quick look, and haven't done anything with it yet. I wonder if the docs are enough to, say, write your own assembler? (Which may have been one of your goals, as the assembler tool looks like it's windows-only with no source code, at least that I've seen.)Looking at the datasheet, just to get an idea of this PIOC thing, apparently it can control only up to 2 GPIOs. And they have implemented a full, yet minimal RISC core for that, as opposed to the RPi PIO, which is much simpler.

author: tszaboo
author_rank: Super Contributor
timestamp: October 10, 2024, 09:02:09 pm
content: Quote from: SiliconWizard on October 10, 2024, 08:38:33 pmProbably there for the USB-PD implementation. 2 pins sounds very useless for pretty much anything else. Maybe those blinkenlights.