We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I've a receiving problem with the ASC1 serial interface of the XC164 during debugging with ULINK interface. I use the Infineon Starterkit. Transmitting is'nt a problem and if I program the software to flash, and start them without ULINK interface connected, also receiving works. So I believe, it is'nt a problem with register settings. If I use a scope and inspect the signals on JP401, I see a signal, that works against the MAX232 driver. This signal comes from JTAG interface and seems to be the TCK. In documentation of XC164 I red, that these signals are only activ, if the /TRST is asserted. Is there a workaround for this behavior, that I can also use ASC1 during debug process? Steffen
Hi Steffen, as far as I know there is no workaround, since the XC164 is the only device have shared pins for OCDS debugging instead of dedicated as XC161 and XC167. The OCDS is normally enabled after startup. This you can disable, but than you are not able to debug. So you have to make a compromize between debugging or use of ASC1. Normally I would suggest to test the ASC1 interface seprately and if this works, than exclude it from your debug sessions. ( Don't know, whether you can do so. ) Stefan
Thank you for this information, Stefan. I can debug my code with ASC0 and then I hope, it will run with ASC1. If you can remember, I got the serial EEPROM code from you. It is running very fine and I optimized the speed a little bit and now I have a good library for this device. Thanks to you, By Steffen
Hi Steffen, thats the right way ! ;-} Cool - I will wrote a SPI-library too, if have some more time, since the timings was very relaxed. But nice feedback, that all works fine for you. Best regards Stefan