Not applicable
Jul 17, 2014
01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2014
01:32 AM
Hello,
i have a problem with the XMC4200 as an SPI Slave.
I've write a SPI Slave application on the XMC4500 there the Application works great.
When I Port this SPI Slave to XMC4200 the Slave doesn’t work right.
I get as Input Data at RBUFD always the Data 0x00C0, 0x0040,0x0080, 0x0000.
And the Output Data I write doesn’t get out (I see nothing on the Oscilloscope).
I use USIC0_CH1 on both devices.
Has anyone an idea why the SPI Slave doesn’t work on the XMC4200?
I generate a Interrupt when a Chip select is detected an d the programm runs in this interrupt.
So Chip select works.
Thanks everybody for your help
i have a problem with the XMC4200 as an SPI Slave.
I've write a SPI Slave application on the XMC4500 there the Application works great.
When I Port this SPI Slave to XMC4200 the Slave doesn’t work right.
I get as Input Data at RBUFD always the Data 0x00C0, 0x0040,0x0080, 0x0000.
And the Output Data I write doesn’t get out (I see nothing on the Oscilloscope).
I use USIC0_CH1 on both devices.
Has anyone an idea why the SPI Slave doesn’t work on the XMC4200?
I generate a Interrupt when a Chip select is detected an d the programm runs in this interrupt.
So Chip select works.
Thanks everybody for your help
4 Replies
Jul 17, 2014
08:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2014
08:32 PM
Did you check the manual pin configuration? Both devices might not have the same output pin.
Not applicable
Jul 18, 2014
12:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 18, 2014
12:07 AM
Ok I found the Problem.
The Problem was a wrong Frame length (SCTR.FLE was 1 must be 7).
Is the Frame length not evaluated in XMC4500 ?
The Problem was a wrong Frame length (SCTR.FLE was 1 must be 7).
Is the Frame length not evaluated in XMC4500 ?
Jul 20, 2014
07:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 20, 2014
07:32 PM
jhITK wrote:
Ok I found the Problem.
The Problem was a wrong Frame length (SCTR.FLE was 1 must be 7).
Is the Frame length not evaluated in XMC4500 ?
Do you mean that the register "SCTR.FLE" was changed after porting to XMC4200?
Not applicable
Jul 25, 2014
03:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 25, 2014
03:53 AM
No the settings SCTR.FLE was not changed when porting to XMC4200.