Nov 22, 2019
06:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 22, 2019
06:47 PM
7 Replies
Nov 24, 2019
11:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 24, 2019
11:41 PM
Hello KDN,
assuming that you are using GTM to generate a PWM signal, driven to a port pin, you can select the port pin through the parameter g_atomConfig.pin.outputPin, where g_atomConfig is an instance of the structure used to configure the module (IfxGtm_Atom_Pwm_Config in my case).
you can find a code example that shows this here: GTM ATOM PWM example, which comes with a tutorial: GTM ATOM PWM tutorial.
Other examples on the GTM are the following: GTM ATOM Interrupt example code | GTM ATOM Interrupt tutorial or GTM TOM Interrupt example code | GTM TOM Interrupt tutorial
If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous trainings from here: AURIX™ Trainings.
If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!
Hope it helps,
teoBits
assuming that you are using GTM to generate a PWM signal, driven to a port pin, you can select the port pin through the parameter g_atomConfig.pin.outputPin, where g_atomConfig is an instance of the structure used to configure the module (IfxGtm_Atom_Pwm_Config in my case).
you can find a code example that shows this here: GTM ATOM PWM example, which comes with a tutorial: GTM ATOM PWM tutorial.
Other examples on the GTM are the following: GTM ATOM Interrupt example code | GTM ATOM Interrupt tutorial or GTM TOM Interrupt example code | GTM TOM Interrupt tutorial
If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous trainings from here: AURIX™ Trainings.
If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!
Hope it helps,
teoBits
Dec 04, 2019
07:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2019
07:23 AM
Hello,
I have a question about the GitHub examples:
All the examples are for the TC29X board, but I have a TC27X Evaluation Board.
Is there a quick way to modify the examples for my board in Aurix Studio? For example to replace the iLLD folders?
I have a question about the GitHub examples:
All the examples are for the TC29X board, but I have a TC27X Evaluation Board.
Is there a quick way to modify the examples for my board in Aurix Studio? For example to replace the iLLD folders?
Dec 05, 2019
02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 05, 2019
02:51 AM
bbogdanmircea wrote:
Hello,
I have a question about the GitHub examples:
All the examples are for the TC29X board, but I have a TC27X Evaluation Board.
Is there a quick way to modify the examples for my board in Aurix Studio? For example to replace the iLLD folders?
Hello bbogdanmircea,
You can create a new project for the TC27X device and copy-paste the GitHub example's files inside, together with the needed instructions on the Cpu0_Main files. This ensures that in the new project you have everything correctly configured for your device.
After that, check if in your board the pinouts are different and modify the example accordingly.
Best Regards,
teoBits
Dec 06, 2019
12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 06, 2019
12:43 AM
Hello @teoBits and thanks for the help.
Indeed it works in this way!!!
I think that the getting started guide should be amended with this tip, in case that you have another Evaluation Board and you want also to run the GitHub Examples on your board.
Currently there is no mention in the guide:
https://www.infineon.com/dgdl/Infineon-AURIX_Getting_Started_with_AURIX_Development_Studio-GettingSt...
Indeed it works in this way!!!
I think that the getting started guide should be amended with this tip, in case that you have another Evaluation Board and you want also to run the GitHub Examples on your board.
Currently there is no mention in the guide:
https://www.infineon.com/dgdl/Infineon-AURIX_Getting_Started_with_AURIX_Development_Studio-GettingSt...
Dec 16, 2019
10:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2019
10:35 AM
teoBits wrote:
Hello KDN,
assuming that you are using GTM to generate a PWM signal, driven to a port pin, you can select the port pin through the parameter g_atomConfig.pin.outputPin, where g_atomConfig is an instance of the structure used to configure the module (IfxGtm_Atom_Pwm_Config in my case).
you can find a code example that shows this here: GTM ATOM PWM example, which comes with a tutorial: GTM ATOM PWM tutorial.
Other examples on the GTM are the following: GTM ATOM Interrupt example code | GTM ATOM Interrupt tutorial or GTM TOM Interrupt example code | GTM TOM Interrupt tutorial
If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous trainings from here: AURIX™ Trainings.
If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!
Hope it helps,
teoBits
HI,
I gone through your code, can you help me to know
/* Wait for CPU sync event */
IfxCpu_emitEvent(&g_cpuSyncEvent);
IfxCpu_waitEvent(&g_cpuSyncEvent, 1);
what this two statement do?
Dec 17, 2019
12:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 17, 2019
12:41 AM
Hi,
In PDF I saw, clock – Select CMU clock 0 for channel 0, do we have to select clock 1 for channel 1 and 2 for channel 2.
In PDF I saw, clock – Select CMU clock 0 for channel 0, do we have to select clock 1 for channel 1 and 2 for channel 2.
Dec 17, 2019
12:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 17, 2019
12:47 AM
KDN wrote:
HI,
I gone through your code, can you help me to know
/* Wait for CPU sync event */
IfxCpu_emitEvent(&g_cpuSyncEvent);
IfxCpu_waitEvent(&g_cpuSyncEvent, 1);
what this two statement do?
Hello, these two instructions are needed to synchronize the 3 CPUs of the AURIX™ TC297 used in this example.
best regards,
teoBits