20161008 note :
I have a PCB board called 'A' where a piece of STM8L052C6 and a piece of CC1101 are put. And I have another PCB board called 'B' where a piece of STM8L051F3 and a piece of CC1101 are put.
The 'MISO' pin of STM8L052C6 in 'A' is designed the type of input(no change) when 'A' is set low power consumption, but the current increases several dozens of uA. I think maybe 'A' has some sources of disturbance and they have effect on 'MISO'. The current consumption is normal if the 'MISO' pin is designed the type of output.
On the other hand, it doesn't matter whether it is input or output to 'B'.
If your PCB board is powered by batteries, you had better use batteries to test it. Because maybe 50 Hz power-line interference will have an impact on the PCB board which is powered by 220V power supply.