Hello.
We're planning on using a MIPI Antenna Tuner in our upcoming design and I'm referencing the documentation here for the PHASE ON (1) portion
The documentation for <phase_y> is confusing, it reads:
- <freq_y>
- Integer. The frequency in MHz to which the current RF frequency is compared. If current RF frequency is smaller than or equal to <freq_y>, then <data_0_y> is written to <addr_0> and <data_1_y> is written to <addr_1>. If the RF frequency is greater than <freq_k−1> (the last given frequency), then neither <addr_0> nor <addr_1> is written.
This seems to imply that freq_y should be entered in either ascending order or descending order. Ascending order seems like it won't work. For instance, if freq_0 = 800MHz, freq_1 = 900MHz and freq_2 = 1000MHz. Then, if freq = 850MHz, it is less than freq_1 but greater than freq_0, so nothing is written. If it is in decending order, it seems like addr_0 and addr_1 may be written multiple times. Is this correct?
It would help if you could give a specific example with some made up frequencies for freq_y and then say for different RF frequencies, which data_0_y is written.
EDIT: Additionally, could you clarify whether triggers are used at any time? There is a diagram (Figure 1 in MIPIRFDEV Set Command reference) that shows that triggers should be disabled during initial config. Can you clarify, should they always stay disabled?
Thank you!