Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 6 months ago.
Problem with PTC1
Hello,
I'm trying to use a external display (arduino shield) that use PTC1 (A5) as WR signal. After some test, I've found that in that pin I have a square signal with a frequency of 32 KHz (0 to 3.3V). If I disconnect all and I write a program with PTC1 as DIgitalOut, and I put it to zero, then I get a square signal of same frequency, but with amplitude of 1.2 V.
If I connect the WR signal to PTB1, the display works fine.
Any ideas?
Best regards,
Carlos.
Question relating to:
1 Answer
10 years, 6 months ago.
PTC1 is (as you noticed) a 32kHz square wave signal generated by the interface chip which is connected to the SDA connector, it is used as RTC clock input by the KL25Z.
If you can connect it to another line just use that. Alternatively if you power it from the second USB port (the KL25 USB) I believe the interface chip isn't powered and it probably works. But then you need to switch USB ports everytime you upload a new program.