Red Pitaya DDR temporary fix #69
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "pca006132/zynq-rs:redpitaya"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Temporary fix for #67 by applying a subset of ps7_init data related to DDR for DDR initialization.
The current driver is a bit messy with ad hoc parameter settings for different models spread all over the code. Adding support for red pitaya may require changing quite a lot of code. (~30 registers) Also, it seems that the ps7_init data is a bit different from the value calculated from the datasheet and TRM instruction, so it may require some testing later to see if we should adopt which. I currently don't have enough time for doing that so I would just apply the ps7_init first.
A long term solution may require refactoring of the DDR module for specifying different parameters for different models, which may take a long term to do so.
I am thinking if it would be reasonable to generate that from ps7_init data. We can just write a simple parser to parse the ps7_init data, which the parameters are proved to be working, and we don't have to aggregate data from the datasheets manually which is a pain. However, that approach may not work for custom boards.