Search found 227 matches
- Tue May 06, 2014 9:57 am
- Forum: Development Tools and Programming
- Topic: Count number of transitions on a port
- Replies: 7
- Views: 6503
Re: Count number of transitions on a port
@GerhardNorkus No pb. This wasn't either my intention when I mentioned my previous experience with XMOS. I only wanted to mention that I know the tools and that I was looking to a technical solution even if it uses very advanced features of the chips and dev tools. Anyway, going to test various solu...
- Mon May 05, 2014 6:37 pm
- Forum: Development Tools and Programming
- Topic: Count number of transitions on a port
- Replies: 7
- Views: 6503
Re: Count number of transitions on a port
You can actually see the counter getting updated if you use the "Waves" view. You access that by setting up the "Debug Configurations" to run as a Simulator. But there's a lot more to describe about that if you haven't yet invested the time in it.... Hi GerhardNorkus, I'm aware ...
- Mon May 05, 2014 12:18 pm
- Forum: Development Tools and Programming
- Topic: Count number of transitions on a port
- Replies: 7
- Views: 6503
Count number of transitions on a port
Hello, I want to create a simple pulse counter. I'm using this simple code: void pulseCounter(server interface pulse_intf s_intf) { char x; p_in :> x; while (1) { select { case p_in when pinsneq(x) :> x: counter++; break; case s_intf.getCount() -> unsigned int return_val : // Set the return value re...
- Mon May 05, 2014 6:59 am
- Forum: Development Tools and Programming
- Topic: generate 20MHz clock
- Replies: 7
- Views: 6334
Re: generate 20MHz clock
+1GerhardNorkus wrote:I assume he tried to adjust the PLL by using the sswitch setting functions.
I done (in desperation) it when adding the attribute ReferenceFreq didn't worked (cause XN was not in the project).
- Sun May 04, 2014 7:29 pm
- Forum: Development Tools and Programming
- Topic: generate 20MHz clock
- Replies: 7
- Views: 6334
Re: generate 20MHz clock
Well,
just tried it. It worked correctly. My mistake was that the XN file was not in my project. I had to right click on it and "IMPORT" it into the project to make things works as expected.
Thank you for your help :)
just tried it. It worked correctly. My mistake was that the XN file was not in my project. I had to right click on it and "IMPORT" it into the project to make things works as expected.
Thank you for your help :)
- Sun May 04, 2014 6:32 pm
- Forum: Development Tools and Programming
- Topic: generate 20MHz clock
- Replies: 7
- Views: 6334
Re: generate 20MHz clock
Hi GerhardNorkus,
I already tried adding the ReferenceFrequency and setting it to 80 (and later to 320 and 400) MHz, but it didn't worked. I'll try again today by night and post any results.
Thx
I already tried adding the ReferenceFrequency and setting it to 80 (and later to 320 and 400) MHz, but it didn't worked. I'll try again today by night and post any results.
Thx
- Sun May 04, 2014 2:02 am
- Forum: Development Tools and Programming
- Topic: generate 20MHz clock
- Replies: 7
- Views: 6334
generate 20MHz clock
Hello, I'm fighting with XS1L at 400MHz with 20MHz crystal (I'm using an XK-1A), and I want to generate a 20MHz clock on a pin. I tried all fiddling with clock divisors, changing clock and refClock in the XN file ... but I can't got it to work. When I use for example a div == 5 do divide the 100MHz ...
- Fri May 02, 2014 4:53 pm
- Forum: Development Tools and Programming
- Topic: New Programming Guide
- Replies: 20
- Views: 14519
Re: New Programming Guide
I read part of this new guide. Nice work. I did understood nothing in section 2.2.1- Interface connections . I think a task oriented presentation with small examples would make this thing a lot easier (or maybe I'm too much influenced by the old book and the description of inter-task comm using chan...
- Sat Apr 26, 2014 10:09 pm
- Forum: startKIT
- Topic: Doubt about xcore processor ?
- Replies: 3
- Views: 6051
Re: Doubt about xcore processor ?
Hi SUNROC1, Xmos is a hardware parallel architecture, i.e. when STM32F4xx is servicing an interrupt, the main program is completely stoped, while in XMOS you can dedicate a core to service a task when the main task is still executing. The main advantage in favour of XMOS, from my point of view, is d...
- Mon Apr 21, 2014 1:49 pm
- Forum: Other XMOS Development Kits
- Topic: SliceKit with SDRAM slice card
- Replies: 4
- Views: 6158
Re: SliceKit with SDRAM slice card
Hi Berni, some SDRAMs have autorefresh capabilities. The main choice of SDRAM instead of SRAM (which I'm using now) is the price. When trying to find quick access SRAM/SDRAM, the price for SRAMs (for 10ns for example) is arround 8 euros for 512KBytes, while 4 or more times capacity SDRAM (8MBytes) a...