Commit Graph

112 Commits

Author SHA1 Message Date
linuswck 51c8b755d2 pyfastservo dac: hard_reset -> soft_reset 2024-11-08 16:35:52 +08:00
linuswck 5d55ab4c9c pyfastservo dac: reacquire clk relationship at init 2024-11-08 16:35:52 +08:00
linuswck 560b28508c pyfastservo dac: turn off manual override by default 2024-11-08 16:35:52 +08:00
linuswck b1a9fa0ad4 pyfastservo adc: Set default afe gain to 10x 2024-11-08 16:35:52 +08:00
linuswck 5343b3d45a pyfastservo adc: print 100 times to check test pattern 2024-11-08 16:35:52 +08:00
linuswck 4940ee52cc pyfastservo adc: Add mmcm rst after ADC is rst 2024-11-08 16:35:52 +08:00
linuswck 382e8467d9 pyfastservo adc: Fix find edge bug
- Fix: if frame changed at 31 tap delay, edge would not get detected
2024-11-08 16:35:52 +08:00
linuswck 6cef418756 gateware: Add CSR Ctrl to PL's MMCM
- Generate 45 Degree Phase Shifted DDR Clock
- PLLE2_Base -> MMCM_ADV for ddr clock dynamic phase shift
- Add mmcm_rst, ddr_clk_ps, mmcm_locked status to CSR
- Generate dco2d rst signal from mmcm and connect to the related logic
2024-11-08 16:33:17 +08:00
Florian Agbuya e708696b5d add grep and vim 2024-10-31 19:06:59 +08:00
Florian Agbuya 3cf9a721cf add linuswck ssh key 2024-10-31 14:54:14 +08:00
Florian Agbuya 8b20379427 remove nixos armv7l unofficial binary cache 2024-08-22 14:14:51 +08:00
Florian Agbuya 15a66c01fa dac: fix initialization order 2024-08-20 16:35:49 +08:00
Sebastien Bourdeauducq 2d75b4112e flake: update dependencies 2024-08-19 22:03:51 +08:00
Florian Agbuya ed816517cf si5340: implement paged register writes
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
2024-07-31 16:44:39 +08:00
Florian Agbuya f5729d3bdb pyfastservo: update initialize script 2024-07-10 16:11:17 +08:00
Florian Agbuya e3b1525125 pyfastservo: fix adc init script and cleanup 2024-07-10 16:11:17 +08:00
Florian Agbuya b92d401f2b pyfastservo: fix dac init script and cleanup 2024-07-10 16:11:17 +08:00
Florian Agbuya eed43e3fe3 pyfastservo: transfer common functions to common 2024-07-10 16:11:17 +08:00
Florian Agbuya b2dedd77ad rebased from linux 6.6 LTS 2024-07-02 14:42:39 +08:00
Florian Agbuya 693e301ccf fix pkgs.writeReferencesToFile deprecation and pin linux version 2024-07-02 14:26:07 +08:00
Florian Agbuya 6fca060256 flake: update to nixpkgs 24.05 2024-07-02 14:23:54 +08:00
Florian Agbuya 85af23e547 use recommended init sequence for si5340
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
2024-06-25 10:19:58 +08:00
Florian Agbuya c9d34348bc fix adc and dac initialization 2024-06-10 10:02:29 +08:00
Florian Agbuya db88e5db59 use libmonitor compiled by gnumake 2024-05-22 15:32:23 +08:00
Florian Agbuya 7d5fbdd281 use fast-servo csrmap 2024-05-21 16:07:48 +08:00
Florian Agbuya fc71fe0ab3 fix incorrect terminology 2024-04-25 10:36:28 +08:00
Florian Agbuya 1ee382564e add pyfastservo package and initialize at boot 2024-04-24 18:03:17 +08:00
Florian Agbuya 7c6320f66d configure loading of bitstream at boot time 2024-04-24 18:03:17 +08:00
Florian Agbuya 3d98549fd1 rename board specific packages 2024-04-23 14:19:19 +08:00
Florian Agbuya 0ff299aa55 increase qemu image size 2024-04-04 13:43:19 +08:00
Florian Agbuya c2d38540c0 integrate linien-server to not-os 2024-04-04 13:06:01 +08:00
Florian Agbuya d9a2d60b50 configure arm linux toolchain 2024-03-26 17:53:25 +08:00
Florian Agbuya 26dd210eb6 rebase from 251f65f 2024-03-26 17:51:46 +08:00
Florian Agbuya 251f65f217 cross-compilation transferred to crossSystem 2024-03-26 17:50:40 +08:00
Florian Agbuya 0d3f87c5bc use nix gnu toolchain format for baremetal apps 2024-03-25 15:14:15 +08:00
Florian Agbuya 208d56adb2 fix linien-server red pitaya dependencies 2024-03-20 13:40:09 +08:00
Florian Agbuya 628582a981 add spidev on device tree 2024-03-15 11:46:51 +08:00
Florian Agbuya bc09e60a15 add fpga programming support 2024-03-14 13:03:09 +08:00
Florian Agbuya 88b3197c0c add provenance information 2024-03-08 14:35:59 +08:00
Florian Agbuya 0cda432bf9 add fast-servo python init scripts 2024-03-08 14:35:59 +08:00
Florian Agbuya 1244c84f67 fix typo 2024-03-06 17:53:13 +08:00
Florian Agbuya 3618a1f17d add linien-server package 2024-03-06 11:48:08 +08:00
Florian Agbuya 22992e2e82 update nixpkgs and use upstream qemu 2024-03-05 09:50:55 +08:00
Florian Agbuya d6ac3944fb linux: add fpga support 2024-03-04 17:40:33 +08:00
Florian Agbuya c61597ea4f fix qemu build errors 2024-03-01 18:09:53 +08:00
Florian Agbuya efe58d8106 move not-os patches to dedicated folder 2024-03-01 17:14:09 +08:00
Florian Agbuya 007ca18cab fix homeless-shelter error 2024-03-01 16:39:56 +08:00
Florian Agbuya 506bbcc0db add fast-servo linien gateware 2024-03-01 16:39:56 +08:00
Florian Agbuya e12b672cdc add __pycache__ 2024-03-01 16:39:56 +08:00
Florian Agbuya cd9590503c add fast-servo gateware support files 2024-03-01 16:39:56 +08:00