I'm trying to blink a LED using the board FRDM-K22F. I've connected the circuit to the Pin J2-10 which is supposed to be connected to the port PTD7
configure the Pins with Processor expert in Kinetis design studio, I've found that I/O header pinout doesn't match with which is mentionned in The FRDM-K22F hardware description
PS: I'm sure that I've choosed the same board FRDM-K22F when creating my project.
What could be wrong ?
Hi Nadia,
You have done all correctly but have found a PE naming convention error. It seems that the PE Component for FRDM-K22F PTD7 has the naming convention for the FRDM-K64F implementation. So the naming of the signal/pin is deceiving but the pinout is correct. On the FRDM-K22F the PTD7 does go to pin 64.
I created a new PE project in KDS_3.0 for FRDM-K22F, using the pinmux Component to rename the pin/signal and then used a GPIO Component to configure the PTD7 as GPIO output.
Inside main.c I simple initialize the GPIO and then toggle the pin in infinite loop.
Project attached.
Hope this helps.
Regards,
David