cancel
Showing results for 
Search instead for 
Did you mean: 

MAX11212 interfacing with stm32l053

NBhar.1
Associate II

Hey Guys ,

I am trying to interface MAX11212 adc with stm32l053 controller. But i am not getting any data on my RX buffer.

Details about max11212

  1. 18 bit adc
  2. two pin spi moudule with clock and dout pin
  3. 24 clock cycles required to send data on dout pin

My questions are

  1. How to generate 24 clock pulses?
  2. I have never used 2 pin SPI ,any suggestions how to configure 2 pin SPI module.

Thank you .

2 REPLIES 2

>>How to generate 24 clock pulses?

As if it were 3x 8-bit bytes

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

> I have never used 2 pin SPI ,any suggestions how to configure 2 pin SPI module.

Connect SCK to SCK. Connect DOUT to MISO. Ensure clock stays low during powerup to avoid spurious clocks. Use the SPI in master two-direction mode and leave the MOSI pin unconnected/uninitialized.

If you feel a post has answered your question, please click "Accept as Solution".