Other Parts Discussed in Thread: DLPC-API, DLP4710LC
I am working with a EKB version of the DLP4710EVM-LC.
I'm just doing a test project to see what I can do, I've downloaded the DLPC API 1.5 and in the dlpc347x_dual project I commented out the main function in the sample.c and created my own main.cpp which I've attached to this for reference.
What I was attempting to achieve was to create several 1D 1-bit vertical patterns with N bars, in the current sample its 2,3,4 and 5 bar patterns in a single pattern set, then run these as an internal pattern
I tried to set everything up correctly however when I start running I dont see the patterns I set, they're close but not the same, after playing around with the GUI software it almost feels like its pointing to some stale memory somewhere, or offset.
One thing that I did notice is that DLPC34XX_DUAL_ReadInternalPatternStatus returns the following:
Name | Value | |
---|---|---|
PatternReadyStatus | DLPC34XX_DUAL_PRS_NOT_READY (0) | |
NumPatOrderTableEntries | 1 '\x1' | |
CurrentPatOrderEntryIndex | 0 '\0' | |
CurrentPatSetIndex | 255 'ÿ' | |
NumPatInCurrentPatSet | 4 '\x4' | |
NumPatDisplayedFromPatSet | 0 '\0' | |
NextPatSetIndex | 0 '\0' |
I couldnt see anything in the documentation about what 'Not Ready' means or how to get it in the 'Ready' state, I'm also not sure what the CurrentPatSetIndex is and why its 255 in this case, that to me sounds like its currently pointing to the wrong pattern set, but I dont know how to resolve this. Everything else seems fine.