You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
I thought the arduino due can send digital data at each time clock... I have to find another way. Thank you for your answerDubois Jérôme– Dubois Jérôme2015年09月01日 09:09:46 +00:00Commented Sep 1, 2015 at 9:09
-
The Due uses an ARM core. The ARM core is RISC. To, for example, get a byte from memory and place it on a port register takes minimum 4 instructions (load address, load data from address, load address, write data to address) and each instruction (load or store instruction) takes 1 clock cycle. That's in assembly. In C it becomes more, and as soon as you start looping you get even longer - condition tests, branches, incrementing values, etc - it may take upwards of 10 instructions with maybe 15 clock cycles for each access of the port. That would make about 5.6MHz maximum output.Majenko– Majenko2015年09月01日 09:36:13 +00:00Commented Sep 1, 2015 at 9:36
-
DMA might be able to do a bit better than the ARM core, but still the design seems farfetched. This is territory for an FPGA, or a very, very carefully chosen MCU. The pi is probably not a fit - the core may be fast, but that does not mean there is necessarily a suitable fast I/O interface.Chris Stratton– Chris Stratton2015年12月01日 01:56:05 +00:00Commented Dec 1, 2015 at 1:56