PIO synchronous serial implementation - Word length issue with autopush #12014
-
Beta Was this translation helpful? Give feedback.
Answered by
rkompass
Jul 15, 2023
Replies: 1 comment 3 replies
-
It seems to me there is a confusion of PIN_ADC_READ and PIN_ADC_DIN. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
mov(x, 14)
instruction should be aset(x, 14)
.According to the docs
mov()
has no data as source.The PIO assembler is not a perfect solution. For saving code it is cast into the python syntax. It should have recognized the
mov(.., constant number)
as an error but apparently did not.