Commit Graph

23 Commits

Author SHA1 Message Date
fcde0a3d2b fixed error in chans setup (in f_ch_setup was adc_range value instead of channel mode). This error was breaking ADC setup process => ADC clock was internal, instead of SYN2_RISE 2025-10-16 18:49:40 +03:00
5a817dc910 implemented marking of desired events in logfile by void insert_marker_to_file(char* logfilename, char* marker_text). Also implemented marker correct displaying on plots 2025-10-14 19:22:58 +03:00
8c283cb262 added BF_enums.h and fpga_regs.h to git index 2025-10-09 17:26:22 +03:00
291c0af714 save main.c 2025-10-09 17:24:22 +03:00
c0bc702c24 added streams stop-start after changing of th working mode of blackfin software. It is nessesary because of problems with buffers and hdma queue (maybe) 2025-10-02 19:12:50 +03:00
fdcce2ca58 changed logfilname. Now logs appears in 2025-10-02 17:22:57 +03:00
4005818a19 fixed data in buffers alignments in SEMITRANSPARENT mode. 2025-10-02 17:20:50 +03:00
2755d0a7ae workflow: setup ADC and BF, run transparent mode, run semitransparent mode, run transparent mode again. every run fetches 1e5 words 2025-10-02 16:28:09 +03:00
60c823a8e2 implemented simple and robust function for receiving data and dumping it to the file: receive_to_file. Old function was somehow broken. 2025-10-02 16:01:32 +03:00
317a4afc60 implemented: ADC setups and channels are dumped to the logfile 2025-10-02 13:46:51 +03:00
60a5c90c88 implemented -- it runs C program and passes log filename to the plotter 2025-10-02 13:36:35 +03:00
26841ba30e data receive and all streams fails 2025-09-16 19:52:23 +03:00
dc6e7be012 added time measurement of HDMA receive 2025-09-16 16:51:54 +03:00
cf8bdd5b5c backup 2025-09-16 13:24:28 +03:00
a1dec94f1f added flushing (function X502_FlushRcv_buff) of receing buffer on PC between changing BlackFin settings via commands. 2025-07-21 19:08:48 +03:00
068b026473 working receiving data and dumping it to file. Also implemented simple python plotter of that data. 2025-07-17 19:09:57 +03:00
16c92aa730 Succesfullky receives ADC data from module 2025-07-02 18:54:01 +03:00
2bf0e01f20 implemented more accurate display of received arrays. Also implemented printing arrays as binary data. Working receive (by command) last piece of SPORT0 data 2025-07-02 15:47:24 +03:00
ebad5bbfc6 successfully executing multiple user commands 2025-06-27 19:17:02 +03:00
675d952752 successfully executing user cmd from file l502_user_process.c 2025-06-27 18:36:41 +03:00
587ba5245c successfully executing user cmd from file l502_user_process.c 2025-06-27 18:25:52 +03:00
c1f3d3262b succesfully loading firmware to BF and executing command L502_BF_CMD_CODE_GET_PARAM (aka f_cmd_get_param), with parameter and receiving data. This BF function was modified to reply hardcoded 44527 at param 87. Other params are working too 2025-06-27 17:53:50 +03:00
84e847ea14 initial commit. Thereis an old software for configuring and reading data from ADC in a RagiPhotonic generator 2025-06-27 15:20:50 +03:00