Skip to main content
Associate
March 24, 2025
Question

STM32L4 - Reading an external ADC via OctoSPI

  • March 24, 2025
  • 1 reply
  • 580 views

Hello ST-Community. 

We are evaluating STM32L4 MCU in order to operate in conjunction with an external ADC via SPI compatible interface. 
The interface requires : two MISO (DOUTx), 1xCLK, MOSI is not required.

Levanov_0-1742812593156.png


I assume that we could try this configuration of OctoSPI in CubeMx, but as the OctoSPI interface is mainly done to control FLASHs, I concern that we will need to customize a lot.

Levanov_1-1742812734864.png

---
Did anyone use it OctoSPI for this kind of application? 
Is there other suggestions? 

Thank you!

PS. we understand, that we could use two SPI masters or SW GPIO control in order to imitate this protocol.



1 reply

Andrew Neil
Super User
March 24, 2025

@Levanov wrote:

 an external ADC via SPI compatible interface. 
The interface requires : two MISO (DOUTx), 1xCLK, MOSI is not required.


That seems to be rather stretching the claim, "SPI compatible" ?!

Please give the part number of the device.

What does the manufacturer recommend/suggest?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
LevanovAuthor
Associate
March 24, 2025

The P/N is MAX11192.
I did not find that they suggest something particular to read this ADC. 

Andrew Neil
Super User
March 24, 2025

So this: https://www.analog.com/en/products/max11192.html

(always helpful to provide a link)

 

AndrewNeil_0-1742820784108.png

 

Have you tried the ADI forums, or tech support?

https://www.analog.com/en/support.html 

https://ez.analog.com/

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.