Attachments are accessible only for community members.
Not applicable
Apr 19, 2018
02:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 19, 2018
02:12 AM
Hi,
I try to use QSPI_EXAMPLE_XMC45 from https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html but it doesn.t work. I changed pins according to 100pin device.
I getting ProjectStatus=1 after Initialize the transmit buffer.
Does anyone know where the problem may be ?
I enclose my project
Best regards
Szymon
I try to use QSPI_EXAMPLE_XMC45 from https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html but it doesn.t work. I changed pins according to 100pin device.
I getting ProjectStatus=1 after Initialize the transmit buffer.
Does anyone know where the problem may be ?
I enclose my project
Best regards
Szymon
- Tags:
- flash memory
- IFX
- spi
4 Replies
Not applicable
Apr 19, 2018
03:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 19, 2018
03:16 AM
Hi,
I managed to run the example but I do not know how to read the ID. Can anyone advise me how to do it?
Best regards
Szymon
I managed to run the example but I do not know how to read the ID. Can anyone advise me how to do it?
Best regards
Szymon
May 30, 2018
02:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 30, 2018
02:13 AM
I can read the flash ID with Direct mode. Interrupt mode works only once. If you need the Direct mode project, I can upload it.
Sep 23, 2019
12:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 23, 2019
12:11 AM
I'm trying to interface the external flash with the XMC 4800, but i'm facing problem. i tried it using given API's but its not working. please guide me the steps or program for SPI communication.
Set_CE_low(); // CE low
XMC_SPI_CH_Init(XMC_SPI0_CH0, &spi_config); // SPI init
XMC_SPI_CH_EnableMasterClock(XMC_SPI0_CH0); // Enabling master clock
XMC_SPI_CH_SetWordLength(XMC_SPI0_CH1, 8); //Setting word length
XMC_SPI_CH_SetFrameLength(XMC_SPI1_CH0, 64); //Setting frame length
XMC_SPI_CH_EnableSOF(XMC_SPI1_CH0); // start of frame
XMC_SPI_CH_EnableEOF(XMC_SPI1_CH0); //End of frame
XMC_SPI_CH_EnableSlaveSelect(XMC_SPI1_CH0, XMC_SPI_CH_SLAVE_SELECT_0); //SS is enabled
XMC_SPI_CH_Transmit(XMC_SPI0_CH0, data, XMC_SPI_CH_MODE_STANDARD); // Transmiting the data
Set_CE_high(); // CE high
I checked, even clock is not getting generate.
Please reply @Infineon
Set_CE_low(); // CE low
XMC_SPI_CH_Init(XMC_SPI0_CH0, &spi_config); // SPI init
XMC_SPI_CH_EnableMasterClock(XMC_SPI0_CH0); // Enabling master clock
XMC_SPI_CH_SetWordLength(XMC_SPI0_CH1, 8); //Setting word length
XMC_SPI_CH_SetFrameLength(XMC_SPI1_CH0, 64); //Setting frame length
XMC_SPI_CH_EnableSOF(XMC_SPI1_CH0); // start of frame
XMC_SPI_CH_EnableEOF(XMC_SPI1_CH0); //End of frame
XMC_SPI_CH_EnableSlaveSelect(XMC_SPI1_CH0, XMC_SPI_CH_SLAVE_SELECT_0); //SS is enabled
XMC_SPI_CH_Transmit(XMC_SPI0_CH0, data, XMC_SPI_CH_MODE_STANDARD); // Transmiting the data
Set_CE_high(); // CE high
I checked, even clock is not getting generate.
Please reply @Infineon
Attachments are accessible only for community members.
Sep 23, 2019
04:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 23, 2019
04:32 AM