Altera_Forum
Honored Contributor
9 years agoMax 10 Open Drain in analog banks
Hello,
I've got a board with a 10M08SCU (no ADC) on it. I'm trying to use banks 1A and 1B to control PMOS high-side drivers. The output pin from the Max 10 is connected to the gate and pulled up to 5v. On all of the lines I have connected in this way, only the lines in 1A aren't working as I expected. 3.3v lines driven by open-drain GPIO in 1A function the same as those in other banks as well. The 5v lines don't allow the line to rise all the way to 5v (usually these lines are 4-4.2v), resulting in a permanently semi-on high-side driver. My HDL is identical for all of these different ports, and I've verified that the port is not driving the rail when it's de-asserted. It seems like maybe there's a clamp diode in there that I'm not aware of. All of the PCI clamps have been explicitly disabled in the assignment editor. This is happening across several boards, and the two offending lines are direct and only routed ~.25" on an internal layer. My 5v pull-up supply measures good at the device as well. I've even removed a resistor to look at the voltage of the output pin, and it was a few hundred mV when de-asserted, and 0v when asserted, which seem like reasonable values for an open-drain line not pulled up. I haven't been able to find anything concrete about using these banks for digital I/O, nor how they differ when there are no ADCs in the package, so I'm kind of at a loss as to what's happening here. From what I've read, it sounds like if any pins are used for analog, then GPIO is not available on the analog I/O banks, but I've also heard that's not enforced by Quartus. I don't have any ADCs, so it seems to me like this ought to work. I am using a PLL, but I didn't see anywhere where that was at odds with using 1a/b for GPIO. So as far as I can tell, this should be working, but I must be missing something. Does anyone know what my problem is, or have suggestions about how to address it? Thanks, Ben