This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

change mosi line to idle low

in the middle of the code the MOSI change from idle low to high and resulting in writing 0xFF while reading over MOSI, resulting in getting wrong data. how can i change it?  

im wring address 8 bit , and reading  another 16bit) , the line should remain low but after 8 bits it goes high

blue - clk / read - ss / green - mosi / miso

  • Hi,

    It would be good to know which SDK and driver you are using. Can you clarify which line is the mosi, and which is miso? This is not entirely clear to me.

    My first suspicion is the orc (over-run character). You can change this when you load the configuration into the initialization function. If this is not it you will have to provide additional information.

    I have looked this up for SDK 15.0.0 SPIM driver. If you are using something different you can probably find the right documentation for your case in the respective configuration structure.

    Edit: Removed a redundant part to avoid confusion

Related