Skip to content

Conversation

@dragomirecky
Copy link

This PR is not really meant to be merged, as the edited file starts with a note that it was generated by "parse_iomux.py". I couldn't find it anywhere. I would have created just an Issue, but this repo doesn't have them enabled.

The problem: SCTIMER_IN/OUT_CLR offset fields are using only 3 bits (max value 7), but some GPIO pins require
SCTIMER offsets 8 and 9, causing truncation and incorrect pin configuration.

To fix this, one extra bit needs to be allocated for the offset fields (as in this PR). Similar change needs to be done in Zephyr's soc/nxp/rw/pinctrl_defs.h.

Feel free to tell me if there is a way I can contribute those changes properly.

The SCTIMER_IN/OUT_CLR offset fields were using only 3 bits (max value 7),
but some GPIO pins require SCTIMER offsets 8 and 9, causing truncation
and incorrect pin configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants