IOsetting / stc8prog

Open Source STC8G/STC8H ISP flash tool
Apache License 2.0
61 stars 26 forks source link

Feat(firc calibration): feature request. #8

Open egan-ru opened 2 years ago

egan-ru commented 2 years ago

feature

[i]When using the download software provided by STC to download the user program, the system will automatically set the VRTRIM and IRTRIM registers according to the frequency set by the user.[/i] - stc8h datasheet, 7.4.4 Interpretation of high precision parameters in chip.

possible solution

Port the calibration routine from stcgal.

IOsetting commented 2 years ago

I once tried but didn't make much progress, a to-do task I leave for future work.