Skip to main content
DAvra
Associate
February 28, 2021
Question

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

  • February 28, 2021
  • 4 replies
  • 1159 views

..

This topic has been closed for replies.

4 replies

waclawek.jan
Super User
February 28, 2021
somevariable = GPIOD->IDR;

Read the GPIO chapter in Reference Manual.

JW

Ozone
Principal
March 1, 2021

> ...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.

DAvra
DAvraAuthor
Associate
March 5, 2021

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

Ozone
Principal
March 5, 2021

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 ...