Skip to main content
Visitor II
August 16, 2010
Question

IAR based project for STM8L and wake-up by AWU

  • August 16, 2010
  • 2 replies
  • 742 views
Posted on August 16, 2010 at 10:13

IAR based project for STM8L and wake-up by AWU

    This topic has been closed for replies.

    2 replies

    ST Employee
    May 17, 2011
    Posted on May 17, 2011 at 15:09

    Hello,

    I suggest to use STM8L10x standard peripheral library available at

    http://www.st.com/mcu/familiesdocs-120.html

     that can be adapted for IAR and including AWU peripheral.

    Regards

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:09

    Hello AlexDion,

    Am also having a similar problem.  I want to set registers of STM8L152C6 as follows and that is the syntax I am using.

    But the registers are not get assigned.

    TIM4_PSCR = 0x0A;

     TIM4_CR1 = 0x01;

     TIM4_IER = 0x01;

    When debug values are not assign to registers.

    Have you got any idea on this issue?

    Any suggestions regarding this matter is appreciated.

    Thank you.