S32K311 Peripheral Configuration Examples (ADC, UART, PWM, I2C, SPI)

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

S32K311 Peripheral Configuration Examples (ADC, UART, PWM, I2C, SPI)

1,051 Views
Kaushal9511
Contributor I

Hello NXP Team,

I am working with the S32K311 microcontroller using S32 Design Studio 3.6.1, and I prefer working at the driver level (bare-metal) instead of using MCAL.

I would like to request example projects, reference code, or documentation to help me configure the following peripherals:

ADC – Single channel configuration with polling or interrupt method

UART – Initialization with basic transmit and receive functions

PWM – Using eMIOS in OPWMB or OPWFMB mode

GPIO – Basic input/output toggling

Startup code – Bare-metal initialization (clock setup, watchdog, etc.)

I am using the S32K311 100HDFP package, and I have the RTD 2.0.0 and 2.0.3 installed.

Please let me know where I can find these examples (SDK paths or GitHub), or share any available application notes or starter projects for S32K311.

Thank you!

0 Kudos
Reply
1 Reply

1,034 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You can find some here, but I do see if they are pure bare metal, I expect they are based on RTD.

https://community.nxp.com/t5/S32K-Knowledge-Base/All-Example-S32K311-DS3-5-RTD-3-0-0/ta-p/1841267

I have some internal examples for S32K3xx which I can share, but not via community.

If you like to get those please rise a ticket at NXP.com

Best regards,

Peter

 

0 Kudos
Reply