Hi Marceli Firlej,
Do have checked the SPI bus wave on your side?
I suggest you use the GPIO to control the SPI_CS, instead of the SPI hardware CS function.
Because as I know, some external SPI slave need the special CS control flow, you need to check your TLE7242 datasheet, just make sure your SPI send out the wave meet your external SPI slave chip's demand.
I don't know what the IDE you are using now, but the KL25 SPI PE code, in the official website, there has a KL25 SPI CW PE project for your reference:
https://www.nxp.com/downloads/en/lab-test-software/KL25_SC.exe
Code folder:
kl25_sc_rev10\klxx-sc-pex\projects\spi_demo\cw
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------