Dear Tech:
I am designing a system using the Piccolo 28027, and want to use the SPI port, use the JTAG, and also use the XclkIN pin.
The issue is, If I use XclkIn on GPIO19, I cannot use that pin for SPISTE. If I use GPIO38 for XClkIn, there is a conflict with the JTAG.
I see some possible solutions:
1) use another pin for SPISTE, and handle it in software somehow (maybe an interrupt and faking out the SPI port.)
2) Use GPIO38 for XclkIN and have some kind of switch to remove my clock from GPIO38 when I attach the Jtag connector (how do I detect if there is a JTAG connected?)
3) write total bit banging code for handling SPI (maybe there is a library somewhere that has already done this?)
4) maybe, Could I use the X1 pin instead of the XclkIn? I don't know the internal circuitry for the internal osc, but it occurs to me maybe it can be driven by an external signal via a cap or resistor and think it is being driven by a crystal.
If there are some other solutions, please list them.
Can someone help with amplifying the solutions, and suggest the easiest alternative.
Thanks, Mark.