Not applicable
Sep 01, 2014
08:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 01, 2014
08:20 PM
Hi,
How can I send a burst of lets say 99 bytes via spi before the chipselect goes high again? I am using XMC1200 and SPI001 App
Cheers
How can I send a burst of lets say 99 bytes via spi before the chipselect goes high again? I am using XMC1200 and SPI001 App
Cheers
Labels
- Tags:
- IFX
1 Reply
Sep 01, 2014
11:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 01, 2014
11:25 PM
Hi,
In SPI001 there is an option to set the word length to max 16 bits and the frame length to max 64. Set the world length to max and frame length to max,
Set TCSR.WLEMD, then keep writing to TBUF[15] until only one word is left to be sent. Then set TCSR.EOF and write the last word to TBUF[15] or if the last word is only a byte, then write to TBUF[7].
Best Regards
Jurgen
In SPI001 there is an option to set the word length to max 16 bits and the frame length to max 64. Set the world length to max and frame length to max,
Set TCSR.WLEMD, then keep writing to TBUF[15] until only one word is left to be sent. Then set TCSR.EOF and write the last word to TBUF[15] or if the last word is only a byte, then write to TBUF[7].
Best Regards
Jurgen