How does Soft reset work in XMOS devices? Topic is solved

If you have a simple question and just want an answer.
Post Reply
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

How does Soft reset work in XMOS devices?

Post by sethu_jangala »

Is it possible to do software rest on XMOS devices?



View Solution
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

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.

User avatar
jon_ferg
Junior Member
Posts: 4
Joined: Mon Feb 22, 2010 1:22 pm

Post by jon_ferg »

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);    }
Post Reply