Commit Graph

132 Commits

Author SHA1 Message Date
67e7bf4af2 Add instructions for firmware development 2024-12-20 17:40:08 +08:00
b87fad5ed4 Add hardware specific patch to linien
- Correct MHz and Voltage Scaling
- Hide Analog Out related GUI Elements
- Change default amplitude and frequency values
2024-12-20 16:29:17 +08:00
372aac6a44 Reorganize flake.nix
- No functional change
2024-12-20 16:29:04 +08:00
e05f31b70c Disable OTA Update on client and gui 2024-12-20 16:28:53 +08:00
67cba47a3f Change ssh port from 22 to 3030 2024-12-18 14:02:36 +08:00
a87a0a224f Upgrade linien from v1.0.0 to v2.1.0
- Add linien GUI dev shell for fast servo platform
2024-12-18 12:43:12 +08:00
eb0d01d339 nixos 24.11 2024-12-17 16:41:29 +08:00
b631c1fa4a pid: add pipeline on error signal computation 2024-12-11 15:24:27 +08:00
bc5d24a69a Fix malformed pid_pipeline patch 2024-12-11 12:36:02 +08:00
0f15e0ef70 Add patches to fix timing errors in gateware 2024-12-11 11:01:15 +08:00
5816c070ef flake: update dependencies 2024-12-04 23:02:47 +08:00
322d61d436 iproute -> iproute2 2024-12-04 23:02:39 +08:00
3be72cd2dc update vivado 2024-12-04 22:14:08 +08:00
77643909ef pyfastservo: add note for dac output override 2024-11-15 15:42:25 +08:00
a5dc232be4 gateware: add cdc fifo for dac output value override csr 2024-11-15 15:42:25 +08:00
87059eef2b gateware: async fifo with depth of 2 is broken
- Changing depth to 4 has resolved cdc issue
2024-11-15 15:42:25 +08:00
8a40bb4f21 gateware: Add cdc fifo for adc and dac
- dco2d and sys clk use two different clock sources
2024-11-13 15:43:35 +08:00
bbe09de52c pyfastservo adc: Add helper fn for phase shifting the dac ddr clock 2024-11-08 16:37:29 +08:00
9f2e609b6e pyfastservo dac: Change debug MSG 2024-11-08 16:37:16 +08:00
6705b182d5 pyfastservo dac: power_down -> power_down_afe 2024-11-08 16:35:52 +08:00
51c8b755d2 pyfastservo dac: hard_reset -> soft_reset 2024-11-08 16:35:52 +08:00
5d55ab4c9c pyfastservo dac: reacquire clk relationship at init 2024-11-08 16:35:52 +08:00
560b28508c pyfastservo dac: turn off manual override by default 2024-11-08 16:35:52 +08:00
b1a9fa0ad4 pyfastservo adc: Set default afe gain to 10x 2024-11-08 16:35:52 +08:00
5343b3d45a pyfastservo adc: print 100 times to check test pattern 2024-11-08 16:35:52 +08:00
4940ee52cc pyfastservo adc: Add mmcm rst after ADC is rst 2024-11-08 16:35:52 +08:00
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
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
e708696b5d add grep and vim 2024-10-31 19:06:59 +08:00
3cf9a721cf add linuswck ssh key 2024-10-31 14:54:14 +08:00
8b20379427 remove nixos armv7l unofficial binary cache 2024-08-22 14:14:51 +08:00
15a66c01fa dac: fix initialization order 2024-08-20 16:35:49 +08:00
2d75b4112e flake: update dependencies 2024-08-19 22:03:51 +08:00
ed816517cf si5340: implement paged register writes
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
2024-07-31 16:44:39 +08:00
f5729d3bdb pyfastservo: update initialize script 2024-07-10 16:11:17 +08:00
e3b1525125 pyfastservo: fix adc init script and cleanup 2024-07-10 16:11:17 +08:00
b92d401f2b pyfastservo: fix dac init script and cleanup 2024-07-10 16:11:17 +08:00
eed43e3fe3 pyfastservo: transfer common functions to common 2024-07-10 16:11:17 +08:00
b2dedd77ad rebased from linux 6.6 LTS 2024-07-02 14:42:39 +08:00
693e301ccf fix pkgs.writeReferencesToFile deprecation and pin linux version 2024-07-02 14:26:07 +08:00
6fca060256 flake: update to nixpkgs 24.05 2024-07-02 14:23:54 +08:00
85af23e547 use recommended init sequence for si5340
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
2024-06-25 10:19:58 +08:00
c9d34348bc fix adc and dac initialization 2024-06-10 10:02:29 +08:00
db88e5db59 use libmonitor compiled by gnumake 2024-05-22 15:32:23 +08:00
7d5fbdd281 use fast-servo csrmap 2024-05-21 16:07:48 +08:00
fc71fe0ab3 fix incorrect terminology 2024-04-25 10:36:28 +08:00
1ee382564e add pyfastservo package and initialize at boot 2024-04-24 18:03:17 +08:00
7c6320f66d configure loading of bitstream at boot time 2024-04-24 18:03:17 +08:00
3d98549fd1 rename board specific packages 2024-04-23 14:19:19 +08:00
0ff299aa55 increase qemu image size 2024-04-04 13:43:19 +08:00