Adc_Sar_Ip

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

Adc_Sar_Ip

1,250 Views
Micha4566465
Contributor I

Is a Adc_Sar_Ip-example available with a simple one-shot conversion on one channel?

I have S32DS3.5 and RTD S32K3XX 2.0.3.

There is no actually example for Adc for these versions.

 

0 Kudos
Reply
3 Replies

1,239 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Micha4566465 

RTD versions come with 2 examples for ADC:

Adc_Sar_Bctu_Ip_example: The purpose of this demo application is to present basic usage of the ADC_SAR and BCTU IP Driver for the S32K3xx MCU.
The example uses the software trigger to trigger ADC normal and injected conversions, also software trigger from BCTU. The used ADC channel is bandgap (~1.2V corresponding to 7864 with 15 bits resolution at 5v reference). The raw read ADC data will be compared with the provided value.

Adc_example: This application demonstrates the usage of the Adc Driver by Interrupt and DMA Transfer.
The example is divided into 3 parts:

  • Part 1: Example with SW Triggered One-Shot Conversion Mode, data conversion is updated by Interrupt.
  • Part 2: Example with BCTU controlled mode conversion by Interrupt.
  • Part 3: Example with SW Triggered One-Shot Conversion Mode, data conversion is updated by DMA.

Important: S32 RTD is delivered as an Update Site for S32 Design Studio "S32 Design Studio IDE v3.4 Update 3"

 

B.R.

VaneB

0 Kudos
Reply

1,232 Views
Micha4566465
Contributor I

Sorry, I am a newbie.

I don't have S32DS 3.4 installed.

The examples of the SW32K3_RTD_4.4_2.0.3 are incompatible with S32DS3.5 as shown in the picture:

Micha4566465_0-1678788812319.png

Could you create a simple example in S32DS3.5 for ADC for me, so that I can see how to config and use the ADC?

Thanks for your help.

B.R.

Micha

0 Kudos
Reply

1,226 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Micha4566465 

Could you help me download version 3.4 of S32DS? This will be more useful for you since most of the software developed for S32K3 is for this version of the IDE

Sorry for the inconvenience. 

 

0 Kudos
Reply