Attachments are accessible only for community members.
Aug 18, 2017
02:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 18, 2017
02:09 AM
Hello,
I am using Dave 4 with latest Dave apps available. Great tool !
I try to use the Serial SPI Flash available on XMC4500 Relax Kit.
I take the example of XMC4500 Hexagon, and change
The MCU model migration (from 144 to 100 pins)
the manual assignment pin settings to match Relax Kit
Does not work 😞
I tried several changes (Interrupt / Direct) Pin settings, etc...
I have measured correct signals on CS, SCL and MOSI,
but MISO signal remains silent.
Is there any public example allowing to access this device ?
Thanks a lot for your support
Jorge
I am using Dave 4 with latest Dave apps available. Great tool !
I try to use the Serial SPI Flash available on XMC4500 Relax Kit.
I take the example of XMC4500 Hexagon, and change
The MCU model migration (from 144 to 100 pins)
the manual assignment pin settings to match Relax Kit
Does not work 😞
I tried several changes (Interrupt / Direct) Pin settings, etc...
I have measured correct signals on CS, SCL and MOSI,
but MISO signal remains silent.
Is there any public example allowing to access this device ?
Thanks a lot for your support
Jorge
- Tags:
- IFX
3 Replies
Sep 05, 2017
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 05, 2017
02:36 AM
Found it !!
After looking more carefully at the differences between Hexagon (working) and Relax (not working) projects,
I found that for some unknown reason, following line has been added in
static SPI_MASTER_STATUS_t SPI_MASTER_0_lInit(void)
{
...
XMC_SPI_CH_DisableFEM(XMC_SPI0_CH0);
This is not correct, make sure the Frame End Mode is on
After looking more carefully at the differences between Hexagon (working) and Relax (not working) projects,
I found that for some unknown reason, following line has been added in
static SPI_MASTER_STATUS_t SPI_MASTER_0_lInit(void)
{
...
XMC_SPI_CH_DisableFEM(XMC_SPI0_CH0);
This is not correct, make sure the Frame End Mode is on
Not applicable
Sep 05, 2017
09:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 05, 2017
09:25 AM
Sorry i have a related but different question.
If I want to change the port_config from high to low and back again (the slave works on low CS), how do I do that in coding?
I tried like this but ofcourse it doesnt work
SPI_MASTER_0_SS_1_Config.port_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW;
How do I change level of slave select lines in software? I am using SPI_MASTER_APP
If I want to change the port_config from high to low and back again (the slave works on low CS), how do I do that in coding?
I tried like this but ofcourse it doesnt work
SPI_MASTER_0_SS_1_Config.port_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW;
How do I change level of slave select lines in software? I am using SPI_MASTER_APP
Oct 09, 2019
07:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 09, 2019
07:35 AM
jorge 66 do you have the example working?
Can you send?
Can you send?