Skip to main content
antonius
Associate III
Jan 16, 2014 10:09 PM UTC
Question

Can I generate 1kHz beep from timer ?

Posted on January 16, 2014 at 23:09

Guys,

Is there any ways for me on generating a 1 kHz beep from STM32 timer ?

Any examples ?

Thanks

#!rocketscience #!winning-rtfm
    This topic has been closed for replies.

    2 replies

    Andrew Neil
    Super User
    Jan 16, 2014 10:49 PM UTC
    Posted on January 16, 2014 at 23:49

    Have you spent any time studying the chip documentation to learn of its timer capabilities?

    Have you spent any time looking at the many examples provided with Standard Peripheral Library?

    Without those prerequisites, your chances of success are quite slim.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    waclawek.jan
    Super User
    Jan 17, 2014 7:35 AM UTC
    Posted on January 17, 2014 at 08:35

    > Is there any ways for me on generating a 1 kHz beep from STM32 timer ?

    Of course not. You need an electroacoustic transducer to accomplish that.

    JW