High speed data logger Binary mode (100kHz)

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Demos > Standard Peripherals Demos > SDIO > Hi Speed Data Logger >

High speed data logger Binary mode (100kHz)

Previous pageReturn to chapter overviewNext page

Demo File: hs_data_logger_binary_demo.mdl

amg_sdio_demo_binary_model

Description

This demonstration how to log the data into SD card with high speed data rate. Up to 100kSamples/Seconds using Binary data format.

Software Setup

amg_sdio_demo_binary_mask

 

Hardware Setup

amg_sdio_demo_ascii_hw1

 

amg_sdio_demo_ascii_hw2

Testing

Build this demo model into target board (STM32F4 board).

1. Update model, by click "Update diagram" on tool bar or press Cntrl + D keys to update the sample time of blocks. You may need to update diagram two times to make sample time showing correctly.

2. Build model into target board. By click icon "Incremental build" on toolbar or press Cntrl + B then wait until Auto compile & Download finish.

3. First data logging start, LED Busy will turn on then blinking for Card initialize. This may take time from 10 seconds to few minutes depending on number of logging record.

4. During data logging is in progress, LED progress will blink with speed 10Hz (ON 0.1S/ OFF 0.1S).

5. When Logging is finish,  LED progress will blink at slow rate 0.25Hz (ON 2S/ OFF 2S). User can remove SD Card.

 Note: Time for log the data (After initialize); 1000000 * 10e-6 = 10 Seconds.

6. Verify logging message: PASS

amg_sdio_demo_binary_test1

7. Open logging data - open with Hex viewer.

First record:

amg_sdio_demo_binary_test2

Last record:

amg_sdio_demo_binary_test3