Wykres commitów

224 Commity (main)

Autor SHA1 Wiadomość Data
David Michaeli 211e5a3ff2 re-added pmod sync-inout in firmware
modem spi freq 4MHz
2024-04-09 13:15:15 +03:00
David Michaeli 1b34c568ff update firmware for tx control signals output on pmod
added dsp flow example
2024-03-16 12:14:41 +02:00
David Michaeli 21a97334a7 rearranged api examples 2024-03-14 23:45:09 +02:00
David Michaeli f8793a7ffe firmware removed debug on LEDs
driver cleanup unused variables
2024-03-14 23:26:20 +02:00
David Michaeli 96828b4bcc firmware update - syncs, ioctrl, smi_ctrl(dir and channel)
fpga driver update
smi_stream_driver update thanks to @matteoserva great work
2024-03-14 22:59:38 +02:00
matteo serva 26fe48f53d fixed driver lockup at channel 0 RX. The fpga firmware
was using the smi address pins to determine which channel can write the complex_fifo.
The read side of the complex fifo is connected to the DREQ pin of the SMI interface on the raspberry.
The address pins on the smi interface are at logic 1 when no transfer is in progress.

This caused a deadlock condition: the SMI address pin is at 1, so the fifo cannot be filled, so the DREQ cannot be asserted and the SMI cannot start reading data.
2024-03-13 20:42:30 +01:00
David Michaeli b4e98fc210 Kernel Module - replaced kmalloc with vmalloc for larger memory allocations for kfifos
changed kfifo_alloc to kfifo_init accordingly
2024-02-28 01:40:51 +02:00
David Michaeli 1e4dd2fbad further update to the flush errors in module 2024-02-08 01:38:21 +02:00
David Michaeli 5af8e900e7 Merge branch 'main' of https://github.com/cariboulabs/cariboulite 2024-02-06 18:08:22 +02:00
David Michaeli 2c7f8d9cd9 buffer flush improvement 2024-02-06 18:07:39 +02:00
alon cda5be1b0e removed new/delete and made backwards compatible 2024-02-06 16:56:44 +02:00
alon 6050cf0627 block compiles 2024-02-06 16:56:44 +02:00
alon b8a9fe8dc0 up 2024-02-06 16:56:44 +02:00
David Michaeli 206e1cbb11 removed unwanted merge artifacts 2024-02-06 16:36:36 +02:00
David Michaeli 8bdaa6336d Merge branch 'main' of https://github.com/cariboulabs/cariboulite 2024-02-06 16:23:28 +02:00
David Michaeli 661c48b198 fixed flushing mechanism - includes double buffer streams that are also flushed 2024-02-06 16:04:18 +02:00
David Michaeli a13b719e52 module changes for flush over rpizero 2024-02-05 19:42:27 +02:00
David Michaeli 93b639da58 frame synchronization on read fix bug (seg fault) 2024-02-03 23:55:46 +02:00
David Michaeli f98c85d732 bugfix instanciation of cpp api 2024-01-31 15:34:39 +02:00
David Michaeli 8ca8b6ac9f added synchronous api for reading and writing in cpp api
changed internal complexint to std::complex<short>
2024-01-29 22:08:04 +02:00
David Michaeli 43c505db2d sighandler explicit function 2024-01-29 16:24:13 +02:00
David Michaeli 5ca7c52d81 signal caught segfault fix 2024-01-29 15:50:45 +02:00
David Michaeli 35e832e25d io ctrl button polarity change 2024-01-29 11:25:26 +02:00
David Michaeli 0ed53aa3ff IO control from API c and CPP
Flush control on I/Q streams
2024-01-29 10:50:06 +02:00
David Michaeli 4d993d25ef Added of flushing to rx buffer.
bug fix in cpp api
2024-01-21 14:09:51 +02:00
David Michaeli b16d470fe4 Merge branch 'main' of https://github.com/cariboulabs/cariboulite 2024-01-11 00:19:41 +02:00
David Michaeli acaed4836f driver changes - channel switching, sema timeout reduction, api frequency ranges bugfix for hif 2024-01-11 00:18:30 +02:00
Paulo-D2000 2d78b27ff7 CW TX working with SoapySDR API / Fixed Wrong streamWrite function overload 2023-12-08 12:15:20 -03:00
David Michaeli 9e13cf7999
Merge pull request #146 from sergeyvfx/fix_shared_ptr
Fix compilation error with undefined shared_ptr
2023-12-05 15:22:14 +02:00
David Michaeli b07ff0338c New RPI distro bookworm kernel install issues solving
reverted to 6.1.21-v8+
added ldconfig to install script
2023-11-27 00:45:25 +02:00
Sergey Sharybin a6a8a005a2 Fix compilation error with undefined shared_ptr
`std::shared_ptr` requires `<memory>` header. Without it being
included explicitly some compilers might fail to compile (while
others might have been using the header indirectly).

