Feb 27, 2021
02:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 27, 2021
02:28 PM
Having a fairly simple task, I have been struggling around with DAVE4 for weeks.
Goal was to use an ISOFACE 1H812 connected via SPI to an XMC 4700 to expand the number of Digital IOs
Sounds quite simple but using the APPs,I never got a working result. Sending 0x00 or 0x01 simply for toggling the output, I was not even able to monitor the SCLK being triggered correctely.
Unfortunately there is no simple tutorial for Dave4 and the SPI Master-APP available. The ISOFACE APP is only working on XMC4500 not XMC4700 (Ports P6 not available for config).
Did somebody had the same problems? I know the issue is usually in front of the monitor 🙂 , But if there might be a simple example to learn how to get the SPI working, I really would be greatful.
BR Nox99
Goal was to use an ISOFACE 1H812 connected via SPI to an XMC 4700 to expand the number of Digital IOs
Sounds quite simple but using the APPs,I never got a working result. Sending 0x00 or 0x01 simply for toggling the output, I was not even able to monitor the SCLK being triggered correctely.
Unfortunately there is no simple tutorial for Dave4 and the SPI Master-APP available. The ISOFACE APP is only working on XMC4500 not XMC4700 (Ports P6 not available for config).
Did somebody had the same problems? I know the issue is usually in front of the monitor 🙂 , But if there might be a simple example to learn how to get the SPI working, I really would be greatful.
BR Nox99
Solved! Go to Solution.
- Tags:
- IFX
1 Solution
Mar 23, 2021
01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 23, 2021
01:53 AM
Hello,
I discussed your query internally with our experts. ISOFACE app always uses USIC0_CH0 for SPI communication and that is the reason why you see limited number of pins available in Dave.
But, you can try to modify the generated source code for this app according to your application.
Thanks and Regards,
Sudheesh
I discussed your query internally with our experts. ISOFACE app always uses USIC0_CH0 for SPI communication and that is the reason why you see limited number of pins available in Dave.
But, you can try to modify the generated source code for this app according to your application.
Thanks and Regards,
Sudheesh
3 Replies
Mar 02, 2021
09:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 02, 2021
09:20 PM
Hello,
We would like to know some more details about this issue.
1. What are the SPI pins configured in the XMC4700 project?
2. Are there any differences between the XMC4500 project and XMC4700 project that you created?
3. Typical usage of ISO1H app is given in the app documentation (right click of the Dave app -> select app help and got to "Typical Usage" section).
Could you please follow the instructions given in "Typical Usage" section and test the samples application? Please let us know the results.
Thanks and Regards,
Sudheesh
We would like to know some more details about this issue.
1. What are the SPI pins configured in the XMC4700 project?
2. Are there any differences between the XMC4500 project and XMC4700 project that you created?
3. Typical usage of ISO1H app is given in the app documentation (right click of the Dave app -> select app help and got to "Typical Usage" section).
Could you please follow the instructions given in "Typical Usage" section and test the samples application? Please let us know the results.
Thanks and Regards,
Sudheesh
Mar 10, 2021
02:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 10, 2021
02:42 AM
He Sudheesh,
Thanks for your attempt of guiding me through this (personal) problem.
Having found the documentation in the methods section of help this was quite valuable. And indeed the result was operational.
Unfortunately, as stated before, the useage is quite limited as I cannot use the HW pins as signal wires.
eg.
SPI_Master works HW wise with CS P6.1 / SCLK P6.2 / MoSI P6.4 / MiSO P6.3 / DIS P 6.6
Using the ISO-APP man cannot chose these ports... Only way around would be using jumper wires , whatI personally would like to avoid
Best Regards
Nox
Thanks for your attempt of guiding me through this (personal) problem.
Having found the documentation in the methods section of help this was quite valuable. And indeed the result was operational.
Unfortunately, as stated before, the useage is quite limited as I cannot use the HW pins as signal wires.
eg.
SPI_Master works HW wise with CS P6.1 / SCLK P6.2 / MoSI P6.4 / MiSO P6.3 / DIS P 6.6
Using the ISO-APP man cannot chose these ports... Only way around would be using jumper wires , whatI personally would like to avoid
Best Regards
Nox
Mar 23, 2021
01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 23, 2021
01:53 AM
Hello,
I discussed your query internally with our experts. ISOFACE app always uses USIC0_CH0 for SPI communication and that is the reason why you see limited number of pins available in Dave.
But, you can try to modify the generated source code for this app according to your application.
Thanks and Regards,
Sudheesh
I discussed your query internally with our experts. ISOFACE app always uses USIC0_CH0 for SPI communication and that is the reason why you see limited number of pins available in Dave.
But, you can try to modify the generated source code for this app according to your application.
Thanks and Regards,
Sudheesh