Apr 14, 2018
10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 14, 2018
10:29 AM
Hi,
I am using a XMC1100 where I am trying to run VADC with CCU40_41 (slice 1) , but I am having problems setting up CCU40_CC41->INS= ( 8 << CCU4_CC4_INS_EV0IS_Pos) for pin 2.8 (Analog input is at this pin).
I have checked the datasheet in which out of 0-15 inputs , I have to choose one .
I am not able to decide what should the one .
Any help is appreciated .
CCU40_CC41->INS = ( 8 << CCU4_CC4_INS_EV0IS_Pos ) | // Select Event Type 'InyI' for Input Multiplexer associated with event 0
( 2 << CCU4_CC4_INS_EV0EM_Pos ); // Falling Edge Select -> Restart timer if CC41 period match
//
CCU40_CC41->CMC = ( 1 << CCU4_CC4_CMC_STRTS_Pos ); // Ext.Start Selector -> Start triggered by Event 0
Thanks in advance.
I am using a XMC1100 where I am trying to run VADC with CCU40_41 (slice 1) , but I am having problems setting up CCU40_CC41->INS= ( 8 << CCU4_CC4_INS_EV0IS_Pos) for pin 2.8 (Analog input is at this pin).
I have checked the datasheet in which out of 0-15 inputs , I have to choose one .
I am not able to decide what should the one .
Any help is appreciated .
CCU40_CC41->INS = ( 8 << CCU4_CC4_INS_EV0IS_Pos ) | // Select Event Type 'InyI' for Input Multiplexer associated with event 0
( 2 << CCU4_CC4_INS_EV0EM_Pos ); // Falling Edge Select -> Restart timer if CC41 period match
//
CCU40_CC41->CMC = ( 1 << CCU4_CC4_CMC_STRTS_Pos ); // Ext.Start Selector -> Start triggered by Event 0
Thanks in advance.
- Tags:
- IFX
2 Replies
Apr 16, 2018
05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 16, 2018
05:33 AM
Hi,
Can you please explain a bit in more detail what would you exactly try to do? You would like to connect pin 2.8 to the CCU40_41 (slice 1) unit as an external trigger event 0 and then connect CCU4 timer status signal ("st") to VADC as an gating input, or what is your exact idea? I didn´t quite understand from your initial question.
Best regards,
Deni
Can you please explain a bit in more detail what would you exactly try to do? You would like to connect pin 2.8 to the CCU40_41 (slice 1) unit as an external trigger event 0 and then connect CCU4 timer status signal ("st") to VADC as an gating input, or what is your exact idea? I didn´t quite understand from your initial question.
Best regards,
Deni
Apr 17, 2018
06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 17, 2018
06:48 AM
Yes , exactly what u mentioned i the above comment