cancel
Showing results for 
Search instead for 
Did you mean: 

Couldn't find the alternative function table specified for controller.

Amal Babu
Associate III

i am using STM8L101F1.I happen to go through the datasheet and i found that the pin of the IC can be multiplexed.But i couldn't find any registers specified with the alternate functions for the pins of the controller.

the following pins have the spi functions:

PB7:MISO

PB6:MOSI

PB5:SCK

PB4:SPI_NSS

how should i go about configuring these pins for spi function.

10 REPLIES 10
Amal Babu
Associate III

hai,

thanks for the support, i could clear the issue by downloading different header files and including them in my code