Internal Frequency generator
agimuhing
Posts: 39
Is there any way to get frequency generator to output into the propeller and not through a pin?
I'm making a serial non-return-to-zero-inverted (NRZI) object and I need a way to define the data rate
My current solution is to have a frequency generator object output to a pin and then connect that pin to an adjacent pin set to input that the serial NRZI object uses
I'm wondering about the speed of the hub and what's the highest frequency I can send through it
My propeller runs at 80 MHz, but I can overclock it if necessary
I'm making a serial non-return-to-zero-inverted (NRZI) object and I need a way to define the data rate
My current solution is to have a frequency generator object output to a pin and then connect that pin to an adjacent pin set to input that the serial NRZI object uses
I'm wondering about the speed of the hub and what's the highest frequency I can send through it
My propeller runs at 80 MHz, but I can overclock it if necessary
Comments
You can use a variety of techniques to implement NRZI. Remember that the Propeller is deterministic and you can calculate the time required to execute any sequence of instructions and use that for timing. You may find that using WAITCNT may be simpler.
What do you mean by "highest frequency I can send through it" (the hub)? The hub is mostly a synchronizing mechanism for shared memory access, allowing one memory access every 16 clock cycles.