Good day Azad, If you have MRS IDE and the WCH example, it should work with using the HSE (external crystal) and define the correct frequency for you crystal like this: in system_ch32v00x.c: #define SYSCLK_FREQ_24MHz_HSE HSE_VALUE in ch32v00x.h: #define HSE_VALUE ((uint32_t)18432000) You can find an example with a blink led at below repo if you need, just configure the library for the WCH board if you have it, by defining EVK_CH32V003_GENERIC in ol_lib.h. github.com/jfsimon1981/orion_nunki_evk I'll try get the clocks covered in future, but that's quite some work, meanwhile this should get to work for you. Regards Jean-François
Hi it's MRS MoutRiver Studio, based on Eclipse and similar to mainstream IDEs used at NXP, STM ... I run the Linux one. It's available i believe for Mac, Windows and Linux, as makefile and MRS projects, although it's easier to just use the MRS project (which is building and flashing right away, with proper link files included to flash proper region). Regards Jean-François
Hi, good question, i'll investigate further, there seems to be works about this, like this VS's Makefile using the MRS (MounRiver studio) in the background. Link below: github.com/jfsimon1981/CH32V003_Template Regards, Jean-François
that dev. board is known as the CH32V003F4P6-EVT-R0
Thanks for the Ref. That's right indeed.
Jean-François
Hi I want to use 18.432Mhz pl. make tutorial on system Clock and System Tick Thank you
Good day Azad,
If you have MRS IDE and the WCH example, it should work with using the HSE (external crystal) and define the correct frequency for you crystal like this:
in system_ch32v00x.c:
#define SYSCLK_FREQ_24MHz_HSE HSE_VALUE
in ch32v00x.h:
#define HSE_VALUE ((uint32_t)18432000)
You can find an example with a blink led at below repo if you need, just configure the library for the WCH board if you have it, by defining EVK_CH32V003_GENERIC in ol_lib.h.
github.com/jfsimon1981/orion_nunki_evk
I'll try get the clocks covered in future, but that's quite some work, meanwhile this should get to work for you.
Regards
Jean-François
Gual programa pra editar
Hello JBSate, it is MRS MounRiver Studio:
www.mounriver.com/
Regards,
Jean-François
What is the name of IDE
Hi it's MRS MoutRiver Studio, based on Eclipse and similar to mainstream IDEs used at NXP, STM ...
I run the Linux one. It's available i believe for Mac, Windows and Linux, as makefile and MRS projects, although it's easier to just use the MRS project (which is building and flashing right away, with proper link files included to flash proper region).
Regards
Jean-François
@@chrysalide_electronics Is there a plugin for VS Code that works with this device?
Hi, good question, i'll investigate further, there seems to be works about this, like this VS's Makefile using the MRS (MounRiver studio) in the background.
Link below:
github.com/jfsimon1981/CH32V003_Template
Regards,
Jean-François