I have a question regarding K60 hardware. Is there a forum for that? (I can't find one.)
Solved! Go to Solution.
Hi Gary,
I'd like to suggest that you can use the multimeter to check that whether the schematic match the board or not.
On the board, you can find the tags that illustrate the sch version.
For the SW2 which connects the PTE26 on the TWR-K60D100M board, it's available to configure the PTE26 as below.
PORTE_PCR26=PORT_PCR_MUX(1)|PORT_PCR_IRQC(0xA)|PORT_PCR_PE_MASK|PORT_PCR_PS_MASK;
Hope it helps.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Gary,
You can reply here with your question, I have moved your question to the correct forum.
Best Regards!
Carlos Mendoza
Technical Support Engineer
Ok, I have a TWR-K60D100M-KIT tower system with K60 MCU. I am writing simple test programs and just tried to connect a bunch of switches to 8 pins I configured as inputs on port C.
I am accessing it via J8 on the primary side elevator board. I wired it by the provided schematic:
- PTC0 J8-66
- PTC1 J8-67
- PTC2 J8-68
- PTC3 J8-64
- PTC4 J8-69
- PTC5 J8-70
- PTC6 J8-71
- PTC7 J8-72
configured each pin as input, enabled open drain and pull-up resistors. I then threw my switches and read the results back via the KDS debugger, looking at GPIOC_PDIR.
The bits seem to be scrambled.
Is it possible my schematic does not match my board? If there are revision numbers on the schematic and the board, how do I find and interpret them?
Writing this makes me realize that 'open-drain' is a property of an output and is irrelevant to this application. This begs the question whether there are combinations of irrelevant fields in the PCRs that cause problems.
I can find no hint of this in the reference manual, however.
Hi Gary,
I'd like to suggest that you can use the multimeter to check that whether the schematic match the board or not.
On the board, you can find the tags that illustrate the sch version.
For the SW2 which connects the PTE26 on the TWR-K60D100M board, it's available to configure the PTE26 as below.
PORTE_PCR26=PORT_PCR_MUX(1)|PORT_PCR_IRQC(0xA)|PORT_PCR_PE_MASK|PORT_PCR_PS_MASK;
Hope it helps.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
It appears my probing methods were too primitive as we don't
have a header that will mate with J8. Can you confirm my
measurement that these sockets have contacts on 2 mm
centers and accept 0.5 mm pins? (I intend to buy some.)
FWIW: I got SW2 to work some time ago with no problems.
Hi Gary,
The dimension illustrates as below.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------