Shop OBEX P1 Docs P2 Docs Learn Events
Need Help!!! P8X32A-D40 and parallax morot controller. — Parallax Forums

Need Help!!! P8X32A-D40 and parallax morot controller.

DgswanerDgswaner Posts: 795
edited 2014-10-30 06:00 in Propeller 1
I totally know this is last minute I apologize, I have a project I need complete for tomorrow.
I have been away from propellers for over a year and I'm quite rusty.

I have everything I need except I can't get the parallax position controllers working.
I'm using an old Spin Studio board and I'm pretty sure it has to do with the clock speed. If I recall correctly I have to change the clock speed for the P8X32A but I can't recall what it needs to be set to in order to use this with the motor controller.

I'm use the Wheel_Controller object out of the box and when I do a test the motor just takes off.
Can someone please tell me if I'm using the right settings below.

_clkmode = xtal1 + pll16x ' Set Propeller to run
_xinfreq = 5_000_000 ' at 80 Mhz

Thanks

Comments

  • ElectrodudeElectrodude Posts: 1,658
    edited 2014-10-30 06:00
    Those clock settings look fine for a 5MHz crystal. The problem's probably somewhere else. Can you post all of your code?
Sign In or Register to comment.