Skip to main content
mhdizgah
Associate III
September 15, 2014
Question

spi in stm32f103

  • September 15, 2014
  • 1 reply
  • 481 views
Posted on September 15, 2014 at 16:55

hi every body

im trying to use spi cmsis function in 

STM32F10x Standard Peripherals Library V3.4

when i use examples of its own folder my compiler keil5.11a (with stm periph lib v3.5) shows this error:

0690X00000605A0QAI.png

and i know these functions are defined in cmsis lib

whats reason of error?

can it sources from deferrences between keil cmsis & my downloaded version (v3.4 ) ?

tnks

#spi #stm32f103
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
September 15, 2014
Posted on September 15, 2014 at 18:29

This is a linker error because your project doesn't include the stm32f10x_spi.c file, add it.

STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..