To whom it may concern,
I am testing SPI Slave and I have an issue that I am not able to change the pin numbers in the peripheral configuration for SPIS0 and 1.
It works for SPIM. I can place them anywhere for SPIM, but for the SPIS0 when operating in secure part I am not able to change the value of PSEL.CLK, PSEL.MISO, PSEL.MOSI and PSEL.CSN.
Furthermore these registers have a set value after reset when the device enters main function instead of al FFs. When I connect the wires to these preset pin values the SPIS works. The problem is that the SPIS1 has CLK pin preset to 63 which is not very useful and I need 2 SPIS for the applications I am developing.
I have seen that there is an Errata on SPIS3 and SPIS4 not working but I haven't seen any issues reported on not being able to change the pin values.
Am I missing some flag, or something has to be set before I can write there? The SPIS device is not enabled when I am attempting to write the pin configuration
Any help would be highly appreciated
Best Regards
Dusan