Other Parts Discussed in Thread: TMS570LC4357
Hi,
I want to make a SAR ADC interface with Hercules TMS570LC4357.
My ADC is 16 bit SAR ADC which has a serial SPI interface for data. (Linear Tech. LTC2323-16)
I want to connect this ADC to Hercules MibSPI port. At first it seems easy but when i go in detailed i am not sure if i can connect and get the data correctly.
ADC must be slave because SPICLK must be input to ADC so my MibSPI port must be master.
ADC has a CNV input to start conversion but this input must not have much jitter because of the SNR issues so i will use an external oscillator for this signal.
This CNV signal will be 1 MHz in as my sampling rate will be 1 MSPS.
At this point i decided to connect this CNV signal to one of GIO pin of MCU that will be input pin.
Then i will configure this input GIO pin as an event trigger for MibSPI to start TX.
When MibSPI starts to make transmission the SPICLK will be output so the ADC will give the data.
On the orherside i will configure the DMA in order to transfer the mibSPI RX data to the Memory.
I am thinking that by using this way i can get 16384 samples of ADC data without interrupting my software.
Is this the true way to make a SAR ADC interface by Hercules MCU.
Any other design ideas ?
Thanks.
Mustafa Su.