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

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

How does Soft reset work in XMOS devices?

Postby sethu_jangala » Wed Sep 18, 2013 11:55 am

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

Postby sethu_jangala » Wed Sep 18, 2013 11:55 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.

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

Postby jon_ferg » Wed Oct 16, 2013 12:25 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);    }

Who is online

Users browsing this forum: No registered users and 3 guests