warm38
06-25-07, 06:16 AM
Am I reading this totally wrong, or does the D-Rex NOT play nicely with the Plug-A-2138?
I'm familiar with the LPC213x family, which is why I got it. (Besides I don't do Forth.) I thought it would be great to have the D-Rex run with the ARM.
So now that I have some time, I finally started setting it up to talk to the D-Rex -- until I started looking at the pinouts.
I do not see any way for the Plug-A-2138 (or any other ARM) to work with the D-Rex without MANUALLY working the Left Hbridge.
J2 Pin 13 D-REX Hbridge 2 (left) matches with the 2138=J1 Pin 13
Possible LPC pin select uses (does NOT include Match or PWM)
P0_26 GPIO
P0_26 AD05
J2 Pin 14 D-REX Hbridge 2' (left) matches with the 2138=J1 Pin 14
Possible LPC pin select uses (does NOT include Match or PWM)
P0_25 GPIO
P0_25 AD04
P0_25 DAC
Match or PWM available to the ARM
Possible
LOCATION PORT CURRENT USE PWM/M D-Rex Use
--------- ----- ----------- ----- ---------
J1 Pin 1 P0.0 SOUT TxD0 PWM1
J1 Pin 3 P0.1 SIN RxD0 PWM3
J1 Pin 9 P0.28 M0.2 Hbridge1
J1 Pin 10 P0.27 M0.1 Hbridge1'
J1 Pin 11 P0.3 I2C M0.0 /Enable1
J1 Pin 12 P0.29 M0.3 /Enable2
J1 Pin 15 P0.5 SPI M0.1
J1 Pin 17 P0.9 EINT2 PWM6 Encoder1A
J1 Pin 18 P0.7 EINT1 PWM2 Encoder1B
J1 Pin 21 P0.17 M1.2
J1 Pin 22 P0.19 M1.2
J1 Pin 23 P0.18 M1.3
J1 Pin 24 P0.20 M1.3
J5 Pin 2 P0.3 I2C M0.0
J5 Pin 9 P0.8 AD11 PWM4 CurrentMonitor Motor1
J5 Pin 11 P0.12 AD13 M1.0 Vin
J5 Pin 14 P0.13 M1.1
J5 Pin 15 P0.22 M0.0
J5 Pin 16 P0.21 PWM5
P0.16 M0.2
-------------------------------------------------------------
It seems like a big waste of money to get something that doesn't work together. Shouldn't there be a disclaimer on the D-Rex: "does not work with ARM processors"? I had the Plug-A-2138 and was told "you can get the D-Rex and have a dual Hbridge for it." So I ordered it. And now I know I can't. Or, not very easily.
Are there any plans to fix the Plug-A-2138 or have a compatible D-Rex or have a conversion board?
What can I do with a useless D-Rex? Run a bunch of jumper wires to make things line up (I'm not a PCB designer/maker)? How long can they be? Since I'm not an analog guru (I can just barely get by with digital stuff) I hope there's no capacitors or such needed by the jumper wire jungle.
wade
I'm familiar with the LPC213x family, which is why I got it. (Besides I don't do Forth.) I thought it would be great to have the D-Rex run with the ARM.
So now that I have some time, I finally started setting it up to talk to the D-Rex -- until I started looking at the pinouts.
I do not see any way for the Plug-A-2138 (or any other ARM) to work with the D-Rex without MANUALLY working the Left Hbridge.
J2 Pin 13 D-REX Hbridge 2 (left) matches with the 2138=J1 Pin 13
Possible LPC pin select uses (does NOT include Match or PWM)
P0_26 GPIO
P0_26 AD05
J2 Pin 14 D-REX Hbridge 2' (left) matches with the 2138=J1 Pin 14
Possible LPC pin select uses (does NOT include Match or PWM)
P0_25 GPIO
P0_25 AD04
P0_25 DAC
Match or PWM available to the ARM
Possible
LOCATION PORT CURRENT USE PWM/M D-Rex Use
--------- ----- ----------- ----- ---------
J1 Pin 1 P0.0 SOUT TxD0 PWM1
J1 Pin 3 P0.1 SIN RxD0 PWM3
J1 Pin 9 P0.28 M0.2 Hbridge1
J1 Pin 10 P0.27 M0.1 Hbridge1'
J1 Pin 11 P0.3 I2C M0.0 /Enable1
J1 Pin 12 P0.29 M0.3 /Enable2
J1 Pin 15 P0.5 SPI M0.1
J1 Pin 17 P0.9 EINT2 PWM6 Encoder1A
J1 Pin 18 P0.7 EINT1 PWM2 Encoder1B
J1 Pin 21 P0.17 M1.2
J1 Pin 22 P0.19 M1.2
J1 Pin 23 P0.18 M1.3
J1 Pin 24 P0.20 M1.3
J5 Pin 2 P0.3 I2C M0.0
J5 Pin 9 P0.8 AD11 PWM4 CurrentMonitor Motor1
J5 Pin 11 P0.12 AD13 M1.0 Vin
J5 Pin 14 P0.13 M1.1
J5 Pin 15 P0.22 M0.0
J5 Pin 16 P0.21 PWM5
P0.16 M0.2
-------------------------------------------------------------
It seems like a big waste of money to get something that doesn't work together. Shouldn't there be a disclaimer on the D-Rex: "does not work with ARM processors"? I had the Plug-A-2138 and was told "you can get the D-Rex and have a dual Hbridge for it." So I ordered it. And now I know I can't. Or, not very easily.
Are there any plans to fix the Plug-A-2138 or have a compatible D-Rex or have a conversion board?
What can I do with a useless D-Rex? Run a bunch of jumper wires to make things line up (I'm not a PCB designer/maker)? How long can they be? Since I'm not an analog guru (I can just barely get by with digital stuff) I hope there's no capacitors or such needed by the jumper wire jungle.
wade