2018-04-13 01:39 AM
I am firmware engineer. But I am a beginner for ST.
I try to get 6 channel ADC 16bit data in high spped by DMA.Now, I have a nucleo-L496ZG board and a TI ADS8364 ADC board.
- STM32L496ZG (with FMC)
- TI ADS8365 (6 Channel simultaneous sampling SAR parallel ADC).1)
One person says that I can use FMC in it.But I have no experience to use FMC/FSMC with parallel ADC.2)
Or. some article says that I can use 'Parallel synchronous transmission using GPIO and DMA' method to this design.But I have no expereince about it, too.I can't find two methods in detail document in the internet.
Can you explain two methods for my design in detail? (some HAL source code example, too, if you can)
Or another good design....(some HAL source code example, too, if you can)2018-04-13 02:14 AM
If I may ask - what is the reason for choosing an ADC with parallel interface ?
An SPI interface would be more than appropriate for the expected data rate, without wasting so much IO lines.
2018-04-13 04:42 AM
AvaTar, thank you for quick reply.
I need to read 6 fast ADC data and less CPU usage with DMA. So, I tried to use the ADC.(6 channel parallel ADC (250Ksps) )2018-04-13 05:03 AM
You can read about any peripheral unit per DMA, including SPI.
Don't know the L496 in detail, but ST's internal ADCs use to support higher sampling rates.
It is up to you if you really need 16 bit resolution (and your hardware design can sustain it).
2018-04-22 10:55 AM
Hi Edward,
Maybe you can take inspiration from this post:
https://community.st.com/0D50X00009XkYPKSA3
L4 device had 3 ADC running at 5Msps with differential mode features and DMA.
I do not know what types of waveforms you need to convert, but I think you can use the internal ADC instead of the external component.
Best regards
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2018-04-28 09:27 PM
I know L4 had 3 ADCs, but they're 12-bit. I want 16-bit ADC...So I try to use an external 16-bit ADC.
2018-04-29 11:09 AM
I want 16-bit ADC...
But do you really need 16 bit, and does your hardware design really sustain that resolution ?
Presume a motor control application were the ADC is sued for current feedback.
If the control loop works well with 12 bit, you waste your time.
If the least 3 or 4 bits of your 16 bit values are only noise, too.