Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix device init on dstrx3 driver #59

Merged

Conversation

sasataku
Copy link
Member

@sasataku sasataku commented Sep 9, 2024

This PR fixes the device initialization on DSTRX-3 driver.

@sasataku sasataku requested a review from yashi as a code owner September 9, 2024 09:58
In the current driver initialization process, HK acquisition from
DSTRX-3 and parameter setting to DSTRX-3 are performed. However,
since the DSTRX-3 is not powered on at the time of driver
initialization, this initialization process is meaningless.

After powering on the DSTRX-3, the appropriate settings should be
performed from the application side.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
This commit adds the disabling API for HK and CMDIF.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
This commit adds an API to set the default TX parameters configured
in the Zephyr DTS.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
This commit adds an API to power on the 3V3-IO of the DSTRX-3.
Additionally, it performs HK acquisition from DSTRX-3 and sets the
default TX parameters to the DSTRX-3.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
After powering on the IO 3V3 of DSTRX-3, if the TX parameter setting
is executed without a wait, the parameters on the DSTRX-3 side are
not reflected. Therefore, a wait time will be added.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
This commit replace power-on API for DSTRX-3 IO.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
@sasataku sasataku force-pushed the fix-device-init-on-dstrx3-driver branch from da98571 to 04578a5 Compare September 9, 2024 10:00
@sasataku sasataku merged commit f59ee4d into spacecubics:main Sep 9, 2024
32 checks passed
@sasataku sasataku deleted the fix-device-init-on-dstrx3-driver branch September 9, 2024 10:04
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.

1 participant