mspm33 driver fixes and increase test coverage#18
Merged
padmaraghunathan90 merged 4 commits intodev_mspm33from Mar 6, 2026
Merged
mspm33 driver fixes and increase test coverage#18padmaraghunathan90 merged 4 commits intodev_mspm33from
padmaraghunathan90 merged 4 commits intodev_mspm33from
Conversation
Add NULL guards in port_get_direction, clear INENA on GPIO_DISCONNECTED, and use per-pin PINCM check for accurate input direction reporting. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Check actual TX/RX ready state instead of stale interrupt index to avoid falsely reporting pending when no data is available. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add loopback overlay with PB20 as out-gpios and PB21 as in-gpios for the 2-pin GPIO test on lp_mspm33c321a. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Enable GPIO_GET_CONFIG and GPIO_GET_DIRECTION for the get_direction test on lp_mspm33c321a. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
padmaraghunathan90
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BUS FAULT when gpio_pin_is_input()/gpio_pin_is_output() was called
check for accurate input direction reporting
of stale interrupt index