Skip to main content
Visitor II
May 9, 2023
Question

How to simulate adc data in the AMICAM1\UltrasoundFFT based on NUCLEO-STM32L476RG ?

  • May 9, 2023
  • 0 replies
  • 896 views

Dear All:

We have project based on the AMICAM1\UltrasoundFFT project and would like add algorithms in it.

There are two major thread in the proect as below.


_legacyfs_online_stmicro_images_0693W00000biwytQAA.png
_legacyfs_online_stmicro_images_0693W00000biwyoQAA.png
_legacyfs_online_stmicro_images_0693W00000bix5VQAQ.pngFirst I use simulation data(different frequency tone) instead of real ADC data to test FFT algorithm in the AMICAM1\UltrasoundFFT project.

The following code tell MCU to get sensor data before FFT algorithm(512 point) in AMICAM1_Thread.


_legacyfs_online_stmicro_images_0693W00000biwyaQAA.png
_legacyfs_online_stmicro_images_0693W00000bix0GQAQ.png
_legacyfs_online_stmicro_images_0693W00000bix2bQAA.png
_legacyfs_online_stmicro_images_0693W00000bix14QAA.pngHow to use simulation signal to replace these real ADC data in the function below.


_legacyfs_online_stmicro_images_0693W00000bix3yQAA.pngBest regards,

sheng-hua

    This topic has been closed for replies.