Skip to main content
16-32micros
Associate III
May 18, 2009 2:58 PM UTC
Question

New Library Compatible with CMSIS - Comments

Posted on May 18, 2009 at 16:58

New Library Compatible with CMSIS - Comments

    This topic has been closed for replies.

    36 replies

    andreas2
    Associate II
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    I've worked around it by modifying RCC_HSEConfig to take the xtal frequency as an additional parameter and storing it in a variable with the same name as the define.

    static u32 HSE_Value;

    void RCC_HSEConfig(u32 RCC_HSE, u32 HSE_Freq) {

    ...

    HSE_Value = HSE_Freq;

    }

    stevemelnikoff9
    Associate II
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    I definitely weclome the introduction of a header with full definitions for the STM32 devices.

    However, where certain register fields consist of more than one bit, it would be better to have additional definition to aid clarity.

    1__it
    Associate
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    Quote:

    Why you guys change what worked perfect till now (Manual in pdf's) into such crap MS-based solution ?!

    I agree, PDFs are much preferred. Developing under Ubuntu, not Windows.

    Tom

    [ This message was edited by: 1 on 29-04-2009 15:47 ]

    jzarnow
    Visitor II
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    Quote:

    On 02-05-2009 at 11:48, Anonymous wrote:

    This is a security issue with chm. Right click the file and inspect the properties for a check box which I think it says that you trust the file...

    You only confirmed my opinion - I never have such a problem with any pdf file!

    So - another question :-] How to print whole Manual in one single operation, just to get a user friendly readable paper book with Contents, Index etc. ? Cause I'm a man back from a paper era...

    vasster
    Visitor II
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    Quote:

    On 15-04-2009 at 22:11, Anonymous wrote:

    Sorry to say that, but new documentation in chm format is totally useless here.

    WinXP HE SP3 with all updates + IE8 - doesn't open any position from left list in right panel (only informs ''Navigation to Web Site(? - me) was rejected'' !).

    Why you guys change what worked perfect till now (Manual in pdf's) into such crap MS-based solution ?!

    Regards

    Jacek

    [ This message was edited by: jzarnow on 15-04-2009 22:28 ]

    This is a security issue with chm. Right click the file and inspect the properties for a check box which I think it says that you trust the file...

    tkindler
    Associate II
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    Could you please release the doxygen configuration file?

    I'm trying to re-generate the documentation for my project, and get lots of warnings, e.g. ''Warning: Found unknown command `\copy''' and so on..

    jilisegiar
    Associate III
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    Did you try the provided examples with interrupt such as systick and EXTI. They are under:

    Project/Examples

    hemicuda
    Associate
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    I have some problem with new Std Library v3.0.0 and interrupts. When any interrupt is generated, the pointer comes in asm interrupt implementation (startup_stm32f10x_xd.s) and remains there, and don't jump into my interrupt handler (stm32f10x_it.c).

    It's my fault or bug in library v3.0.0 ??

    May be somebody run against this or have working example of using interrupts with new Lib v3.0.0?

    (I use IAR EW IDE 5.40 and conformable startup file from library)

    hemicuda
    Associate
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    I've found what caused the problem. The language of project was C++. If i change project setting on ''C'', interrupts starts work correctly. Next question: what about c++ projects with new Lib v3.0.0 ?

    [ This message was edited by: hemicuda on 14-05-2009 04:35 ]

    hemicuda
    Associate
    May 17, 2011 11:06 AM UTC
    Posted on May 17, 2011 at 13:06

    Yes, I tried examples of using TIM and USART - the same problem. This examples includes only source files. So I think problem covered in project settings or in library startup file.