ADC project using MCAL

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

ADC project using MCAL

1,190 Views
laofu
Contributor II

HI,@NXP

I try to build a ADC project triggered by pdb using s32ds with autosar mcal,whether just the mcal module ADC is needed,should the drivers module Adc_Ip and pdb_Adc_Ip is needed? thanks

laofu_0-1678906669186.png

 

0 Kudos
7 Replies

1,155 Views
cuongnguyenphu
NXP Employee
NXP Employee

Hi,
If you added Adc in MCAL module, don't need to add PDB_Adc_Ip under Driver layer

0 Kudos

1,140 Views
laofu
Contributor II

thinks for your replying,I want the pdb trigger by Lpit ,but in mcal ADC module,i can not configure the pdb to trigger by hardware,it seems that pdb  can only triggered by software.My ultimate aim is just using mcal to configure a project that adc is triggered by pdb ,and pdb is triggered by Lpit.

 

0 Kudos

1,023 Views
cuongnguyenphu
NXP Employee
NXP Employee

Sorry for late response,
I created the example ADC trigger by LPIT in the attached file and the guidance to configure and implement for example. please look at these attachments

0 Kudos

1,006 Views
laofu
Contributor II

HI,thanks.does the example project you provided is mistake? it seems about i2c.  in addition,my RTD is 1.01and this example use RTD1.0.0, so i can not open it

0 Kudos

995 Views
cuongnguyenphu
NXP Employee
NXP Employee

Sorry, I make mistake when upload the example
I re-attached the ADC project for K1 RTD 1.0.1

0 Kudos

1,126 Views
cuongnguyenphu
NXP Employee
NXP Employee

Can you give me the information of hardware target and RTD version you're using?

0 Kudos

1,118 Views
laofu
Contributor II

Hi,

i use the s32k144,and RDT version is 1.0.1.

0 Kudos