Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © Infineon Technologies AG All rights reserved.

Similar presentations


Presentation on theme: "Copyright © Infineon Technologies AG All rights reserved."— Presentation transcript:

1 Copyright © Infineon Technologies AG 2015. All rights reserved.
Hands-on with DAVEv4 XMC™ HoT with DAVE™v4 May 2016 Alberto Squarcina IFI SMD EMEA FAE Alessandro Manfrè IFI SMD EMEA FAE set date Copyright © Infineon Technologies AG All rights reserved.

2 Copyright © Infineon Technologies AG 2016. All rights reserved.
Goal Configure ADC in Fast Compare Mode Use Boundary Flag to modulate PWM output Use ERU to routing hardware signal set date Copyright © Infineon Technologies AG All rights reserved.

3 Agenda 1 Blink a LED with PWM_CCU4 APP (10Hz @ P0.0) 2
Hands-on with DAVEv4 1 Blink a LED with PWM_CCU4 APP P0.0) 2 Usage of ADC in Fast Compare Mode 3 ERU: how to route a signal set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

4 Agenda 1 Blink a LED with PWM_CCU4 APP (10Hz @ P0.0) 2
Hands-on with DAVEv4 1 Blink a LED with PWM_CCU4 APP P0.0) 2 Usage of ADC in Fast Compare Mode 3 ERU: how to route a signal set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

5 Required XMC kit Hands-on with DAVEv4 In this tutorial is used the XMC 1200 Boot Kit equipped with an XMC1200-T038x0200 and Segger J-Link on-board debugger (OBD) set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

6 P0.0 PWM to Blink a LED Creation of a PWM signal that control a LED
Hands-on with DAVEv4 Creation of a PWM signal that control a LED PWM 10Hz duty-cycle 50% PWM - CCU4 - P0.0 set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

7 Starting DAVE™ for the first time
Hands-on with DAVEv4 Start DAVE Enter path to workspace folder Please chose a new workspace folder, not an existing workspace folder form an earlier DAVE™ version set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

8 DAVE™ CE Workspace Hands-on with DAVEv4 Menu and shortcuts
Perspectives Project explorer App configuration and source code editor App Dependency Tree App Dependency and Connectivity set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

9 Tool Panel Report (Resource Overview) Manual Pin Allocator
Hands-on with DAVEv4 Report (Resource Overview) Manual Pin Allocator Build Active Project Global Interrupt Rebuild Active Project Generate Code BMI Get Set Pin Mapping Perspective Add New App Start Debugger set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

10 How to create a DAVETM CE Project (1/2)
Hands-on with DAVEv4 Create DAVETM Code Engine (CE) Project Go to File → New → DAVE Project Select DAVE CE Project Type a Project Name Click Next set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

11 How to create a DAVETM CE Project (2/2)
Hands-on with DAVEv4 More optimization options available under Project Properties Select the appropriate microcontroller In this case XMC1200-T038x0200 Click Finish set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

12 Add DAVETM APP from Code Repository
Hands-on with DAVEv4 Add DAVETM APP to project Click in Tool Panel, or DAVE → APP New APP Type “PWM” in the search filter field, and double-click PWM_CCU4 APP set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

13 More Project Views Hands-on with DAVEv4 All APPs included in the Project are displayed in different views: The number behind “_” identifies the instance of an APP set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

14 DAVE APPs Editor View Either
Hands-on with DAVEv4 Either Right-click APP name in the App Dependency Tree view Select Configure App Instance Or Double-click APP name in the App Dependency view set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

15 PWM_CCU4 APP Configuration
Hands-on with DAVEv4 Configure PWM_CCU4 APP via graphical user interface editor Set PWM resolution to nsec Set PWM Frequency to 10 Hz Set PWM Counting mode equals to Edge Aligned Check “Start Timer After Initialization” set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

16 Rename the Instance Label of the PWM_CCU4 APP
Hands-on with DAVEv4 Right click on the PWM APP Select Rename Instance Label… Type in: PWM_10Hz Now “PWM_10Hz” can be used as handler in the APIs of the PWM APP to reference this instance set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

