I have created the initial cut of the firmware to control the KingFisher PI. At present, I have only implemented the routines needed to control and test the TX, RX blocking, sample enable pulse, and sample address. I have compiled the routines and tested them with an 18F4550 running at 48 MHz. The accuracy of the timings have been verified with an oscilloscope.
I have created a document to describe the operation of the firmware. Also the code is generously commented to help document the software.
A limitation which I have failed to include in the dcument is that there is a minimum time required between the completion of one event until the start of the next event. That minimum time is 2.25 usec (e.g. 2.25 usec from the end of the RX block until the start of sample 1. If RX block is 3.5 usec duration, then sample 1 can occur no earlier than 5.75 usec). This minimum time is for the overhead from exiting the interrupt service routine until the next interrupt is dispatched to the interrupt service routine.
Attached is the document and the code.
Regards,
J. L. King
I have created a document to describe the operation of the firmware. Also the code is generously commented to help document the software.
A limitation which I have failed to include in the dcument is that there is a minimum time required between the completion of one event until the start of the next event. That minimum time is 2.25 usec (e.g. 2.25 usec from the end of the RX block until the start of sample 1. If RX block is 3.5 usec duration, then sample 1 can occur no earlier than 5.75 usec). This minimum time is for the overhead from exiting the interrupt service routine until the next interrupt is dispatched to the interrupt service routine.
Attached is the document and the code.
Regards,
J. L. King
Comment