S32 IDE: S32k344 cannot create project to read ADC1_S10 (MR-CANHUBK344 board)

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

S32 IDE: S32k344 cannot create project to read ADC1_S10 (MR-CANHUBK344 board)

293 Views
paulffffff
Contributor I

Using as a base project:  "Adc_example_S32K344" and "MR-CANHUBK344 board" I try to read ADC1_S10 :

Potentiometer on the board, but ADC channel does not appear in configuration.

 

 

0 Kudos
6 Replies

131 Views
paulffffff
Contributor I

doz not help.. can you provide example how to read potentiometer R84 voltage on the MR-CANHUBK344 board? 

how to configure group of external ADC to read?

0 Kudos

127 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @paulffffff,

Please refer to the example from the RTD package (Adc_Sar_Bctu_Ip_example_S32K344 

Julin_AragnM_0-1712788477870.png

Which uses the software trigger to trigger ADC normal and injected conversions, also software trigger from BCTU. You can just modify the channel to ADC1_S10 or whichever channel you need in the configuration.

Best regards,
Julián

0 Kudos

250 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @paulffffff,

You can change the channel from the AdcConfigSet and under AdcHwUnit:

Julin_AragnM_1-1711996864338.png

Best regards,
Julián

 

0 Kudos

246 Views
paulffffff
Contributor I

it does not work in this way.

0 Kudos

245 Views
paulffffff
Contributor I

can you provide example how to read voltage (R84 resistor) on MR-CANHUBk344 board?

Also, any other ADC pin to configure for readings?

0 Kudos

225 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @paulffffff,

Please take a look into the following community post for guidance on MR-CANHUBK344 projects and how to use de inputs/outputs: Interacting with Digital Inputs/Outputs on MR-CANHUBK344 - NXP Community

Also, you can find which pin, adc channel and resistor is connected in the board in chapter 6.13 from the MR-CANHUBK344 Hardware User Manual

Best regards,
Julián

0 Kudos