17 PWM_CCU4 APP Configuration
Hands-on with DAVEv4 Configure PWM_CCU4 via graphical user interface editor On “Pin Settings” tab Set “Output Enable” Check “Push Pull” mode set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

18 Pin Mapping for PWM_CCU4 App (1/2)
Hands-on with DAVEv4 Assign signal to pin with graphical pin mapping view Click to open Pin Mapping Perspective Under Virtual Pin List, select PWM Output Pin Green pin: All possible pins for selected signal Blue pin: User assigned pin set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

19 Pin Mapping for PWM_CCU4 App (2/2)
Hands-on with DAVEv4 To assign pin: Right-click on a green pin → Assign To unassign pin: Right-click on a blue pin → Unassign Assign PWM Output Pin to User LED1 at P0.0, #17 Right-click on pin 17 → Assign In case you use a different board / device please select a pin that is connected to a LED set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

20 Hint: Check Correct Resource Mapping
Hands-on with DAVEv4 Check resource mapping Click to open Reports in DAVE CE perspective set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

21 Generate Code and Compile Code
Hands-on with DAVEv4 One touch code generation Click in the tool panel Generated code can be found under C/C++ Projects window, DAVE  Generated Start Compiler tools to build the project set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

22 Check Compiler Results
Hands-on with DAVEv4 Ensure that Compiler finished building in Console window set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

23 The Project Folder Folder which is used exclusively by DAVETM
Hands-on with DAVEv4 Folder which is used exclusively by DAVETM Generated code goes in here App Code Templates, Manifest Compiler output files CMSIS, Low Level Drivers Linker Script file set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

24 Flash and Debug (1/3) Hands-on with DAVEv4 Ensure the Debugger of the XMC 1300 BootKit is connected to your PC via USB Micro USB XMC1200 Microcontroller Debugger set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

25 Flash and Debug (2/3) Start Debug Session Click in the tool panel
Hands-on with DAVEv4 Start Debug Session Click in the tool panel Create a new Debug Configuration Double-click “GDB SEGGER J-Link Debugging” Segger J-link Driver software 4.96h or above needs to be installed set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

26 Flash and Debug (3/3) Click “Debug”
Hands-on with DAVEv4 Click “Debug” The flashing process is started and DAVE automatically switches to Debug Perspective Hint: To switch to Project Workspace Perspective, click DAVE CE at upper right corner of window set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

27 The Debug Perspective (1/4) Debug Workspace
Hands-on with DAVEv4 Debugger actions Inspection controls Breakpoint automatically set in main() Device memory set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

28 The Debug Perspective (2/4) Debug Window
Hands-on with DAVEv4 Start Program Stop Debug Session Debug Session information set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

29 The Debug Perspective (3/4) Start Program
Hands-on with DAVEv4 Click on the Resume button to start code execution User LED1 (P0.0) on XMC1200 BootKit board should be blinking set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

30 The Debug Perspective (4/4) End Debug Session
Hands-on with DAVEv4 Always end a debug session by clicking the Terminate Button set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

31 Agenda 1 Blink a LED with PWM_CCU4 APP (10Hz @ P0.0) 2
Hands-on with DAVEv4 1 Blink a LED with PWM_CCU4 APP P0.0) 2 Usage of ADC in Fast Compare Mode 3 ERU: how to route a signal set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

32 Usage of ADC: Fast Compare Mode
Hands-on with DAVEv4 Configuration of an ADC in Fast Compare Mode Fast comparison of an analog voltage with a threshold Blink a 2nd LED via ISR HW signal from ADC (Event Channel) to NVIC via ISR SW part to enable toggling pin (P0.6) P2.5 ADC Fast Compare ISR - NVIC Toggle Pin via SW P0.6 Event Channel HW signal SW signal set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

33 Usage of ADC: Fast Compare Mode
Hands-on with DAVEv4 Configuration of ADC in Fast Compare Mode Fast comparison of an analog voltage with a threshold 10 bit Resolution set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

34 Usage of ADC: Fast Compare Mode
Hands-on with DAVEv4 Configuration of an ADC in Fast Compare Mode Fast comparison of an analog voltage with a threshold P2.5 ADC Fast Compare set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

