Hi Adam Rudziński,
Thank you for your updated information, MK20DN512ZVMD10 is the 144 MAPBGA, so you didn't fan out the SPI1_PCS0 pin, is it right? It is really a problem, as you know, to SPI slave, the PCS pin is the input pin to select the chip. and when it is the slave pin, you just can use PCS0 as the slave select input pin:

You can try to internally pull down, the internal pull up and pull down is used as the input pin.
But, in my opinion, if it is the application, it's better to modify the hardware, and fan out the PCS0 pin, and connect it to your master PCS pin physically .
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------