필터 지우기
필터 지우기

How to log data to the SDcard of the embedded USRP E312?

조회 수: 2 (최근 30일)
hao li
hao li 2019년 11월 3일
댓글: Ousman Sadiq 2019년 11월 5일
Hello! I am working on a work which can gather the wireless data and save it to the SD card of E312 embedded serial USRP. Does any one have any idea? Thank you?

채택된 답변

Ousman Sadiq
Ousman Sadiq 2019년 11월 4일
The E312 is supported with the USRP Embedded Series Radio support package.
This will allow you to connect to the hardware from MATLAB and directly stream samples into the host. Depending on the bandwidth required and the amount of samples needed this may be sufficient for the use case. Particularly burst mode can be used to stream a limited about of samples at the highest baseband sample rate.
If there is a hard requirement to record directly to the SD card then using the HW/SW co-design workflow, one can deploy HDL to the FPGA, or software to the CPU using Simulink.
In Simulink there are no blocks available to write to a file on the SD card. However, is is possible using a MATLAB function block and authoring MATLAB code to manually, open and write to a file that the desired outcome can be achieved.
In our experience attempting to write data directly to the SD card suffers from performance issue, especiialy when trying to stream data continuously at a high rate.
Would it be possible to get some information about the sample rates, number of channels, and how long you want to record data for?
Regards,
Ousman
  댓글 수: 2
hao li
hao li 2019년 11월 5일
편집: hao li 2019년 11월 5일
The sample rate is 500kHz. 2 channel, 1-2 minutes data logging
Ousman Sadiq
Ousman Sadiq 2019년 11월 5일
Your data rate with this set up will be calculated as follows
Baseband sample rate * I/Q sample width * Number of channels = data rate
500000 * 32 * 2 = 32 Mbits/second = 4 MBytes/second.
You can try streaming this to the host, checking for overflows to ensure you have contiguous data, or create a custom MATLAB function for software code generation.
Regards,
Ousman

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Communications Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by