how to simulate a serialized output

New to XMOS and XCore? Get started here.
Post Reply
moh_algoblan
Member++
Posts: 17
Joined: Tue Jun 18, 2019 11:39 am

how to simulate a serialized output

Post by moh_algoblan »

Hi, I'm new to Xmos microcontrollers, I started reading the data sheet of xCORE-200 Series, and writing some basic codes. currently I'm working on a small project which consists of serializing data and then driving it to a port. so I tried to simulate one of the example called "How to serialize output data to a port" but the IDE stuck when I ran it. I tried it with my code and nothing changes, so I though there's another way to simulate a code that consists a buffered port.
the example:

Code: Select all

int main(void) {

  unsigned int x = 0xAA00FFFF;
  configure_clock_src(clk, inClock);
  configure_out_port(outP, clk, 0);
  start_clock(clk);
  while (1) {
    outP <: x;
    x = x + 1;
  }
  return 0;
}


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Hi and welcome.

Please review this webpage and documentation:

https://www.xmos.com/developer/publishe ... r-tutorial
moh_algoblan
Member++
Posts: 17
Joined: Tue Jun 18, 2019 11:39 am

Post by moh_algoblan »

mon2 wrote: Tue Jun 18, 2019 1:59 pm Hi and welcome.

Please review this webpage and documentation:

https://www.xmos.com/developer/publishe ... r-tutorial
I built and ran the project as section 2.4 shows but nothing changes ...
Post Reply