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

Add support dspi for s32z270dc2 #435

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tunguyen4585
Copy link
Contributor

@tunguyen4585 tunguyen4585 commented Sep 12, 2024

This PR to add support dspi for s32z27x devices
Tested on tests\drivers\spi\spi_loopback\drivers.spi.s32z_dspi.loopback
------ TESTSUITE SUMMARY START ------
SUITE PASS - 100.00% [spi_loopback]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.366 seconds
PASS - [spi_loopback.test_spi_loopback] duration = 0.366 seconds
------ TESTSUITE SUMMARY END ------

s32/mcux/devices/S32Z270/fsl_device_registers.h Outdated Show resolved Hide resolved
dts/nxp/s32/S32Z27-BGA594-pinctrl.h Outdated Show resolved Hide resolved
Copy link
Collaborator

@Dat-NguyenDuy Dat-NguyenDuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed with @tunguyen4585, we need to patch mcux-sdk DSPI driver, blocking this PR until the patch is merged and picked up into this PR

@tunguyen4585
Copy link
Contributor Author

As discussed with @tunguyen4585, we need to patch mcux-sdk DSPI driver, blocking this PR until the patch is merged and picked up into this PR

The PR on mcux-sdk was merged, wait it sync to github

@manuargue manuargue changed the title Add support dspi for s32z 2.0.0 Add support dspi for s32z270dc2 Sep 23, 2024
@Dat-NguyenDuy
Copy link
Collaborator

As discussed with @tunguyen4585, we need to patch mcux-sdk DSPI driver, blocking this PR until the patch is merged and picked up into this PR

You'll need to update Patch List from README as well

@tunguyen4585
Copy link
Contributor Author

As discussed with @tunguyen4585, we need to patch mcux-sdk DSPI driver, blocking this PR until the patch is merged and picked up into this PR

You'll need to update Patch List from README as well

I updated

In order to re-use mcux DSPI driver for NXP s32z27x device, we need
to disable the following features which are not available on this
platform: SR[TFUF], RSER[TFUF_RE], SLAVE mode

Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
Copy link
Member

@manuargue manuargue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

block until zephyr pr approved

support more required pins for DSPI_10

Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
"Remove S32Z2_SPI.h as it will cause duplicate SPI_Type conflicts when
supporting DSPI using the MCUX driver."

This removal won't affect SPI shim driver because this header file is
already included inside the RTD SPI driver

Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
add support dspi over mcux drivers

Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
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.

3 participants