Page 1 of 1

write data to the sd card or usb

Posted: Thu Mar 08, 2018 5:26 pm
by gibokilo
Hi I am new with the red pitaya, and was wondering if I can write data to the sd card , if so how will I go about it.
I wan to write a vector.
thanks

Re: write data to the sd card or usb

Posted: Thu Mar 08, 2018 5:44 pm
by amike88
Hi,

yes it is possible to write data to a file on SD card. Data can be of a type vector.
If you are trying to save acquiered data, you can read more over here.

Please post more details on what you are trying to do, so we can give you a more precise answer.

Re: write data to the sd card or usb

Posted: Fri Mar 09, 2018 9:45 am
by gibokilo
I am connecting a sin gen to port one, and collecting data from the adc, I want that data to be store in a file in the sd card.

Re: write data to the sd card or usb

Posted: Fri Mar 09, 2018 10:43 am
by amike88
How often are you sending data and receiving data?

The limiting factor here is the speed of the SD card, then there is also a detail on how RP stores data.

The process is that ADC data is stored in the FPGA memory which is a 16k samples block, then this data can be read and stored. However during the reading step no new data is acquired.

Re: write data to the sd card or usb

Posted: Fri Mar 09, 2018 11:04 am
by gibokilo
2 msps, do you think it will be better to store data in a usb ?

Re: write data to the sd card or usb

Posted: Fri Mar 09, 2018 3:55 pm
by amike88
I think that this speed should be achievable with out any problems with an SD card.