cancel
Showing results for 
Search instead for 
Did you mean: 

My name Didi Avram. How to read entire port (Example PORTD) connected to external ASC. I use STM32F401.

DAvra
Associate II
4 REPLIES 4
somevariable  = GPIOD->IDR;

Read the GPIO chapter in Reference Manual.

JW

Ozone
Lead II

> ...connected to external ASC.

What is "ASC" ?

Or do you mean ADC, like in the tags ?

If so, check the datasheet of your unnamed external ADC.

In my application I use an external 16bits ADC, the Data from ADC connected to PORTD on MCU stm32f401. My requirements to read data from ADC.

Thanks,

Regards Didi

You need to implement the protocol defined in the datasheet of the ADC.

It describes the data and control signals required to connect, and the signal sequences.

Telling us which ADC type might be helpful ...