Hi all ,
A simple question:
I have an external ADC, and to get the values, I need to generate cyles to obtain the values. My SPI is configured as master + fullduplex mode and to receive bytes I have to send a dummy byte for each received byte.
Now according to the datasheet I don't want send anything ( don't send this dummy byte) , I want only play with the clock and receive the values because my MOSI line should stay at "0".
What do I have to do ?
What do you think if after the init of my external adc I reconfigure my SPI as half duplex ( Master + receiver ) ? It should help me ? If yes , which API I have to use ?