Is it possible to do software rest on XMOS devices?
How does Soft reset work in XMOS devices? Topic is solved
-
- XCore Expert
- Posts: 589
- Joined: Wed Feb 29, 2012 10:03 am
-
- XCore Expert
- Posts: 589
- Joined: Wed Feb 29, 2012 10:03 am
A write to PLL register 6 will reset that tile. In a dual tile device like L16, soft reset should be issued for each tile separately in proper sequence. Soft Reset to the other tile should be issued before issuing the same to the current tile.
-
- Junior Member
- Posts: 4
- Joined: Mon Feb 22, 2010 1:22 pm
Here is some code to the above
Code: Select all
#include <xs1.h>void chipReset(void) { unsigned x; read_sswitch_reg(get_core_id(), 6, x); write_sswitch_reg(get_core_id(), 6, x); }