Hi NXP community
I'm trying to configure LPSPI0 master to transmit at 4,8MBaudrate in RUN mode, but I have some issues that I explain below. I'm working with the s32k148 EVB and S32DS IDE (Version 3.4).
First of all I try to set LPSPI0 master at 2,4MBaudrate. The applied settings can be seen in the following images.


When I check it in oscilloscope it seems that the transmitted frame contains the correct information I wanted to send, but at a lower baud rate than I set. The actual baud rate being applied is 2MBaudrate.
Then I try to set LPSPI0 at 4,8MBaudrate with LPSPI0_CLK_SEL = 24MHz (FIRCDIV2 / 2). When I check it in oscilloscope the sent frame was altered and the baud rate of the transmission was lower than that set (4MBaudrate).
I seem to be applying incorrect settings to the LPSPI source clock but I don't see what's going on. Any suggestion?
Thanks in advance.