35 Usage of ADC in Fast Compare Mode (1/6)
Hands-on with DAVEv4 Add DAVETM APP to project Click in Tool Panel, or DAVE → APP New APP Type “ADC” in the search filter field, and double-click ADC_MEASUREMENT_ADV APP set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

36 Usage of ADC in Fast Compare Mode (2/6)
Hands-on with DAVEv4 Configure ADC_MEASUREMENT_ADV via graphical user interface editor On “Overview” tab Check “Start after initialization” Check if “ADC_SCAN_APP” is selected set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

37 Usage of ADC in Fast Compare Mode (3/6)
Hands-on with DAVEv4 Configure ADC_MEASUREMENT_ADV via graphical user interface editor On “General Settings” tab Set 10 bit Fast Conversion Check “Enable continuous conversion” set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

38 Usage of ADC in Fast Compare Mode (4/6)
Hands-on with DAVEv4 Configure ADC_MEASUREMENT_ADV via graphical user interface editor On “Channel Configuration” tab Type a name, e.g. ”ADC_input” for the Channel Name Set value 1:1 for the gain of ADC set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

39 Usage of ADC in Fast Compare Mode (5/6)
Hands-on with DAVEv4 Configure ADC_MEASUREMENT_ADV via graphical user interface editor On “Boundary Settings” tab Select ”ADC_input” Set “If Result Above Comp. Value” as Channel event set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

40 Usage of ADC in Fast Compare Mode (6/6)
Hands-on with DAVEv4 Assign signal to pin with graphical pin mapping view Click to open Pin Mapping Perspective Under Virtual Pin List, select PWM Output Pin Green pin: All possible pins for selected signal Blue pin: User assigned pin Assign ADC Input Pin at P2.5, #2 Right-click on pin 2 → Assign set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

41 Creating an Interrupt Service Routine (1/3)
Hands-on with DAVEv4 Add DAVETM APP to project Click in Tool Panel, or DAVE → APP New APP Type “INTERRUPT” in the search filter field, and double-click INTERRUPT APP set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

42 Creating an Interrupt Service Routine (2/3)
The interrupt is set with this configuration: Check “Enable interrupt at initialization“ Type a name for the Interrupt handler* *: note that this is the C function name used in the main code set date Copyright © Infineon Technologies AG All rights reserved.

43 Creating an Interrupt Service Routine (3/3)
Go to DAVE → HW Signal Connections Select “ADC_MEASUREMENT_ADV_0” on Drop-Down menu Use “event_ch_ADC_input” for route signal to Interrupt set date Copyright © Infineon Technologies AG All rights reserved.

44 Add DAVETM APP from Code Repository
Hands-on with DAVEv4 Add DAVETM APP to project Click in Tool Panel, or DAVE → APP New APP Type “IO” in the search filter field, and double-click DiGITAL_IO set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

45 Configure the DIGITAL_IO APP
Pin direction: Input/Output Pin: P0.6 Press: SAVE  Close set date Copyright © Infineon Technologies AG All rights reserved.

46 Generate Code One touch code generation Click in the tool panel
Hands-on with DAVEv4 One touch code generation Click in the tool panel Generated code can be found under C/C++ Projects window, DAVE  Generated set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

47 Open APP Documentation
To open APP Documentation: Press “?” in bottom right corner Or Press F3 set date Copyright © Infineon Technologies AG All rights reserved.

48 Copyright © Infineon Technologies AG 2016. All rights reserved.
Copy&Paste API Insert in Main.c Toggle function inside Interrupt Service Routine: Short cut: type “DIGI” then press CTRL+SPACE set date Copyright © Infineon Technologies AG All rights reserved.

49 Select Boundary Group via APIs into main.c
Modify the existing main.c as follow: ADC_MEASUREMENT_ADV_SelectBoundary(&ADC_MEASUREMENT_ADV_0_ADC_input_handl e, XMC_VADC_BOUNDARY_SELECT_LOWER_BOUND, XMC_VADC_CHANNEL_BOUNDARY_GROUP_BOUND0); ADC_MEASUREMENT_ADV_SelectBoundary(&ADC_MEASUREMENT_ADV_0_ADC_input_handl e, XMC_VADC_BOUNDARY_SELECT_UPPER_BOUND, XMC_VADC_CHANNEL_BOUNDARY_GROUP_BOUND1); set date Copyright © Infineon Technologies AG All rights reserved.

