PTC1は使えない? DigitalOutに設定するが、32.7KHz程度のパルスが出ている。しかも、1V程度の振幅。。。振幅はデジトラを付けたせいかもしれないが、回路図を見ると、OpenSDAのICのPTD6に接続されている。ネット名はRTC_CLKINとの記載もある。
ここにあった。 https://developer.mbed.org/questions/3558/Problem-with-PTC1/
OpenSDA側にUSBを指すと、OpenSDAチップがRTCLKをKL25に入れてくるということのようである。 二つ目のUSBコネクタから電源を入れると解決する。
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.
コメントを追加