Hi , I am using embedded coder support package for texas instruments C2000 processors/C2833x. I added ePWM simulink block to my model. I want to specify phase offset value (TBPHS) via input port. On applying this change i see an input port on the block. This port is labelled "PHS". i am connecting a constant value of 5000 to that input but when i try to build the model i get an error saying that the input port only accepts data type boolean. This does not make any sense because TBPHS could be any integer from 0 to Timer period.
If i specify TBPHS via dialog instead of input port then it works fine. Has anyone else had this problem with simulink EPWM block? i want to specify that phase value via input port and not dialog because i want to update it in run time
any suggestions?