50 Set Boundaries via APIs into main.c
Modify the existing main.c as follow: ADC_MEASUREMENT_ADV_SetBoundaryUpper(&ADC_MEASUREMENT_ADV_0_ADC_input_h andle, 1000); ADC_MEASUREMENT_ADV_SetBoundaryLower(&ADC_MEASUREMENT_ADV_0_ADC_input_h andle, 1000); set date Copyright © Infineon Technologies AG All rights reserved.

51 Set Compare Value and Start of Conversion via APIs into main.c
Modify the existing main.c as follow: ADC_MEASUREMENT_ADV_SetFastCompareValue(&ADC_MEASUREMENT_ADV_0_ADC_input _handle, 512); Start of conversion ADC_MEASUREMENT_ADV_SoftwareTrigger(&ADC_MEASUREMENT_ADV_0); set date Copyright © Infineon Technologies AG All rights reserved.

52 Insert ADC code into main.c
Set ADC Boundary and Limit Modify the existing main.c as follow: ADC_MEASUREMENT_ADV_SelectBoundary(&ADC_MEASUREMENT_ADV_0_ADC_ input_handle, XMC_VADC_BOUNDARY_SELECT_LOWER_BOUND, XMC_VADC_CHANNEL_BOUNDARY_GROUP_BOUND0); ADC_MEASUREMENT_ADV_SelectBoundary(&ADC_MEASUREMENT_ADV_0_ADC_ input_handle, XMC_VADC_BOUNDARY_SELECT_UPPER_BOUND, XMC_VADC_CHANNEL_BOUNDARY_GROUP_BOUND1); ADC_MEASUREMENT_ADV_SetBoundaryUpper(&ADC_MEASUREMENT_ADV_0_A DC_input_handle, 1000); ADC_MEASUREMENT_ADV_SetBoundaryLower(&ADC_MEASUREMENT_ADV_0_A DC_input_handle, 1000); ADC_MEASUREMENT_ADV_SetFastCompareValue(&ADC_MEASUREMENT_ADV_0 _ADC_input_handle, 512); ADC_MEASUREMENT_ADV_SoftwareTrigger(&ADC_MEASUREMENT_ADV_0); set date Copyright © Infineon Technologies AG All rights reserved.

53 Copyright © Infineon Technologies AG 2016. All rights reserved.
Main.c overview set date Copyright © Infineon Technologies AG All rights reserved.

54 Copyright © Infineon Technologies AG 2016. All rights reserved.
Compile Code Start Compiler tools to build the project Click in the tool panel Use ADC in Fast Compare Mode via Potentiometer with a screwdriver set date Copyright © Infineon Technologies AG All rights reserved.

55 Agenda 1 Blink a LED with PWM_CCU4 APP (10Hz @ P0.0) 2
Hands-on with DAVEv4 1 Blink a LED with PWM_CCU4 APP P0.0) 2 Usage of ADC in Fast Compare Mode 3 ERU: how to route a signal set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

56 ERU: how to route a signal
Hands-on with DAVEv4 Route a signal from ADC to a CCU4 Boundary flag from ADC is routed through ERU (Source B) External Modulation is set on P0.0 P2.5 ADC Fast Compare ISR - NVIC Toggle Pin via SW Event Channel P0.6 Boundary Flag ERU PWM CCU4 External Modulation P0.0 HW signal SW signal set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

57 Set Boundary flag on ADC
Hands-on with DAVEv4 Configure ADC_MEASUREMENT_ADV via graphical user interface editor On “Boundary Settings” tab Configure “Enabled” for the Generate boundary flag set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

58 ERU Interconnects Overview
XMC1000 Port Pins (GPIOs) Interrupt Serv. Req. ERU0 Peripherals A B IOUT GOUT PDOUT The ERU interconnects modules Port Pins (GPIOs) Interrupt Serv. Req. ERU0 ERU1 XMC4000 Peripherals Peripherals/ Port Pins A B IOUT PDOUT set date Copyright © Infineon Technologies AG All rights reserved.

