9 years, 7 months ago.

Pin PTA0 != D8

This is in regards to a Freescale FRDM-K64F.

I've wasted quite a few hours debugging. Arduino, or digital, pin 8 on this board is not connected to pin 30 (PTA0) on the 100 LQFP package FRDM-K64F. However, it (digital pin 8) IS connected to pin 84 (PTC12). I'm not sure what PTA0 is connected to, but it is not digital pin 8.

Also, PTC12 is not connected to CS on the RF24L01 RF/WIFI header.

Freescale's datasheet and schematic both seem to provide incorrect information.

Can anyone else verify this?

Question relating to:

The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64, K63, and K24 MCUs.

David D8 does not work on my K64F. Did you get it to work?

posted by Brian Boyter 26 Nov 2015

2 Answers

9 years, 5 months ago.

There are multiple versions of the FRDM-K64F running around.

The Rev E - http://www.freescale.com/files/microcontrollers/hardware_tools/schematics/FRDM-K64F-SCH-E3.pdf?WT_TYPE=Schematics&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Downloads&fileExt=.pdf

and

The Rev D - http://cache.freescale.com/files/microcontrollers/hardware_tools/schematics/FRDM-K64F_SCH.pdf?fpsp=1

are the two dominant ones. The Rev E has D8 as PTC12 while Rev D and earlier have D8 as PTA0.

-deleted-
9 years, 7 months ago.

I checked out the schematic and datasheet and PTA0 is pin 34 on the 100 LQFP which is JTAG_TCLK.

I can confirm that D8 is actually PTC12 according to the schematic, because D7 = PTC3 and D9 = PTC4 which matches the schematic. I created this question to request an update to the pinout map image: http://developer.mbed.org/questions/7074/Is-D8-actually-PTC12-and-not-PTA0/

This pinout map seems to be wrong for D8: http://developer.mbed.org/platforms/FRDM-K64F/

The CS pin for the RF/WIFI header is PTD4 according to the schematic.

This link shows PTA0 as PWM_6: https://github.com/mbedmicro/mbed/blob/master/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_FRDM/PeripheralPins.c and this link show PTA0 as D8: http://developer.mbed.org/teams/Freescale/wiki/frdm-k64f-pinnames

This question might help: http://developer.mbed.org/questions/6588/How-to-use-all-SPI-Slave-Select-pins-for/