Also tried toggling the XLINK switch but no joy yet..5 Errata
IN THIS CHAPTER
· 1V2 Hardware SPI Bus Switch
5.1 1V2 Hardware SPI Bus Switch
On revision 1V2 hardware the SPI bus switch enable/disable line is connected to
X0D16 (rather than X0D14 as stated above). This signal is shared with the xSCOPE
xCONNECT link which means that xSCOPE can not be used if control of the SPI bus
is required.
Disable SPI interface on USB sliceKIT
-
- XCore Legend
- Posts: 1274
- Joined: Thu Dec 10, 2009 10:20 pm
Yup I see the Errata now at the end of the USB SliceKit Manual:
-
- Member++
- Posts: 21
- Joined: Fri Sep 13, 2013 3:00 pm
Have you tried using JTAG mode?
Also, do you have R28 populated or not (should not)?
I will try on a new project to check.
[Edit] Yep, working with a new project with this code:
Also, do you have R28 populated or not (should not)?
I will try on a new project to check.
[Edit] Yep, working with a new project with this code:
Code: Select all
#include <xs1.h>
#include <platform.h>
#define FLASH_PERIOD 20000000
out port led = XS1_PORT_1C; // X0D10
out port led2 = XS1_PORT_1G; // X0D22
on tile[0]: out port mux = XS1_PORT_8B;
int main(void)
{
mux <: 6;
timer tmr;
int t;
tmr :> t;
while (1) {
led <: 0x1;
led2 <: 0x1;
t += FLASH_PERIOD;
tmr when timerafter(t) :> void;
led <: 0x0;
led2 <: 0x0;
t += FLASH_PERIOD;
tmr when timerafter(t) :> void;
}
return 0;
}