Other Parts Discussed in Thread: MOTORWARE
Hi all
What is the IQ of bandwidth?
IQ24?
STPOSCTL_setBandwidth_radps(obj->posCtlHandle, _IQ24(USER_SYSTEM_BANDWIDTH)); in spintac_position.h
static inline void STPOSCTL_setBandwidth_radps(ST_POSCTL_Handle handle, _iq20 bw) in spintac_pos_ctl.h
I had to mod the first line to say _IQ20 so that the value in user.h appears as the same value in the debugger when you use IQ20 on the bw variable.
Cheers
Rich