The 5I20 default high level output value is 3.3V, Normally this should be OK for driving TTL level inputs, but is is possible to get more output swing by setting the outputs into open-drain mode. the output will swing up to 5V in open drain mode but only have a 3.3K pullup. If a 3.3K pullup is too weak (too slow risetime would be a symptom) you may need to add an external pullup resistor to the pin (around 270 ohm minimum)
open drain mode is a HostMot2 HAL setup option (man hostmot2)


LinkBack URL
About LinkBacks





arameter or pin 'hm2_5i20.0.pwmgen.pwm_frequency' not found 8091". but sometimes, it doesn't occur. why is this error happen?? 