Streamer and hub RAM FIFO question
ManAtWork
Posts: 2,176
in Propeller 2
As read in the docs the hub RAM interface has a FIFO that can be used only for one purpose at a time. So if I'd like to make an object which doesn't launch it's own cog but can be called from any spin function then the FIFO is already used up by instruction fetching. So I can't use the streamer (in RDFAST/WRFAST mode) to transfer data from a smartpin to hub ram or vice versa. However, I could use the streamer in immediate mode to output a bit pattern up to 32 bits at a time and use RDLONG in a loop.
Is this assumption correct? (I'm using FlexGui with fastspin and inline assembly at the moment. Interpreted Spin2 would probably be different as the interpreter runs in a cog and the FIFO is free)
Is this assumption correct? (I'm using FlexGui with fastspin and inline assembly at the moment. Interpreted Spin2 would probably be different as the interpreter runs in a cog and the FIFO is free)
Comments