It would be good if you attach the block diagrams with the required interface connections.
If your ADC gives parallel data, then you can use GPIF. If however your ADC gives serial data, FX3 provides you with serial interfaces as well (we also have sample firmware for serial communication in FX3 SDK)
Thanks for your answer.Because my data is parallel,I am learning GPIF and I want to use FX3 to control my ADC.So I wonder if it can be finished by state machine? Or I have to finish On arm9 programming.Thank you !
You can use the GPIF interface, and use the ADC output to indicate the GPIF when to sample. Let us know for any further query. Please note that GPIF can be configured for 8/16/24/32 bit only.
Thanks for your reply.You mean FX3 only can be configured for 8/16/24/32 bit only.If my data is 13 bit,dose it mean I can not use the FX3? Thank you.
The GPIF has to be configure in one of the 8/16/24/32bit mode. IF you have 13 bits, you can consider 16 bit interface, but every time, you will have to discard the last 3 bytes of every IN_data call.
hello ,Nishant ,how to discard the last 3 bytes of IN_data,use counter of GPIF? Is there some attached example?I read the fimeware ,but they are all 8/16/32 bit data ,so need not consider this problem .But I need to consider?please help me!
thank you !