Jump to content

mwingerson

Members
  • Posts

    190
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Location
    Pullman, WA

Recent Profile Visitors

4,505 profile views

mwingerson's Achievements

  1. Hi mwingerson,

    I have recently purchased a Cerebot MC7 from Digilent with an intend to turn a 5v dc motor both direction with and external switch. I have used the demo, but whatever I try to modify the push button signal are not responding.

    Please I need your help.

    Thank you,

    LK

    1. mwingerson

      mwingerson

      Hey LK,

      Unfortunately, I know the MC7 can be difficult to use.  I am unaware of any supporting libraries that help setting up the chip correctly so you are stuck manipulating the registers correctly.

      As for using the buttons, I checked the schematic and I bet the analog module is interfering with the digital IO pinned to the buttons.

      The ref manual isn't horribly clear on this but I think the analog modules should be selected by default.  So what you need to do is add this line to setup the pins as digital pins instead of analog pins.

      AD1PCFGL = 0x8100 ;
       
      Then you will be able to read the digital IO.
       
      Best of luck,
      Marshall
  2. mwingerson

    adept-img.png

    Coolrunner2 enumerating in Adept.
  3. picture of the revision indicator location on an old board.
  4. mwingerson

    Marshall's pics

    A place for random pictures
×
×
  • Create New...