1) Yes. CPM_DATA value is same for all the states. You cannot have different one for different states. But you can dynamically change the value of the GPIF_DATA_COMP_VALUE and GPIF_DATA_COMP_MASK registers for changing the Data compare value in the firmware. The address for these registers is given in the FX3 TRM. But there should be sufficient time for transition in the state machine to go from the States where one value is being compared and the states where a different value is being used.
2) For GPIF in serial mode, please create a Tech Support Case.
- Madhu Sudhan