Electronic – use mbed for STM32F103(C8T6)

mbedstm32

I have some experience with Arduino, but for one of the devices I want to use something with more power (RAM/CPU power).

I already found out that some STM32F4 or STM32F7 models really with what I need, however, since I have no experience, I bought a (very cheap) STM32F103C8TT6 evaluation board.

I don't have it yet, but I'm reading information about it. I encountered mbed which seems a very easy way to program it.

However, in the list of boards I don't see any evaluation boards, mostly NUCLEO's or Discovery versions.

Is it possible to still use it? (like by selecting the 'similar'NUCLEO F103RB' or is mbed only supporting NUCLEO's (and lots of other ARM core devices) ?

The reason is that if the evaluation board does not support mbed, it's not really a good alternative to try if I can use mbed later anyway on the actual STM32 version I want.

Best Answer

Yes, you can. You can create a new project based on NUCLEO F103RB and then replace precompiled library with sources. Then in sources you can redefine pin mappings to fit your specific board. Please note, that I haven't done this for STM MCUs, but ~2 years ago I got it working for my nRF51 custom board.

The idea is, that MCU stays the same with all the internal peripherals, you just have pins wired slightly differently. Additional changes might be required if your board has different clock source.

Related Topic