3pwmgen

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
23 Jul 2015 15:03 #60843 by Nick
3pwmgen was created by Nick
Does 5i20 supports 3pwmgens? If no what boards do support it?

We have tried to load this configuration, and have not found any 3pwmgens
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci config="firmware=hm2/5i20/SV12.BIT num_encoders=3 num_3pwmgens=2 num_pwmgens=0"
alex@mesal:~$ halrun 
.
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci config="firmware=hm2/5i20/SV12.BIT num_encoders=3 num_3pwmgens=2 num_pwmgens=0" 
halcmd: show
Loaded HAL Components:
ID      Type  Name                                      PID   State
     5  RT    hm2_pci                                         ready
     3  User  halcmd3830                                 3830 ready
     4  RT    hostmot2                                        ready

Component Pins:
Owner   Type  Dir         Value  Name
     5  s32   OUT             0  hm2_5i20.0.encoder.00.count
     5  s32   OUT             0  hm2_5i20.0.encoder.00.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.00.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.00.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.00.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.00.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.00.position
     5  float OUT             0  hm2_5i20.0.encoder.00.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.00.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.00.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.00.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.reset
     5  float OUT             0  hm2_5i20.0.encoder.00.velocity
     5  s32   OUT             0  hm2_5i20.0.encoder.01.count
     5  s32   OUT             0  hm2_5i20.0.encoder.01.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.01.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.01.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.01.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.01.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.01.position
     5  float OUT             0  hm2_5i20.0.encoder.01.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.01.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.01.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.01.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.reset
     5  float OUT             0  hm2_5i20.0.encoder.01.velocity
     5  s32   OUT             0  hm2_5i20.0.encoder.02.count
     5  s32   OUT             0  hm2_5i20.0.encoder.02.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.02.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.02.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.02.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.02.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.02.position
     5  float OUT             0  hm2_5i20.0.encoder.02.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.02.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.02.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.02.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.reset
     5  float OUT             0  hm2_5i20.0.encoder.02.velocity
     5  u32   IN     0x00001FC8  hm2_5i20.0.encoder.sample-frequency
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.000.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.000.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.001.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.001.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.002.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.002.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.003.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.003.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.004.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.004.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.005.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.005.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.006.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.006.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.006.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.007.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.007.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.007.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.008.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.008.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.008.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.009.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.009.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.009.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.010.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.010.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.010.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.011.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.011.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.011.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.012.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.012.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.012.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.013.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.013.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.013.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.014.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.014.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.015.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.015.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.016.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.016.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.016.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.017.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.017.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.018.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.018.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.018.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.019.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.019.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.019.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.020.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.020.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.020.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.021.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.021.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.021.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.022.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.022.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.022.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.023.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.023.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.023.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.024.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.024.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.024.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.025.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.025.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.025.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.026.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.026.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.026.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.027.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.027.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.027.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.028.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.028.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.028.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.029.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.029.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.029.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.030.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.030.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.030.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.031.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.031.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.031.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.032.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.032.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.032.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.033.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.033.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.033.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.034.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.034.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.034.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.035.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.035.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.035.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.036.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.036.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.036.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.037.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.037.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.037.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.038.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.038.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.038.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.039.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.039.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.039.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.040.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.040.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.040.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.041.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.041.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.041.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.042.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.042.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.042.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.043.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.043.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.043.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.044.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.044.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.044.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.045.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.045.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.045.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.046.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.046.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.046.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.047.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.047.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.047.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.048.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.048.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.048.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.049.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.049.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.049.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.050.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.050.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.050.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.051.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.051.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.051.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.052.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.052.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.052.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.053.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.053.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.053.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.054.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.054.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.054.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.055.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.055.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.055.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.056.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.056.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.056.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.057.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.057.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.057.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.058.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.058.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.058.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.059.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.059.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.059.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.060.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.060.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.060.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.061.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.061.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.061.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.062.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.062.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.062.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.063.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.063.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.063.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.064.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.064.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.064.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.065.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.065.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.065.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.066.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.066.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.066.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.067.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.067.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.067.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.068.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.068.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.068.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.069.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.069.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.069.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.070.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.070.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.070.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.071.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.071.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.071.out
     5  bit   IN          FALSE  hm2_5i20.0.led.CR01
     5  bit   IN          FALSE  hm2_5i20.0.led.CR02
     5  bit   IN          FALSE  hm2_5i20.0.led.CR03
     5  bit   IN          FALSE  hm2_5i20.0.led.CR04
     5  bit   IN          FALSE  hm2_5i20.0.led.CR05
     5  bit   IN          FALSE  hm2_5i20.0.led.CR06
     5  bit   IN          FALSE  hm2_5i20.0.led.CR07
     5  bit   IN          FALSE  hm2_5i20.0.led.CR08
     5  bit   I/O         FALSE  hm2_5i20.0.watchdog.has_bit

Pin Aliases:
 Alias                                      Original Name

Signals:
Type          Value  Name     (linked to)

