2009-10-07 06:01 PM
About STM8 Minikit
2011-05-17 06:04 AM
When I replace the 8MHz crystal on the STM8 Minikit
with the 24MHz one, it does not work. But with the 20MHz one, it works. Can anyone tell me why?2011-05-17 06:04 AM
Hi,
To make the crystal 24MHz working on the STM8 Minikit you can configure the wait state option before running your application. Regards mozra2011-05-17 06:04 AM
Hi,
''Wait state'' is an option byte (OPT7): have a look here (page 47): http://www.st.com/stonline/products/literature/ds/14733.pdf Coluber2011-05-17 06:04 AM
Oh! It works now.
Thanks a lot.2011-05-17 06:04 AM
Hi.
I'm using STM8S207K6, it's ok with 16MHz crystal or lower. But with 20MHz crystal, it works only when i set the prescale = 2; (CPU clock = 20MHz/2 = 10MHz). So what should i do to make it work with 20MHz CPU-clock? How can i configure the wait stage?2011-05-17 06:04 AM
Oh thanks for your attention ^^
Follow your link, using STVP, i just simple configure the wait stage to ''1 wait stage'' in the option byte tab, and it runs at 20MHz clock ^^ Many thanks ^^