dsPIC33CK: Am I interfacing my dsPIC33CK256MP506 to 2-channel 8-bit AD9288 ADC correctly?
I need to sample and convert two analog channels simultaneously, at sample/convert speeds > 10Msps.
I don't need the ADC resolution to be super high, so I'm planning on using 8-bits.
What I've got so far is a dual-channel, 8-bit, AD9288 ADC, which performs a sample/convert sequence on the rising edge of an input sample clock. I'm planning on using the REFCLKOUT feature from the dsPIC to provide this ADC sample clock, which I've tested on my current board and I know works.
My question is this. Can I route both sets of 8-bit conversion outputs from the AD9288 to a single, 16-bit port on my dsPIC and perform a port read (PORT D in my case)? And then do some bitwise ANDING and 8-bit shifting to separate the data? Kind of like the pseudocode shown below:
(Use DMA to transfer PORT D data to uint16_t AD9288_ADC_DATA)
(DMA transfer done interrupt)
uint16_t AD9288_ADC_CHANA_DATA = AD9288_ADC_DATA && 0xFF00;
uint16_t AD9288_ADC_CHANB_DATA = (AD9288_ADC_DATA && 0x00FF) << 8;
If it's not too much trouble for anyone to answer, would this data acquisition scheme work? I've attached a picture of a partial schematic here. Hopefully, the quality is not too poor.