Skip to content

implementing JTAG protocol using PIO state machine #9371

Discussion options

You must be logged in to vote

You should shift out the data with out(pin, 1) and control the CLK pin with sideset on the set command. The 1 in the out command outputs just une bit and shift the reguister, such that you can loop through the word. See e.g. https://github.com/robert-hh/SSD1963-TFT-Library-for-PyBoard-and-RP2040/blob/master/rp2040/tft_pio.py, function pio_data_write, where three bus control lines are set with the data.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Prakhar005
Comment options

Answer selected by robert-hh
Comment options

You must be logged in to vote
1 reply
@Prakhar005
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants