Not applicable
Jan 02, 2014
04:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 02, 2014
04:32 AM
Hello,
for my project for university I am using the XMC4500 to convert several analog signals and do some calculations with the values. After that I want to send the results to another microcontroller which displays the values on a display. I know about the GUI-features of the XMC4500 but I want to use another display controller (FTDI FT800) so I use an evalutation board (Renesas RX63N) to adress the display controller.
It is my first connection of two MCUs so I would like to know:
Which is the easiest way to send values between two MCUs? I2C, SPI, UART or CAN?
I want to use the relax kit lite for my application, although I can test the communication with the hexagon-kit. But the migration should not be a big problem with the Dave 3 features, right?
Are there any important things I have to keep in mind when I want to connect two MCUs?
Thank you very much for help!
Best regards!
MTR
for my project for university I am using the XMC4500 to convert several analog signals and do some calculations with the values. After that I want to send the results to another microcontroller which displays the values on a display. I know about the GUI-features of the XMC4500 but I want to use another display controller (FTDI FT800) so I use an evalutation board (Renesas RX63N) to adress the display controller.
It is my first connection of two MCUs so I would like to know:
Which is the easiest way to send values between two MCUs? I2C, SPI, UART or CAN?
I want to use the relax kit lite for my application, although I can test the communication with the hexagon-kit. But the migration should not be a big problem with the Dave 3 features, right?
Are there any important things I have to keep in mind when I want to connect two MCUs?
Thank you very much for help!
Best regards!
MTR
5 Replies
Not applicable
Jan 02, 2014
09:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 02, 2014
09:33 PM
Hi MTR,
Are you only communicated between 2 MCU?
If that's the case, I would suggest you to use UART. That's the most simple way of communication and only use 2 wire.
There is no Master and Slave also and it is asynchronous.
rgds,
Rou
Are you only communicated between 2 MCU?
If that's the case, I would suggest you to use UART. That's the most simple way of communication and only use 2 wire.
There is no Master and Slave also and it is asynchronous.
rgds,
Rou
Not applicable
Jan 03, 2014
07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 03, 2014
07:17 AM
Hi Rou,
thank you for your adwise.
Yes I have only two MCUs so UART should be the easiest. Unfortunately I haven't found many APIs for the second MCU (Renesas RX63N) for UART but much more for SPI. Maybe I have to work with that, although it is more complicated.
Is there a possiblilty to run the XMC4500 in SPI slave mode? The apps always configure the USIC as master.
Is there any example for SPI without the flash chip? Just a simple communication example, I could use to develop my code?
Thanks again!
Regards,
MTR
thank you for your adwise.
Yes I have only two MCUs so UART should be the easiest. Unfortunately I haven't found many APIs for the second MCU (Renesas RX63N) for UART but much more for SPI. Maybe I have to work with that, although it is more complicated.
Is there a possiblilty to run the XMC4500 in SPI slave mode? The apps always configure the USIC as master.
Is there any example for SPI without the flash chip? Just a simple communication example, I could use to develop my code?
Thanks again!
Regards,
MTR
Jan 05, 2014
06:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 05, 2014
06:16 PM
Hi MTR,
The simplest way for your requirement is to use UART/SPI communication.
Best Regards
Travis
The simplest way for your requirement is to use UART/SPI communication.
Best Regards
Travis
Jan 05, 2014
06:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 05, 2014
06:20 PM
To operate SSC in slave mode please have a look at XMC4500 reference manual "17.4.4 Operating the SSC in Slave Mode".
Not applicable
Jan 06, 2014
12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 06, 2014
12:49 AM
Hi MTR,
You can refers to these thread where SPI slave topic is discuss.
Some example codes is provided too.
http://www.infineonforums.com/threads/574-SPI-Slave-Configuration
and
http://www.infineonforums.com/threads/859-SPI-(SSC)-Slave-Mode
rgds,
Rou
You can refers to these thread where SPI slave topic is discuss.
Some example codes is provided too.
http://www.infineonforums.com/threads/574-SPI-Slave-Configuration
and
http://www.infineonforums.com/threads/859-SPI-(SSC)-Slave-Mode
rgds,
Rou