硬件使用的是S32K142的开发板;软件是S32DS开发环境下生产的SPI例程;发现的问题是:片选信号cs异常;现象是:当发送的数据SOUT中从0变为1时,片选信号cs会短时间内变成高电平?下图分别是发送数据为“FD00”,“AAAA”和“0000”时的结果,应该能够说明我反映的问题了。
Hi dc_ujs@163.com,
That looks like an issue in your HW or a measurement error.
The signal on the MOSI line somehow impacts the CS signal.
Could you use an oscilloscope instead of the the digital logic analyzer?
You can use GPIO-HD pins which have better current capabilities.
The pins that you are using now PTB14-17 are regular GPIOs.
S32K142_IO_Signal_Description_Input_Multiplexing.xlsx
S32K1xx Datasheet rev12
S32K1xx, RM rev.12
Regards,
Daniel