Skip to main content
Abu Ziyech
Visitor II
February 10, 2022
Question

[Proximity Sensor ADC with DMA Problem] I have GP2Y0A41SK0F Sharp for distance measuring sensor. the datasheet says it needs 16.5 ms with 3.7 ms tolerant. for sampling time. So I assumed I need to configure PCLK2 (I use ADC2), ADC Clock Prescaller, .

  • February 10, 2022
  • 1 reply
  • 900 views

channel sampling, then calculate those parameters until 16.5 ms found. The problem is kinda impossible to get 16.5 ms even I tried to adjust those parameter. anyone has a clue? Iam using STM32F407VGx

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
March 28, 2022

I'd post this to the STM32 community. If you post it to the Time-of-Flight group the only thing you will get is a suggestion that you should have used an ST Time-of-Fight rather that that Sharp device.

(Just kidding, but I don't know enough about the STM32 and Sharp to be useful to you. Try the STM32 page.)

  • joh
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.