Parameters:
Owner   Type  Dir         Value  Name
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.00.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.00.scale
     5  float RW            0.5  hm2_5i20.0.encoder.00.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.01.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.01.scale
     5  float RW            0.5  hm2_5i20.0.encoder.01.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.02.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.02.scale
     5  float RW            0.5  hm2_5i20.0.encoder.02.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.gpio.006.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.006.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.006.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.007.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.007.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.007.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.008.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.008.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.008.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.009.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.009.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.009.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.010.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.010.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.010.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.011.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.011.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.011.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.012.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.012.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.012.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.013.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.013.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.013.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.023.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.023.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.023.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.048.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.048.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.048.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.049.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.049.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.049.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.050.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.050.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.050.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.051.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.051.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.051.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.052.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.052.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.052.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.053.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.053.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.053.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.054.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.054.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.054.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.055.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.055.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.055.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.056.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.056.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.056.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.is_output
     5  bit   RW          FALSE  hm2_5i20.0.io_error
     5  s32   RO              0  hm2_5i20.0.pet_watchdog.time
     5  s32   RW              0  hm2_5i20.0.pet_watchdog.tmax
     5  s32   RO              0  hm2_5i20.0.read.time
     5  s32   RW              0  hm2_5i20.0.read.tmax
     5  s32   RO              0  hm2_5i20.0.read_gpio.time
     5  s32   RW              0  hm2_5i20.0.read_gpio.tmax
     5  u32   RW     0x004C4B40  hm2_5i20.0.watchdog.timeout_ns
     5  s32   RO              0  hm2_5i20.0.write.time
     5  s32   RW              0  hm2_5i20.0.write.tmax
     5  s32   RO              0  hm2_5i20.0.write_gpio.time
     5  s32   RW              0  hm2_5i20.0.write_gpio.tmax

Parameter Aliases:
 Alias                                      Original Name

Exported Functions:
Owner   CodeAddr  Arg       FP   Users  Name
 00005  f9081ee0  f6a99000  NO       0   hm2_5i20.0.pet_watchdog
 00005  f906f7b0  f6a99000  YES      0   hm2_5i20.0.read
 00005  f906f6c0  f6a99000  YES      0   hm2_5i20.0.read_gpio
 00005  f906f6f0  f6a99000  YES      0   hm2_5i20.0.write
 00005  f906f690  f6a99000  YES      0   hm2_5i20.0.write_gpio

Realtime Threads:
     Period  FP     Name               (     Time, Max-Time )

halcmd: 

Please Log in or Create an account to join the conversation.

More
23 Jul 2015 16:41 #60847 by andypugh
Replied by andypugh on topic 3pwmgen
You need a firmware with "TP" or "7i39" in the name.

Something line SVTP.....

Please Log in or Create an account to join the conversation.

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
23 Jul 2015 17:16 #60848 by Nick
Replied by Nick on topic 3pwmgen
there is only
./CONFIGS/HOSTMOT2/TPEN6_6.BIT
in 5i20 support software archive.

Please Log in or Create an account to join the conversation.

More
23 Jul 2015 18:12 #60850 by andypugh
Replied by andypugh on topic 3pwmgen
Try that one then :-)
The following user(s) said Thank You: Nick

Please Log in or Create an account to join the conversation.

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
23 Jul 2015 18:42 #60852 by Nick
Replied by Nick on topic 3pwmgen
EN stands for encoders, does not it?

Firstly I thought of Enable :)

Please Log in or Create an account to join the conversation.

More
23 Jul 2015 20:35 #60857 by PCW
Replied by PCW on topic 3pwmgen
The TPEN_6 config is a 6 axis 3 phase PWM + 6 encoder config
(with all TPPWM high side, low side driver pins, enables and fault inputs brought out)
but its really just a test config that matches no daughtercards

If you want to use the three phase PWM gen you likely will need a custom configuration
(or at least a different standard config)

These are the existing pinouts that have the TPPWM for 72 I/O FPGA cards

PIN_SVSTTP6_5_7I39_72.vhd
PIN_SVSTTP6_6_7I39_72.vhd
PIN_SVTP6_2_7I52S_72.vhd
PIN_SVTP6_7I39_72.vhd
PIN_TPEN6_6_72.vhd


If you have a desired pinout, post it here and I can make a matching bitfile


Note, almost any firmware module will work in any of our FPGA cards, the only exception is the resolver module
which will not fit in the 5I20 or 4I65 because its too big (32 bit embedded CPU plus lots of blockRAM)

Please Log in or Create an account to join the conversation.

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
23 Jul 2015 20:51 #60858 by Nick
Replied by Nick on topic 3pwmgen
Can it be used together with 7i33 boards?

Please Log in or Create an account to join the conversation.

More
23 Jul 2015 22:02 #60859 by PCW
Replied by PCW on topic 3pwmgen
Sure, if you mean running a normal analog 7I33 config on some connectors and a three phase config on others

Or do you mean using 7I33 analog outputs that are run from the three phase PWM? This will not work
since the three phase PWM signals are not PWM+DIR

Please Log in or Create an account to join the conversation.

  • Nick
  • Nick's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
24 Jul 2015 13:56 #60878 by Nick
Replied by Nick on topic 3pwmgen
So if we have lathe with 2 axis and spindle driven by 3pwm we can not just use 3 7i33 to take 9 of their pwms as 3 3pwmgens?

Please Log in or Create an account to join the conversation.

More
25 Jul 2015 00:33 #60891 by PCW
Replied by PCW on topic 3pwmgen
No, the 3 pwmgen will not work with the 7I33
but if you need 3 analog sine outputs you could just use 3 regular PWMgens
and hack of the siggen comp that output 3 phase instead of the current 2 phase
(the BLDC comp may be able to do this also)

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.095 seconds
Powered by Kunena Forum