I figured out my (brain dead) mistake. When I edited the vhdl file, I copied my block of 24 i/o definitions twice for the full 72 i/o's. So I had three encoder 00 and 01's, three pwmgen 00 and 01's, and three sets of stepgens 00-03. The pwmgen's seemed to end up on P1 of the 7i90 that I was testing, as they worked, but the encoder's ended up on P3. Quite a mess, but easily fixed. I just NullTagged the P2 and P3 banks of i/o's and reflashed. Encoder velocity works fine now.
I knew it had to be a dumb mistake :-/. Thanks for the help. -- Ralph ________________________________________ From: Peter C. Wallace [p...@mesanet.com] Sent: Thursday, January 14, 2021 11:29 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] measuring frequency with 7i90 CAUTION: This email originated from outside the Walla Walla University email system. Does the state of the A input show up in hal? that is, does hm2_7i90.0.encoder.00.input-a reflect the status of the FPGA pin? Peter Wallace Mesa Electronics _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C4f9c8fd60e8544b798f708d8b8c2cff1%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637462494138555174%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uTvM6u%2FFBPT3MWEYCLNBay5qfkqdbJ2nYdAkidyLVck%3D&reserved=0 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users