This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CMSIS Compliance Code

Does anybody use the CMSIS (Cortex Microcontroller Software Interface Standard) with Keil's RTX package?

Or for that matter, any use of CMSIS at all?

Just curious if I *need* to convert over to CMSIS compliant code, or go with the way I was doing it before CMSIS.

(Processor: STM32F103ZE)

--Cpt. Vince Foster
2nd Cannon Place
Fort Marcy Park, VA

  • No, you do not need to use CMSIS.

    "the way I was doing it before"

    And what "way" was that, precisely?

    The idea of CMSIS is to make it easier for you to switch from one Cortex controller to another - so, if you don't see that as a major benefit, then there's no real point to it for you...

  • Andy,

    I do appreciate your response. Especailly from you.

    Since the overall design is in constant flux for one of my latest projects, the question of building a generic platform for 'any' ARM/Cortex processor comes into play.

    Of course I don't want to box myself in, and after [you] told me about the new ST libraries, I have to determine if it is worth the effort to vet the new library that is CMSIS compliant and incorporate it.

    Using the CMSIS rendition of ST's library, I wrote a rather basic RTX model, and then I added a generic time-base (using TIM2), and found that the basic RTX freaks out... and dies. The methods used worked just fine using my 'old way' (precisely, the old 2.0x version of STM32F103 libraries--after I vetted them).

    I now 'get' to either vet the new libraries, and wonder if they are going to be fruitful or not. That is, IF I used the CMSIS methodology/topology. (e.g. use v2.0x or v3.0 of ST's library).

    So, I was kind of curious if anybody used it... and if they did, if they used it using the Keil RTX OS.

    I consider this issue forum rather closed at this point. I didn't see a bunch of people saying "YES!" etc. Thus, I'll determine if I use CMSIS on my own, and for my own rational... or not.

    (Yes, I was hoping for an easy answer... if I got a lot of "NO!" or "YES!" then I could make my decision a bit easier).

    Andy, thanks once again.

    --Cpt. Vince Foster
    2nd Cannon Place
    Fort Marcy Park, VA

  • Now that I have the *real* compiler/IDE, I had to change my nom de plume.

    I'm going with the CMSIS architecture, and if the RTX doesn't work with it, then I've got some [more] work to do.

    I first must vet the new ST Micro's library.

    [Sorry about the lame post, I just needed to get "Cpt.Vince" back in the system]

    --Cpt. Vince Foster
    2nd Cannon Place
    Fort Marcy Park, VA