A questions about example "adc_pal_mpc5748g"

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

A questions about example "adc_pal_mpc5748g"

662 次查看
shingo
Contributor II

Hi:
    I "New" a project from example "adc_pal_mpc5748g" using SDK PARTM v3.03.
    Here is my question: Where to config in the S32DS IDE to generate the PB4 to "Analog Pad Control : Enabled" and "Input Buffer Enable: Enabled" in the file "pin_mux.h"?

shingo_0-1617947096429.png

BR,

zhou

 

0 项奖励
回复
3 回复数

645 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can config it if needed within "Functional Properties" tab of the pin mux component

PetrS_0-1617965190690.png

 

BR, Petr

0 项奖励
回复

656 次查看
shingo
Contributor II

Hi:

 By the way, the "Num sets of results in buffer" is set "2" in this example.

shingo_0-1617950764961.png

What does this variable "Num sets of results in buffer" do? What's wrong with setting it to "1"?

0 项奖励
回复

644 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

"Num sets of results in buffer" defines how many times a number of channels defined will be stored into result buffer. Thus the length of the result buffer = numChannels * numSetsResultBuffer.
Each time a group of conversions finishes execution, a set of results for all conversions in the group will be copied by the PAL into the corresponding result buffer. The PAL considers the result buffer as circular, with the length configured via previously described.

BR, Petr

0 项奖励
回复