Successful using Ch32v003 on Breakout boards, but not Ch32v203 chips  - Page 1
Forum section: electronics / general

author: jlsilicon
author_rank: Contributor
timestamp: May 04, 2024, 02:00:41 pm
content: I have had success in mounting / using Ch32v003 chips on Tssop-to-Dip Breakout boards.Straight forward, no Xtal needed, Flashed, code ran.But, I have had pretty much zero success with the Ch32v203 chips with me mounting them on the Tssop Breakout boards..I used the -F6P6 & -F8P6 chips.Ch32v203f8p6 Pinout :https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.aliexpress.com%2Fi%2F1005005801896958.html&psig=AOvVaw15t_64zYyAZnWOtGVFsbIn&ust=1714918443225000&source=images&cd=vfe&opi=89978449&ved=0CBIQjRxqFwoTCNClrZCm9IUDFQAAAAAdAAAAABAJCh32v203f8p6 suggested board schematic :https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.cnblogs.com%2Fzxyy-%2Fp%2F16689243.html&psig=AOvVaw296XSjPBuPeeltaoA_LeMr&ust=1714917556959000&source=images&cd=vfe&opi=89978449&ved=0CBIQjRxqFwoTCLCGgNiT9IUDFQAAAAAdAAAAABAEThe WCH-E Linker connects with the MounRiverStudio, but does not see / download to the Ch32v203 chips.- Let me correct that - once in a while, the Ch32v203 pops up in the menu:Download:Config panel as MCU Type.- Two chips, I finally downloaded to, one 2003 blinked slowly a few times then stopped, I clicked reset pin: blinked twice then stopped again - nothing from the printf() Uart back.I connected Reset with 10k pullup and 0.1uf bypass cap, and the 0.1uF & 10uF caps across Vdd & Vss pins.They seem very flakey, and unreliable ...I thought maybe the internal osc mode was jittery - and adding the ext xtal might fix this , but the -F8p6 does not have ext osc pins.I tested the Debugger on my bought Ch32v203c8t6 Bluepill boards , Ch32v003F4P6 starter board, my self made breakout mounted Chh3v003f4p6 , ...- they all Link / Flash / run great.I made projects with SD card, PSRAm , mpu6050 , qmc5883, etc - successfully.But these Ch32v203F8T6 usually don't seem to work on simple reakout boards...Anybody have ideas any ... ?

author: DavidAlfa
author_rank: Super Contributor
timestamp: May 04, 2024, 02:19:22 pm
content: Suggested schematic... Show yours, and pictures of the real thing.For example, capacitors must be as close as possible, not 10cm away.Make sure the config bits are not enabling the Brown out reset.

author: jlsilicon
author_rank: Contributor
timestamp: May 04, 2024, 03:54:05 pm
content: I followed the same Debug connections as for the mounted Ch32f003f6p6 chips - that I tested as working, but Not for the Ch32v203 chips.Debugger : Ch32v203f8p6 :SWD --------> p0 PD6/SWDIO3V3 ---------> VddGnd ---------> Vss-and-SWD --------> p0 PD6/SWDIOSWC --------> p1 PD7/SWCLK3V3 ---------> p3 VddGnd ---------> p4 Vss-and-SWD --------> p0 PD6/SWDIOSWC --------> p1 PD7/SWCLK3V3 ---------> p3 VddGnd ---------> p4 VssRST ---------> p5 NRSTI tried with breadboard , and direct pinning and soldering the caps , as pictured - still no results.I had a few results (Blinked a few times then stopped , no Uart output) , out of 2 of the boards - after making 8 boards.The hanging wire in the picture is the RST - so I can touch to Gnd to reset.Another schematic Link :https://www.wch.cn/uploads/image/20231226/1703596323131395.pngWhich gaveme the correction for the Uart TX/RX = PA9/PA10.

author: jlsilicon
author_rank: Contributor
timestamp: May 04, 2024, 05:08:24 pm
content: Actually after rewiring the Uart to Tx/Rx = PA9/PA10 :- i do get garbage on the Terminal - if I click the Reset pin.Wihich shows that the Ch32v203 is booting some with a bad speed, then crashing (stops because no Led blink).

author: DavidAlfa
author_rank: Super Contributor
timestamp: May 04, 2024, 05:10:05 pm
content: Always solder the capacitors directly on the pins.Don't you see the solder bridge in pin 12?

author: jlsilicon
author_rank: Contributor
timestamp: May 04, 2024, 05:29:26 pm
content: Ok, soldering the caps fixed one chip board.Also, I had 240R instead of 1K on the LED - which kept crashing/reseting the chip - and the Uart could Not link.The 1K in series with the LED instead of 240R solved the crashing.Will try other boards.Thanks !ps: I can Flash my programs now, and they run - including reading the Uart back.But, the menu:Download:Config - still gives me a "Failed to Configure MCU" - if I click 'clear Code Protect' btn ... for any of my Breakout ch32v203 boards ...

author: DavidAlfa
author_rank: Super Contributor
timestamp: May 04, 2024, 06:48:19 pm
content: Ensure VDD supply is strong enough.Apart from the 10uF on the chip, try adding a larger 100uF on the breadboard.240R is nothing, a red led (~1.8Vf) will draw only 6mA at 3.3V.