59 ERU – Complete overview
Set/Clear (Sticky) by Software Gating Output Selection Pattern Match Output Pattern Edge Trigger Edge Selection Trigger Signals from other peripherals Trigger Signals from other ETLs set date Copyright © Infineon Technologies AG All rights reserved.

60 Usage of ERU (1/4) Add DAVETM APP to project Click in Tool Panel, or
Hands-on with DAVEv4 Add DAVETM APP to project Click in Tool Panel, or DAVE → APP New APP Type “Event” in the search filter field, and double-click EVENT_DETECTOR and EVENT_GENERATOR APPs set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

61 Copyright © Infineon Technologies AG 2016. All rights reserved.
Usage of ERU (2/4) Go to DAVE → HW Signal Connections Select “ADC_MEASUREMENT_ADV_0” on Menu Set “bound_fl_ADC_input” as source signal for EVENT_DETECTOR_0 signal_b set date Copyright © Infineon Technologies AG All rights reserved.

62 Usage of ERU (3/4) Hands-on with DAVEv4 Configure EVENT_DETECTOR via graphical user interface editor Select Source “B” on “Rising Edge” Check “Enable Status Flag autoclear” mode set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

63 Copyright © Infineon Technologies AG 2016. All rights reserved.
Usage of ERU (4/4) Go to DAVE → HW Signal Connections Select “EVENT_DETECTOR_0” on Menu Set “status” as source signal for EVENT_GENERATOR_0 pattern set date Copyright © Infineon Technologies AG All rights reserved.

64 Configuring External Events on PWM_10Hz APP (1/2)
Configure PWM_10Hz APP on “External Event Settings” tab On Event 0 set External Modulation as Function set date Copyright © Infineon Technologies AG All rights reserved.

65 Configuring External Events on PWM_10Hz APP (2/2)
Use “pdout” for route signal to PWM_CCU4 as ext_event_0 set date Copyright © Infineon Technologies AG All rights reserved.

66 Generate Code and Compile Code
One touch code generation Click in the tool panel Generated code can be found under C/C++ Projects window, DAVE  Generated Start Compiler tools to build the project Use ADC in Fast Compare Mode via Potentiometer with a screwdriver set date Copyright © Infineon Technologies AG All rights reserved.

67 Expert Support Hands-on with DAVEv4 Easy access to DAVETM technical support, downloads and information updates DAVETM Forum set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

68 One-click DAVE update Help → Check for Updates
Hands-on with DAVEv4 DAVETM APPs and device support can be updated locally Re-installation not required Update DAVETM system Help → Check for Updates Update DAVETM APPs and device support Help → Check for DAVE App Updates DAVETM IDE and APPs updated regularly set date Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

69 Hands-on with DAVEv4 set date
Copyright © Infineon Technologies AG All rights reserved. set date Copyright © Infineon Technologies AG All rights reserved.

70 Insert ADC code into main.c
Set ADC Boundary and Limit Modify the existing main.c as follow: ADC_MEASUREMENT_ADV_SelectBoundary(&ADC_MEASUREMENT_ADV_0_ADC_input _handle, XMC_VADC_BOUNDARY_SELECT_LOWER_BOUND, XMC_VADC_CHANNEL_BOUNDARY_GROUP_BOUND0); ADC_MEASUREMENT_ADV_SelectBoundary(&ADC_MEASUREMENT_ADV_0_ADC_input _handle, XMC_VADC_BOUNDARY_SELECT_UPPER_BOUND, XMC_VADC_CHANNEL_BOUNDARY_GROUP_BOUND1); ADC_MEASUREMENT_ADV_SetBoundaryUpper(&ADC_MEASUREMENT_ADV_0_ADC_in put_handle, 1000); ADC_MEASUREMENT_ADV_SetBoundaryLower(&ADC_MEASUREMENT_ADV_0_ADC_in put_handle, 1000); ADC_MEASUREMENT_ADV_SetFastCompareValue(&ADC_MEASUREMENT_ADV_0_ADC _input_handle, 512); ADC_MEASUREMENT_ADV_SoftwareTrigger(&ADC_MEASUREMENT_ADV_0); set date Copyright © Infineon Technologies AG All rights reserved.


Download ppt "Copyright © Infineon Technologies AG All rights reserved."

Similar presentations


Ads by Google