1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-07-02 22:52:22 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Werner Almesberger
dad97398d3 ubb-patgen/ubb-patgen.c (dma_pattern): mlockall (before address translation and DMA) 2013-01-14 23:32:37 -03:00
Werner Almesberger
c6306ff591 ubb-patgen/ubb-patgen.c: DMA works now. Get rid of the PIO option. 2013-01-14 23:29:23 -03:00
Werner Almesberger
b6ee672266 ubb-patgen/: flush dcache and write buffer before doing DMA 2013-01-14 23:26:24 -03:00
Werner Almesberger
908b0631d1 ubb-patgen/ubb-patgen.c: DMA has mystery glitches. Use PIO for now. 2013-01-14 22:18:46 -03:00
Werner Almesberger
3febc9072a ubb-patgen/ubb-patgen.c (dma_pattern): move pattern parser to parse_pattern
... and introduce pattern multipliers <hex>{<repetitions>}
2013-01-14 19:26:15 -03:00
Werner Almesberger
e5cb1c98ea ubb-patgen/ubb-patgen.c: describe the pattern transfer logic 2013-01-14 17:01:13 -03:00
Werner Almesberger
fa8b5b6324 ubb-patgen/ubb-patgen.c: clean up pattern generation and boundaries
The main change is to use only a single transfer and thus avoid tri-stating
DATx during the command phase. To control the timing, we put the first word
"manually" into the FIFO, wait until it has been sent on the bus, and only
then DMA the rest.
2013-01-14 17:01:01 -03:00
Werner Almesberger
09bf9c23ab ubb-patgen/: add DMA-based pattern transfer (WIP)
Works for some patterns but seems to have issues at the edge of
transfers. Clock selection also needs more work.
2013-01-14 03:55:51 -03:00
Werner Almesberger
47140384ee ubb-patgen/hw/: a simple resistor on CMD is sufficient - no need for a cap
Cheaper and easier to control.
2013-01-14 03:11:39 -03:00
Werner Almesberger
52ce1947c5 ubb-patgen/: UBB-based pattern generator (WIP)
For now, it only knows to synthesize the clock and to output it.
2013-01-07 17:01:51 -03:00
Werner Almesberger
7c1f06530d ubb-patgen/hw/labels.fig: cut-out labels for the wires 2013-01-07 17:01:17 -03:00
Werner Almesberger
ed91f621e5 ubb-patgen/hw/: schematics of a pattern generator based on UBB 2013-01-07 17:00:28 -03:00