Jan 14, 2021
06:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 14, 2021
06:33 PM
Hello all experts,
I am new to xmc 2go, trying to communication between xmc 2go and sensor using SPI communication protocol by direct mode.
I try with examples which is for xmc4500 but not work. Please help.
I am new to xmc 2go, trying to communication between xmc 2go and sensor using SPI communication protocol by direct mode.
I try with examples which is for xmc4500 but not work. Please help.
Solved! Go to Solution.
- Tags:
- IFX
1 Solution
Jan 14, 2021
10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 14, 2021
10:54 PM
Hello,
XMC2Go kit uses XMC1100. Currently, there is no example project available to configure XMC2Go kit as SPI master. But, SPI_MASTER APP is available in Dave IDE for XMC1100 MCU.
After adding SPI_MASTER to your project, right click on it and go to "App Help" for more details about how to configure and use it in your application.
Please feel free to get back to us, if you need any assistance.
Thanks and Regards,
Sudheesh
XMC2Go kit uses XMC1100. Currently, there is no example project available to configure XMC2Go kit as SPI master. But, SPI_MASTER APP is available in Dave IDE for XMC1100 MCU.
After adding SPI_MASTER to your project, right click on it and go to "App Help" for more details about how to configure and use it in your application.
Please feel free to get back to us, if you need any assistance.
Thanks and Regards,
Sudheesh
5 Replies
Jan 14, 2021
10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 14, 2021
10:54 PM
Hello,
XMC2Go kit uses XMC1100. Currently, there is no example project available to configure XMC2Go kit as SPI master. But, SPI_MASTER APP is available in Dave IDE for XMC1100 MCU.
After adding SPI_MASTER to your project, right click on it and go to "App Help" for more details about how to configure and use it in your application.
Please feel free to get back to us, if you need any assistance.
Thanks and Regards,
Sudheesh
XMC2Go kit uses XMC1100. Currently, there is no example project available to configure XMC2Go kit as SPI master. But, SPI_MASTER APP is available in Dave IDE for XMC1100 MCU.
After adding SPI_MASTER to your project, right click on it and go to "App Help" for more details about how to configure and use it in your application.
Please feel free to get back to us, if you need any assistance.
Thanks and Regards,
Sudheesh
Jan 15, 2021
09:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 15, 2021
09:26 PM
Thank you for response,
As given in the app help i set all configuration parameters but not even got clock at output.
As given in the app help i set all configuration parameters but not even got clock at output.
Attachments are accessible only for community members.
Jan 19, 2021
01:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 19, 2021
01:34 AM
Hello,
Sorry for the delay. Steps to configure the SPI_MASTER are given in "Usage" section of "App Help" documentation. Please double check, if you have configured the Rx and Tx interrupts for SPI master as mentioned in the documentation.
I am attaching an XMC1100 SPI master project with this response. It uses the SPI_MASTER Dave app and sends 3 bytes to data in a loop to the slave. I tested it with XMC1100 boot kit. You can build it for XMC 2 Go kit using the "Dave project upgrade->Device Migration" option that you get when you right click on a project.
You can use it as an example to develop your own project. Please let me know, if you are facing any issue.
Thanks and Regards,
Sudheesh
Sorry for the delay. Steps to configure the SPI_MASTER are given in "Usage" section of "App Help" documentation. Please double check, if you have configured the Rx and Tx interrupts for SPI master as mentioned in the documentation.
I am attaching an XMC1100 SPI master project with this response. It uses the SPI_MASTER Dave app and sends 3 bytes to data in a loop to the slave. I tested it with XMC1100 boot kit. You can build it for XMC 2 Go kit using the "Dave project upgrade->Device Migration" option that you get when you right click on a project.
You can use it as an example to develop your own project. Please let me know, if you are facing any issue.
Thanks and Regards,
Sudheesh
Mar 11, 2021
06:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 11, 2021
06:28 PM
Good Day,
I am exploring the infineon designer using tina cloud for simulation. I used the SPI Master example above and was able to transmit modified messages and made a slave project in DAVE APPs for the second microcontroller. I can't seem to make the slave receive the transmitted message from the master. Maybe I'm doing something wrong with the code but I would like to confirm if it's even possible to do microcon-microcon communication in infineon designer?
Regards,
Minos
I am exploring the infineon designer using tina cloud for simulation. I used the SPI Master example above and was able to transmit modified messages and made a slave project in DAVE APPs for the second microcontroller. I can't seem to make the slave receive the transmitted message from the master. Maybe I'm doing something wrong with the code but I would like to confirm if it's even possible to do microcon-microcon communication in infineon designer?
Regards,
Minos
Attachments are accessible only for community members.
Mar 16, 2021
06:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 16, 2021
06:02 AM
Hello Minos,
Yes, it is possible to communicate between two micro controllers using SPI protocol. Please see the SPI master and slave example projects attached. Master will send characters from 'A' to 'Z' to the slave, slave will print the received characters using UART.
Regarding your project, please make sure that the bit order for SPI communication is matching between master and slave projects. Also, try changing the SPI master clock settings in the SPI Master Dave APP.
Thanks and Regards,
Sudheesh
Yes, it is possible to communicate between two micro controllers using SPI protocol. Please see the SPI master and slave example projects attached. Master will send characters from 'A' to 'Z' to the slave, slave will print the received characters using UART.
Regarding your project, please make sure that the bit order for SPI communication is matching between master and slave projects. Also, try changing the SPI master clock settings in the SPI Master Dave APP.
Thanks and Regards,
Sudheesh