2390645_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2390645_en-US

2390645_en-US

S32G274 baremetal code

I want to use a bare-metal program on the S32G274 development board, including bare-metal drivers for modules such as powering up the A53 processor, LINFlexD serial port, and Ethernet. I would like it to run successfully right out of the box. The drivers generated by S32DS only include processor power-up functionality.
I have attempted to implement the LINFlexD serial port myself (enabling pins, enabling clocks, initializing the serial interface), but I'm unclear about how to properly handle clock enablement.
I hope you can provide me with a ready-to-use bare-metal program that can be directly compiled in S32DS.

Re: S32G274 baremetal code

Hello, @Tatu_dd 

Thanks for your post.
1. NXP's software enablement strategy for S32G274A positions the A53 cores primarily for Linux BSP operation rather than bare-metal development. The S32 Design Studio 3.6.8 examples for A53 cores are intentionally limited to boot/startup code, as the intended use case involves running a full Linux distribution on these cores.

chenyin_h_0-1783303897346.png

2. For bare-metal A53 development, there are not much reference code released, there is only a demo existed, but it is not pure bare metal code on A53, but a heterogenous implementation instead

chenyin_h_1-1783304026380.png

As a result, you may have to implement or port the existing Linux driver or RTD driver according to your requirement, sorry that there is no directly formal examples/software releases provisioned by NXP.  


BR

Chenyin

Tags (1)
No ratings
Version history
Last update:
a week ago
Updated by: