No ADC16 VRef setting on MC56F84789

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

No ADC16 VRef setting on MC56F84789

Jump to solution
685 Views
marco76
Contributor I

We choose the ADC16 A/D converter in the properties of the ADC bean.

After that the setting "Volt. ref. source" disappears.

 

We use MC56F84789 and CodeWarrior v10.6 Update 2.0.0

 

Does anyone have the same problem?

Labels (1)
0 Kudos
1 Solution
544 Views
trytohelp
NXP Employee
NXP Employee

Hi Marco,

I got feedback from Processor Expert team regarding this behavior.

See below:

+++++++++++++++++++

The MC56F84789 contains two different ADC device.

The ADC12 contains independent selection of voltage reference pins as is implemented in the ADC component.

The ADC16 support just selection of alternate pair of voltage reference pins and it is not encapsulated by the ADC component now.

As a workaround, users can use the PESL macro ADC_SAR_VOLTAGE_REF to select alternate pair of pins (see the help for details).

The macro must be called after ADC component initialization code (e.g. after PE_low_level_init() in the main() function).

+++++++++++++++++++


Have a great day,
Pascal Irrle

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
545 Views
trytohelp
NXP Employee
NXP Employee

Hi Marco,

I got feedback from Processor Expert team regarding this behavior.

See below:

+++++++++++++++++++

The MC56F84789 contains two different ADC device.

The ADC12 contains independent selection of voltage reference pins as is implemented in the ADC component.

The ADC16 support just selection of alternate pair of voltage reference pins and it is not encapsulated by the ADC component now.

As a workaround, users can use the PESL macro ADC_SAR_VOLTAGE_REF to select alternate pair of pins (see the help for details).

The macro must be called after ADC component initialization code (e.g. after PE_low_level_init() in the main() function).

+++++++++++++++++++


Have a great day,
Pascal Irrle

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
544 Views
marco76
Contributor I

Hi Pascal,

Thanks!

0 Kudos
544 Views
trytohelp
NXP Employee
NXP Employee

Hi Marco,

I've reproduced the behavior on my side too.

I don't find relevant information in the doc excepted:

  • Settings supported for Freescale 56800/E 56F801x, 56F802x, 56F803x, 56F81x, 56F82x, 56F82xx and 56F83x and MCF MCF5213_12_11, MCF521xx, MCF5221x, MCF5222x, MCF5223x and MCF5225x derivatives only or only if driver supports software waiting in order to volt. reference establish.
    • Volt. ref. recovery time - This property specifies recovery time of a voltage reference after switching it on.

  • Settings supported for Freescale 56800/E 56F801x, 56F802x, 56F803x and 56F82xx and MCF MCF5213_12_11, MCF521xx, MCF5221x, MCF5222x, MCF5223x and MCF5225x derivatives only or only if ADC supports volt. ref. selection
    • Volt. ref. source - Voltage reference sources can be configured as internal or external.

I will check with Processor Expert team to have their feedback.


Have a great day,
Pascal Irrle

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos