EEVblog > EEVblog Specific

EEVblog 1524 - The 10 CENT RISC V Processor CH32V003

(1/13) > >>

EEVblog:
Checking out the new 10 cent WCH CH32V003 48MHz RISC V processor demo board and the MounRiver Eclipse IDE. Getting to blinky.
The CH32V003 is a pin-for-pin alternative to the STM8S003 at 1/3rd the price, with more features.

http://www.wch-ic.com/products/CH32V003.html
http://www.wch-ic.com/products/categories/47.html?pid=5
https://www.tindie.com/products/adz1122/ch32v003-risc-v-mcu-development-board/
http://www.mounriver.com/download

00:00 - WCH CH32V003 RISC V Processor
02:01 - CH32V003F4P6 Eval board
03:00 - Pin-for-pin replacement for the ST STM8S003
04:30 - Datasheet and reference manual
05:24 - MounRiver Eclipse IDE
07:13 - It just worked
10:58 - Open Source GNU RISC V Cross Compiler
11:38 - Download and flash a LED, maybe...
13:51 - Save the file first, dummy.
15:26 - All the includes and headers
17:37 - But can you buy them?
18:11 - How fast can the pin toggle?

LovelyA72:
WCH makes really impressive ICs. I ordered some CH32V003 and CH32V203 from AliExpress and they are quite fun to work with.

The only issue is that their openocd is not open source. You need to email them to get the source code(which I did, they replied me within an hour with buildable full source code of their modified openocd).

EEVblog:

--- Quote from: LovelyA72 on January 16, 2023, 10:18:49 pm ---The only issue is that their openocd is not open source. You need to email them to get the source code(which I did, they replied me within an hour with buildable full source code of their modified openocd).

--- End quote ---

Nice.
Are you now under some sort of license with having that code?
I'm not sure I get what's happening here. If they are willing to just give you the code, that's almost implied open source. And is it built on open source software and they aren't honoring a carry forward license of something?

vlad777:
I don't see anything about the opamp (OPA) in the datasheet.
No OPA section , nothing in the ADC section or in TIM2 section.

In a datasheet for another part there is some info in ADC section like PGA[1:0]
(ADC channel gain configuration:
00: x1;
01: x4;
10: x16;
11: x64.
Note: The input gain can be configured, for amplifying
small signals and sampling.)

thm_w:

--- Quote from: vlad777 on January 16, 2023, 11:48:10 pm ---I don't see anything about the opamp (OPA) in the datasheet.
No OPA section , nothing in the ADC section or in TIM2 section.

--- End quote ---

Its right in the link Dave posted: http://www.wch-ic.com/products/CH32V003.html
Bunch of stuff in the Datasheet as well.
But this seems like a basic datasheet, the reference manual is somewhere else, maybe you are looking at that?


--- Quote ---1.4.15 Operational amplifier/comparator (OPA)
The product has built-in 1 group of operational amplifiers/comparators, and the internal selection is linked to
the ADC and TIM2 peripherals. Its input and output can be selected by changing the configuration to select
multiple channels. It supports to amplify the external analog small signal and send it to the ADC to realize the
small signal ADC conversion. It can also complete the signal comparator function. The comparison result is
output by GPIO or directly connected to the input channel of TIMx.
--- End quote ---

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod