2022-01-05 07:32 PM
G071 is different from F429. When F4 is idle, MOSI is high level and MISO is low level. However, when G0 is idle, MOSI and MISO are both low level, which seem to be incompatible with my external device
2022-01-05 07:55 PM
What external device?
The level of MOSI and MISO is a non-issue when the clock is idle. Not to mention that the device (either master or slave) is only driving one of those.
2022-01-05 09:33 PM
The external device is DW1000 positioning module. F429 was used before, but now it is transplanted to G071, and there is a difference in SPI function. It is not clear whether the difference is caused by chip or program.
2022-01-06 07:03 AM
As indicated in the DW1000 datasheet, the level of MOSI only matters when there is a transition on SCK.
My guess if that your program doesn't work, and you noticed the MOSI/MISO lines are different and blamed it on that, which is nonsense. Stay objective.