2017-03-08 01:53 AM
Hello all,
I want to use
♯
with internal RC oscillator. When I started using♯
, I prepared a communication library that works well without using the internal RC oscillator. I checked all communication using oscilloscope.Now I need to use STPM10 with internal RC oscillator. I programmed code that follow RC startup procedure. I have one board with STPM01 and two with STPM10. I tested new code using both boards with STPM10, but there is a problem with RC startup procedure.
RC startup procedure (according to the STPM10 datasheet):
After that the BANK bit and the RC bit remained set and the STPM10 did not start with measurement. Sometimes spontaneously started after several tens of seconds for no apparent reason.
When I tested my code using board with STPM01 using Internal RC oscillator, then it works fine and STPM01 measure correctly.
Questions:
What am I doing wrong with STPM10 or where the problem might be?
Thank you in advance!
Jan
#stpm10 #stpm012018-02-07 01:52 AM
I also have this question, in my case I design a custom board with STPM10 and I just place a 12KOhm in CLKIN to use the internal RC oscillator, but every time I read the registers they all zero 0xF0000000.