I see. I removed sm_config_set_sideset_pins and it I was still able to send data. I guess it was just stupid of me to wait for the data pin to go low instead of setting it low to start transmitting. Master already released the data pin as soon as the 2nd pin is set low (pin that determines who's turn it is to send data).Not necessarily, you need to configure SIDESET only if you use it.I though I only need sm_config_set_set_pins to set pindirs but it turns out I need sm_config_set_sideset_pins as well.Like this:Side-set also makes GPIO mapping much more flexible, as its mapping is independent from SET..side_set 1
out pins, 1 side 0
Thanks!
Statistics: Posted by Jerahya — Fri Nov 08, 2024 4:26 pm