-
Notifications
You must be signed in to change notification settings - Fork 135
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
Add support dspi for s32z270dc2 #435
Conversation
There was a problem hiding this 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
5d6bff9
to
7d872e7
Compare
The PR on mcux-sdk was merged, wait it sync to github |
You'll need to update Patch List from README as well |
7d872e7
to
c464dd7
Compare
I updated |
c464dd7
to
6a834be
Compare
There was a problem hiding this 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
5926c99
to
8d06acb
Compare
@tunguyen4585 please rebase |
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 <[email protected]>
support more required pins for DSPI_10 Signed-off-by: Tu Nguyen Van <[email protected]>
"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 <[email protected]>
add support dspi over mcux drivers Signed-off-by: Tu Nguyen Van <[email protected]>
8d06acb
to
0758ba1
Compare
zephyr pr approved by assignee, merging |
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 ------