-
1. Re: Using GPIO pin as a one bit control register
e.pratt_1639216 Aug 8, 2017 2:04 PM (in response to allopis_2271821)I would expect this to be possible, but I've never tried it so I don't know for sure :)
You can definitely route the digital signals internally, and software can control the digital components; Thus, I would expect it to work like you asked.
-
2. Re: Using GPIO pin as a one bit control register
allopis_2271821 Aug 9, 2017 7:24 AM (in response to e.pratt_1639216)I had some time to try what I wondered in my post and it did not seem to work. There may be another combination of settings that works. I think with the control registers being a limited resource, it would be nice to be able to do this, in particular when you only need one or two bits. If the fitter could split/share bits in a control register, it would be less of an issue, but that does not seem to be the case. For example, the ISP component in bidir mode appears to use a single bit control register. I was working on a design that added logic around it, and needed a couple more bits. It would have been nice to use a segment of the same register, but there does not seem to be possible. I am sure there must be some tricks somewhere in the huge pile of PSoC things I do not know...
-
3. Re: Using GPIO pin as a one bit control register
e.pratt_1639216 Aug 9, 2017 2:48 PM (in response to allopis_2271821)Hmmm, that's a bummer :(
Well, something to find out in the future :)