S32K1xx Port

40 views
Skip to first unread message

patacongo

unread,
Aug 12, 2019, 2:26:02 PM8/12/19
to NuttX
I have started a port to the NXP S32K1xx boards.  I have just committed a few header files and is little more than a feeble start.

Is there anyone else interested in these parts?  The S32K1xx are Cortex-M0+ (S32K11xx) or Cortex-M4F (boards) targeting automotive applications.  I could certainly use some help getting all of those register definition header files in place.  Header files are tedious; the rest of the board port is fun.

Johannes

unread,
Aug 12, 2019, 2:57:15 PM8/12/19
to NuttX
Are these boards supported by MCUExpresso?
If so, there should be a large Register Definition XML file which could be used for automatic generation of the headers in a Nuttx compatible style.
I don't have personal interest in these boards, but I should have some code I could use as starting point if you are interested. I'll have a look tomorrow, my laptop is in the office.
Johannes

Fabio Balzano

unread,
Aug 13, 2019, 11:06:33 AM8/13/19
to nu...@googlegroups.com
Hello Gregory! How are you?

I am interested in such part and I have 2 development kits from NXP here with me:

- S32K118EVB

https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k118-evaluation-board:S32K118EVB

I can send you one for free if you would like.

I am very interested into this port because at the time it was the main candidate MCU
for our satellite project so it could be a very good alternative MCU for our design
if fully supported.


Thank you so much.
Fabio Balzano
lead. eng. at Stara corp.

Gregory Nutt

unread,
Aug 13, 2019, 11:32:18 AM8/13/19
to nu...@googlegroups.com
Hi, Fabio,

It has been awhile since NuttX2019 and I still think about your
presentations.  I would love to get an updates someday.
> I am interested in such part and I have 2 development kits from NXP here with me:
>
> - S32K118EVB
>
> https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k118-evaluation-board:S32K118EVB

NXP is graciously sending me S32K118EVB-Q064 and S32K146EVB-Q144 (and
maybe S32K148EVB-KIT, I not quite sure about that one).

The S32K118 is a Cortex-M0+ with only 128Kb FLASH and 25Kb SRAM (plus
2KB FlexRAM).  That is not enough SRAM for many applications.  The
S32K14x's are all Cortex-M4F with significantly more memory.  The
S32K146 has 1Mb FLASH and 128Kb SRAM; the S32K148 has 2Mb FLASH and
256Kb SRAM.

I am tentatively planning on supporting both the Cortext-M0+ and
Cortex-M4F variants.

> I am very interested into this port because at the time it was the main candidate MCU
> for our satellite project so it could be a very good alternative MCU for our design
> if fully supported.

You need automotive spec'ed parts for the satellites?  Currently only
the automotive MCU supported is the TMS570.

Greg



Fabio Balzano

unread,
Aug 13, 2019, 2:05:24 PM8/13/19
to nu...@googlegroups.com
Hello Greg,

I am missing those days in Gouda, Nuttx2019 was great, good
time together with knowledgeable people, Nuttx2019 was a
great inspiration and it fully recharged my batteries, it's
not everyday stuff...

Yes, we use automotive specs in our design, automotive grade
is the highest level commercially available, strictly tested,
rock solid and more affordable than the "special" space grade.

S32K looks very promising, especially the upcoming S32S24
safety CPU, based on the ARM-R52, 4 x Arm-R52 cores in
lockstep (8 cores total), operating at 800 MHz.

At the moment we are using the IMXRT1062 chip, industrial
grade, no automotive grade is available at this time, it is
more for the consumer/industrial market. S32K family would be
a valid alternative in our design, specially MCUs with the
Cortex-M4F.

So yes, we are very interested in the S32K with the Cortex-M4F.

Maybe S32K148 could be our guy, anyway I will be more than happy
to do some testing here from my side, I can test the building or
help with the registers definition if I have an header from other
MCU to be used as reference to follow and compare.

If you are going to do some support for the S32K14X, I will order
today one of those dev. kit available that fit the nuttx development:

S32K142EVB
S32K144EVB
S32K146EVB
S32K148EVB


I also have one board with the TMS570 here, the TMS570LS31x Hercules™
dev. kit with the TMS570LS3137 MCU, ASIL D, functional safety MCU:

http://www.ti.com/product/TMS570LS3137
Dual CPUs Running in Lockstep

That MCU from TI looks amazing to me, my concern is it doesn't look
that TI is interested to follow/continue the development of the family,
few years are already passed without any news. If anybody else here
has new insights on the TMS570 family or better options than me,
please share, he will be very welcome.


Also, if anybody else here is interested and has time to work at the
S32K port, I can
send to him the dev kit:

- S32K118EVB


With this email, I am going very long as usual..
Take care Greg, thank you for the great Nuttx RT OS.



Thank you so much.

Fabio Balzano
lead. eng. at Stara corp.


> --
> You received this message because you are subscribed to the Google Groups "NuttX"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> nuttx+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nuttx/a9372bbf-54fc-1271-b0b9-bdef02798bf4%40gmail.com
> .

Gregory Nutt

unread,
Aug 13, 2019, 3:11:58 PM8/13/19
to nu...@googlegroups.com
Hi, Fabio,
> S32K looks very promising, especially the upcoming S32S24
> safety CPU, based on the ARM-R52, 4 x Arm-R52 cores in
> lockstep (8 cores total), operating at 800 MHz.
I would like to see NuttX running SMP on that part too.  That is
actually a more interesting platform.  ARMv7-R is well supported with
the TMS570 and ARTIK (in TizenRT).
> At the moment we are using the IMXRT1062 chip, industrial
> grade, no automotive grade is available at this time, it is
> more for the consumer/industrial market. S32K family would be
> a valid alternative in our design, specially MCUs with the
> Cortex-M4F.
>
> So yes, we are very interested in the S32K with the Cortex-M4F.
>
> Maybe S32K148 could be our guy, anyway I will be more than happy
> to do some testing here from my side, I can test the building or
> help with the registers definition if I have an header from other
> MCU to be used as reference to follow and compare.
I couldn't possibly perform as well as the i.MXRT 1062.  It is only a
Cortex-M4F running at 120MHz (as I recall).  If you want performance
comparable to the  i.MXRT 1062, then I think you need the S32S.
> If you are going to do some support for the S32K14X, I will order
> today one of those dev. kit available that fit the nuttx development:
>
> S32K142EVB
> S32K144EVB
> S32K146EVB
> S32K148EVB

I am building support for all of those but will only be testing on the
S32K146EVB and S32K148EVB-KIT (with RMII).

Greg


Reply all
Reply to author
Forward
0 new messages