I'm new to the KL25z, and just picked it up and started programming it with the mBed libraries. There's one bug that I noticed, that I don't know how to fix. For some reason, when I program board to enable SPI communications with CPOL = 0 and CPHA = 1, the board doesn't adjust the phase correctly. The chip I'm interfacing with is the TI ADS1292, which communicates in that mode. When I interface the chip with an Arduino, it works just fine. Any suggestions on how I can fix this problem?