AnsweredAssumed Answered

Beep in UM_0884

Question asked by charles on Nov 1, 2010
Latest reply on Nov 6, 2010 by brazov.ajeje
I am using UM_0884 to learn more about STM8S-discovery and everything wa going good until I connected the beeper as shown on page 6/23.  The problem is it doesn't work. hyperterminal.c seems to work and it calls beeper enable but nothing happens.  It does get into BEEP_Cmd but how does it send information to an io port?  It looks like it uses tim2 but time2 is never initialized.  can anyone tell me were the mistake is in the manual or code?