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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

356 次查看
paulffffff
Contributor III

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 项奖励
6 回复数

194 次查看
paulffffff
Contributor III

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 项奖励

190 次查看
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 项奖励

313 次查看
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 项奖励

309 次查看
paulffffff
Contributor III

it does not work in this way.

0 项奖励

308 次查看
paulffffff
Contributor III

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

Also, any other ADC pin to configure for readings?

0 项奖励

288 次查看
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 项奖励