Hi Anthony,
thank you for your reply. Regarding GPIO you are right, it was our stupid mistake (incorrect understanding of DSE register). It works correctly.
Anyway we still have the problem with audio. On Kinetis K70, EXT_AUDIO_MCLK was configurable to be either input or output, which made perfectly sense. We expected that to be the same on Vybrid and designed a module SQM4-VF6 (http://www.sqm4.com/sqm4-vf6-vybrid-module) where we used PTB11 as SCI0_RX, which excludes its use as a clock source (as it is used on TWR).
Besides the fact we would not like to redesign the module, I primarily do not believe this is the only way to use SAI. Can you please suggest another way of clocking SAI without the need of externally connecting two pins of the processor? We use SGTL5000.
In MQX, I'm not sure SAI is properly configured for TWR as well, as no function from sai_int_ksai.c nor _bsp_sai_io_init() from init_gpio.c is called during MQX initialization (used twrvf65gs10_a5 BSP of MQX 4.0.1). In Linux, ALSA prints during boot there are no audio devices found.