No love for NXP in this thread? They make a very similar peripheral called FlexIO [1] on devices like the K32.
>[FlexIO is a] Highly configurable module providing a wide range of functionality including emulation of a variety of communication protocols
It is extremely capable! I have used it to hack together an octo-SPI... which stretches the definition of the S in SPI ;)
[1] https://www.nxp.com/docs/en/supporting-information/FTF-ACC-F...