Fixes compilation error with GCC 12 on Raspberry Pi OS.
2023-10-21 12:37:35 +02:00
David Michaeli 72946535f8 no change 2023-10-01 23:20:24 +00:00
David Michaeli 15fa286dc6 smi read arbitrary size vector read 2023-10-01 23:19:11 +00:00
David Michaeli e33f2f2cd7 added rx handlers to cpp api
cpp_api example
2023-10-01 22:55:52 +00:00
David Michaeli de00f43614 added c++ native api wrapping the c api 2023-10-01 18:39:04 +00:00
David Michaeli 4228a07223 added float control on bandwidth and sample rate in the API
fixed enums of bandwidth
2023-09-28 15:11:01 +00:00
David Michaeli 6016e3c1e2 added hat detection api 2023-09-28 11:16:11 +00:00
David Michaeli 70ba2bdf69 1. added channel definitions to main API
2. minor channel naming changes (enums)
3. frequency limits definitions in main API
2023-09-28 10:22:05 +00:00
David Michaeli b2d43a17ef library pkg-config for c library installation and usage example
ustimer removed from library
bugfixes
2023-09-27 13:13:01 +00:00
David Michaeli ebbf12e363 radio & setup changes to separate internal and exported functions
added h/c files for external general api
added pkg-config
2023-09-26 22:57:26 +00:00
David Michaeli a698dcf02a Kernel Driver: module timeout issue when switching streaming channels. caused due to waiting to a timeout on the previous channel. That
stream stopped thus the buffer never filled up. solved by aboting the waiting semaphore on channel switch
SMI: fixed low sample rate timeouts and a function for timeout calculation on read
Radio: FPGA soft reset on start caused faulty operation. needs investigation.
Radio: removed redundant sleeps
Various bug fixes.
2023-09-26 17:29:23 +00:00
David Michaeli 7430f7527c trying to eliminate timeouts in fast channel transitions 2023-07-09 13:13:04 +00:00
David Michaeli 395c484a62 sphoradic fpga programming issue 2023-07-09 11:33:37 +00:00
David Michaeli 5840d627ce less verbosity
fixed soapysdr radio reference issue
2023-07-06 07:18:44 +00:00
David Michaeli 495234d3cf freq conversion change for low frequencies - high side instead of lo side 2023-07-04 17:33:33 +00:00
David Michaeli 2c8da45e51 mixer bug fix
added synthesizer lo output from mixer
2023-07-04 16:24:07 +00:00
David Michaeli c684e7c439 update and adapted firmware for tx 2023-07-03 12:20:50 +00:00
David Michaeli 1fdefef246 integration 2023-07-03 14:21:50 +03:00
David Michaeli fe2a2c8521 fixed driver install dir destination (@kng) 2023-06-17 04:23:14 +00:00
David Michaeli 35b847434d removed no more needed files in software repo 2023-06-13 13:59:16 +03:00