infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: Dave4 xmc4104 adc bug

  1. #1
    New Member New Member SamTsang is on a distinguished road
    Join Date
    Dec 2015
    Posts
    10
    Points
    45

    Dave4 xmc4104 adc bug

    HI friend,
    I found some bugs in DAVE when you choose ADC function in XMC4104 chip.
    As the chip detail :
    ================
    Package= LQFP64
    ROM= 64 KB Flash
    RAM= 20 KB RAM
    InOut= 35 digital I/O
    ADC= 9 ADC Channels, 12-bit
    =================

    1.When you choose ADC_MEASUREMENT [4.1.12] app and try to add 9 channel ADC pin.
    the APP channel limit is 1~8.which mean use all of ADC channel is not possible.

    2.Some motor application will need ADC synchronize with in ADC0 and ADC1.
    Base on the datasheet XMC4101 can support "G0CH0 +G1CH0","G0CH3+G1CH3","G0CH6+G1CH6"
    But in fact app will allow you set two of them not three in sync. Conversion option.

    Could official friend update it in next app version.

    By the way ,have anyone try to trace the code that DAVE app initial?
    I can not find any sentence that set ADC register in the c code

    Sam Tsang

  2. #2
    Daryl Neo
    Guest
    HI Sam,

    1. In the current version, we have only enabled 8 channels. This will be taken care in the next release in Feb to support all 9 channels.
    2. In the ADC_MEASUREMENT APP, the synchronization feature is not supported.
    This sync option is supported in the ADC_MEASUREMENT_ADV APP. You can try to use this APP.

    The ADc initialization should be handled in the function, ADC_MEASUREMENT_Init. It should be available when you click on the "Generate Code" icon in the DAVE toolbar.
    Can you check if you have this function in your project?

    Regards,
    Daryl

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.