0
\$\begingroup\$

I have STM32L1 series I want to use CMSIS driver for my application but my device does not Support to CMSIS Driver, There is another STM Family i.e STM32F1 Series MCU which is supports to CMSIS Driver So is there any solution to use STM32F1 CMSIS driver to STM32L1 Series MCU ???

\$\endgroup\$
1
\$\begingroup\$

Use the SPL for your series MCU. CMSIS is included to it. Path: %dir%\STM32L1xx_StdPeriph_Lib_V1.3.1\Libraries\CMSIS\Device\ST\STM32L1xx and %dir%\STM32L1xx_StdPeriph_Lib_V1.3.1\Libraries\CMSIS\Include

Second option - use STM32CubeL1, but I did not use it and don't know how.

\$\endgroup\$
  • 1
    \$\begingroup\$ What is SPL ? I didn't get this could u please explain me ? \$\endgroup\$ – mulesandip3 Jul 6 '17 at 8:34
  • \$\begingroup\$ Standart Peripherials Library. You can download it from site of STMicroelectronics. my.st.com/content/my_st_com/en/products/embedded-software/… \$\endgroup\$ – Ruslan Fatkullov Jul 6 '17 at 8:46
  • \$\begingroup\$ This library contains startup files for mcu, headers and api files for any peripheral module. \$\endgroup\$ – Ruslan Fatkullov Jul 6 '17 at 8:52
  • \$\begingroup\$ If the answer helped you, mark it as a solution, please. \$\endgroup\$ – Ruslan Fatkullov Jul 6 '17 at 9:08
  • \$\begingroup\$ Ok but how to use this library means where actually copy this (STM32L1xx_StdPeriph_Lib_V1.3.1) directory ? \$\endgroup\$ – mulesandip3 Jul 6 '17 at 9:32
-1
\$\begingroup\$

Sol is the way to go.

Alternatively, use coide and it offers cmsis start up.

Short of that, you can hand code the start up files from a generic cmx project. I did that for stm32m4 chips on an old uvsion / rvmdk combo.

\$\endgroup\$
  • \$\begingroup\$ Hey ruslan is there any book or website to use this SPL step by Step ? \$\endgroup\$ – mulesandip3 Jul 7 '17 at 12:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.