This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NIRscan的同步输出信号

Other Parts Discussed in Thread: AM3358, DLPC350

您好,

能否请教一下,当我在NIRscan_EVM平台,将AM3358中的图片发送到DLPC350。

使用命令dlp_nirscan -l40 -E250 -S960的命令的时候会发出多少个pattern,同时发出多少个trig_out1和trig_out2,是怎么算的,为什么我测出的结果是trig_out1--506个脉冲,trig_out2--12650个脉冲?这是怎么计算的?

pattern和trig_out的关系是怎样的?

我怎么样才能在这种方式下得到一个pattern对应一个trig_out的输出?

谢谢!

  • DLP NIRSCan是一个完整系统.

    dlp_nirscan -l40 -E250 -S960中关于L, E, S定义在dlp_nirscan.c这些是开源的.

    它是根据系统配置来自动计算而产生影Pattern而trigger的.使用的Stream RGB接口.

    如果要独立分开:自行定义开发算法

    Pattern和Trigger_out.这个对于stored pattern是有效的.

    可以参考:http://www.ti.com/lit/pdf/dlpu010

    第41页.



    { "stream-images", 1, 0, 'S' },
    { "load-images", 1, 0, 'l' },
    { "do-calibration", 0, 0, 'C' },
    { "set-adc-data-rate",1, 0, 'D' },
    { "prep-scan-solution", 1, 0, 'P' },
    { "build-firmware", 1, 0, 'B' },
    { "upload-firmware", 1, 0, 'U' },
    { "num-images", 1, 0, 'n' },
    { "first-img-idx", 1, 0, 'i' },
    { "scan-img-count", 1, 0, 'c' },
    { "set-exposure-time", 1, 0, 'E' },
    { "init-dlpc350", 0, 0, 'I' },
    { "init-dlpc350-video-mode", 0, 0, 'V' },
    { "print-version", 0, 0, 'v' },
    { "measure-flash-loadtime", 0, 0, 'M' },
    { "generte-absorption-spectrum", 0, 0, 'G' },
    { "set spi clock speed", 1, 0, 's' },
    { "name of adc reading file", 1, 0, 'f' },
    { "name of reference reading file", 1, 0, 'r' },
    { "find peaks", 1, 0, 'p' },
    { "scan iterations", 1, 0, 'L' },
    { "delay b/w each iteration in milliseconds", 1, 0, 'd' },
    { "PGA multiplier value", 1, 0, 'g' },
    { "write-calinfo", 0, 0, 'W' },
    { "restore-calinfo", 0, 0, 'R' },
    { "compute-coefficients", 2, 0, 'w' },
    { "find pixel position", 1, 0, 'x' },
    { "find wavelength", 1, 0, 'y' },
    { "first-pixel", 1, 0, 'A' },
    { "last-pixel", 1, 0, 'Z' },
    { "num-patterns", 1, 0, 'N' },
    { "use-hadamard-patterns", 1, 0, 'H' },
    { "generate-odd-column-bands-only", 0, 0, 'o' },
    { "generate-even-column-bands-only", 0, 0, 'e' },
    { "find hadamard mean readings", 1, 0, 'm' },
    { "begin-number", 1, 0, 'b' },
    { "threshold-factor", 1, 0, 'T' },
    { "read-samples", 1, 0, 't' },
    { "use-alternate-streaming-method", 0, 0, 'a' },
    { NULL, 0, 0, 0 },
    };