zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.2k stars 6.25k forks source link

Extend NXP S32K1xx MCU support #22594

Open novalisek opened 4 years ago

novalisek commented 4 years ago

Is your feature request related to a problem? Please describe. I would like to use Zephyr with NXPs S32K144

Describe the solution you'd like Add support for S32K144 (or the whole S32K family), specially support of all 3 CAN interfaces including CAN FD

Describe alternatives you've considered There is no alternative to this automotive MCU for me now

Additional context Link to S32K https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/s32k-automotive-mcus/s32k-scalable-microcontrollers-for-automotive-general-purpose-and-and-high-reliability-industrial:S32K and it's eval board S32K144EVB - https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k144-evaluation-board:S32K144EVB

github-actions[bot] commented 4 years ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

manuargue commented 3 months ago

Base support for S32K1xx and S32K146 is already upstreamed, but not for S32K144 and its EVB board, so I'm reopening this issue.

novalisek commented 3 months ago

@manuargue would it also be possible to add support for S32K312 (there is also EVB for this S32K312EVB-Q172 and S32K344 DTS exists, so it should be possible to add DTS for S32K312 )? shall I create new issue for this?

manuargue commented 3 months ago

Let's keep just one issue to track them all.

vChavezB commented 2 months ago

I have stumbled upon these automotive MCUs for a project. I made a PR to support S32k142 in https://github.com/zephyrproject-rtos/hal_nxp/pull/382.

Although I did not add a board as I am working on a private project, the changes I added should give support for the basic peripherals and create a board such as the EVB you are talking about. See the PR for more info.

If I could get an Eval board (S32K312EVB) 😉 I could gladly add it and make a PR to zephyr upstream.

vChavezB commented 2 months ago

Update: Sorry I read incorrectly the part number. I thought you meant S32k142 instead of S32K312. Well I am not sure if there is a big difference betweek S32K1x and S32K3x.

However, I hope that the port I made in https://github.com/vChavezB/hal_nxp/tree/s32k142 serves as a reference to know what has to be added to include more S32K boards to the hal nxp repo.