The green is MOSI and the purple is SCK
SPI:lpSPI5
SCK:PTD14
MOSI:PTE9
MISO:PTD13
CS:PTD17
I periodically sent a 0x5a data, see the oscilloscope image, found that the MOSI pin first pull up two bits of time before the correct data transmission, why? In order to find the problem, I removed the SPI peripheral device, and the abnormal waveform still exists (even removed the SCK/MOSI pull-up resistance), so the problem is most likely in the MCU itself.
SPI init:
Solved! Go to Solution.
I will confirm with my AE colleagues whether the tASC parameter can be changed (of course I think you can control the state of the MISO pin yourself after the transmission is completed), and I don’t think this will affect your SPI communication.
please double check your setting
MOSI:PTE9
MISO:PTD13
-------------------------------------------------------------------------------------------------------------------------
below is my test process , i don't see any problem
Comparing my pictures, it seems that your pictures and mine also have raised parts, I am not sure if this part is normal.
I will confirm with my AE colleagues whether the tASC parameter can be changed (of course I think you can control the state of the MISO pin yourself after the transmission is completed), and I don’t think this will affect your SPI communication.
Ok,thanks!