Hi there,
I have been creating a C library for the CFA635 and CFA633 commands and have somewhat successful. I have been able to transmit commands and receives acknowledgements / status updates on the majority of the commands. However, when I attempt to adjust/read GPIO bits, I have been quite unsuccessful.
I have been trying to get GPIO[0] to be read and set as an input (read every 32 Hz) on the CFA 633. The symptom of the problem is that I receive no acknowledgement packets back.
I use the same data format that I used for other functions(printing to screen, boot image, etc). Even the example of ensuring that some GPIO bits are set correctly from the PDF don't work for me.
(i.e. command = 34; length = 3; data[0] = 2; data[1] = 0; data[2] = 2 <-- Ensures GPIO[2] operates correctly as ATX POWER)
In my code, when I switch command to 6 and length to 0 for example, the clear Screen command does indeed work (and sends back an ack).
I am running HW: 1.5a and FW:k1.9, which I assume to be the latest and greatest...
What confuses me is that your Wintest seems to be able to retrieve acknowledgements from these commands(34/35) whether they err or not, but my code doesn't seem to, although it works for other commands. I am runnign Fedora right now, but I don't think it would mess up only those two commands while leaving the rest perfectly fine.
Also, could you tell me the aperture size for the sampling of the GPIO bits as inputs?
Please respond as soon as you can. Thanks!
I have been creating a C library for the CFA635 and CFA633 commands and have somewhat successful. I have been able to transmit commands and receives acknowledgements / status updates on the majority of the commands. However, when I attempt to adjust/read GPIO bits, I have been quite unsuccessful.
I have been trying to get GPIO[0] to be read and set as an input (read every 32 Hz) on the CFA 633. The symptom of the problem is that I receive no acknowledgement packets back.
I use the same data format that I used for other functions(printing to screen, boot image, etc). Even the example of ensuring that some GPIO bits are set correctly from the PDF don't work for me.
(i.e. command = 34; length = 3; data[0] = 2; data[1] = 0; data[2] = 2 <-- Ensures GPIO[2] operates correctly as ATX POWER)
In my code, when I switch command to 6 and length to 0 for example, the clear Screen command does indeed work (and sends back an ack).
I am running HW: 1.5a and FW:k1.9, which I assume to be the latest and greatest...
What confuses me is that your Wintest seems to be able to retrieve acknowledgements from these commands(34/35) whether they err or not, but my code doesn't seem to, although it works for other commands. I am runnign Fedora right now, but I don't think it would mess up only those two commands while leaving the rest perfectly fine.
Also, could you tell me the aperture size for the sampling of the GPIO bits as inputs?
Please respond as soon as you can. Thanks!
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.