@kristiyan-peychev-flolive , Could you please explain in detail what exactly was the problem and what exactly is the solution. I tried to understand the applied changes. Why did you merge the lists for the SPIs and the PORTs? I will add more comments to the code.