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"?
BR,
zhou
Hi,
you can config it if needed within "Functional Properties" tab of the pin mux component
BR, Petr
Hi:
By the way, the "Num sets of results in buffer" is set "2" in this example.
What does this variable "Num sets of results in buffer" do? What's wrong with setting it to "1"?
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