Professional Documents
Culture Documents
Reduce SW Development Time With DAVE™ 3: March, 2012
Reduce SW Development Time With DAVE™ 3: March, 2012
Reduce SW Development Time With DAVE™ 3: March, 2012
March, 2012
Why DAVE 3 ?
Pressure to Engineer
Short time to market Tough to get familiar with all the HW details
Solution
DAVE3
23.03.2012 Copyright Infineon Technologies 2012. All rights reserved. Page 2
What is DAVE 3 good for ? DAVE 3 significantly shortens time and effort for SW development for XMC 4500 Series
23.03.2012
Page 3
With DAVE 3 we are Merging the Functionalities of earlier DAVE Tools into one Tool
23.03.2012
Page 4
DAVE 3
LLD Middle ware RTOS . Any free or commercial solutions from third parties
IDE
Code Engine
DAVEApps Manager
3rd party 3rd party 3rd party
Automatic code generation based on predefined and tested SW components (DAVE Apps) Configuration via graphical user interface Generated code can be used via well documented APIs (like a library)
23.03.2012
Page 5
DAVE Apps are flexible use case oriented SW components to generate code
That can be downloaded from the web That could be a complete embedded solution/ application
A DAVE App is well defined and tested SW component that can be used to build an embedded application on an high, easy to understand abstraction level
23.03.2012 Copyright Infineon Technologies 2012. All rights reserved. Page 7
PWM App
Timer overflow
Compare match
ADC start
ADC App
Interrupt Request
Interrupt App
23.03.2012
Page 8
23.03.2012
Page 9
Signal Connection
Pin Constraints
DAVE 3 includes a resource solver that automatically assigns the chip resources considering the available chip resources and connectivity constraints
23.03.2012 Copyright Infineon Technologies 2012. All rights reserved. Page 10
Generated Code
23.03.2012
Page 11
Some DAVE Apps can only be instantiated once (singletons) Those App are normally limited to a resource that is only available once
E.g. Clock-App
23.03.2012
Page 12
When using the API in the user code the address to the data structure (handle) has to be but in the parameter list Example:
status_t = CNT001_GetEvtCountValue(&CNT001_Handle0, &variable_for_countvalue);
23.03.2012 Copyright Infineon Technologies 2012. All rights reserved. Page 13
DAVE Apps will be made available as library of DAVE Apps from the web or any other media The user can search for DAVE Apps (library of DAVE Apps) from the DAVE 3 platform and can download them to his local drive The user can select the DAVE Apps from his local DAVE App store and add them to his project
http://dave.infineon.com/Libraries/DAVEApps/XMC4500/v3.0
C:\Users\yourname\Infineon\LibraryStore
I/O
EBU Flash CRC Debug Log CMSIS RTOS
CAN
USIC (I2S, I2C, UART, SPI) Simple ADC Complex ADC Delta Sigma demodulator DAC Resolver PWM Capture Counter POSIF ETH Touch
23.03.2012
Architecture of the Code Generation Functionality (DAVE Apps, Device Description, Code Engine)
Code Engine (Mother System) Is the device independent interface to the user to manage all activities DAVE Apps Use case oriented SW components A DAVE Expert App consist of Manifest Required resources (URI) Provided resources (to other apps or GUI) GUI definition based on predefined widgets Code templates Documentation To develop DAVE embedded Apps a dedicated SDK (SW development kit will be provided)
Provided Resources
DAVE Device Description Resource and connection model of the target MCU
Content SFRs and SFRs bit fields in resource groups Interconnections (signals) and respective constraints Uniform Resource Identifier (URI) of mapable resource groups
23.03.2012
Page 16
Relation of device description and DAVE App A device description represents a defined SW ID
Different devices can have the same SW ID as long as they are SW compatible
In DAVE3
In the current implementation there is an implicit filter that only the Apps can be selected that are valid for the SW ID of the chosen device
23.03.2012 Copyright Infineon Technologies 2012. All rights reserved. Page 17