This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NXP Kinetis MK20X256VLH7 (Teensy 3.2 Microcontroller) - RTE_Device.h Issues

Hi, i'm working in Keil with the NXP Kinetis MK20X256VLH7 (Teensy 3.2 microcontroller).

The microprocessor seems to get stuck when i wrote to these registers:

PORTB->PCR[16] = (uint32_t)(PORT_PCR_MUX(0x03));

PORTB->PCR[17] = (uint32_t)(PORT_PCR_MUX(0x03));

PORTD->PCR[4] = (uint32_t)(PORT_PCR_MUX(0x04));

PORTD->PCR[7] = (uint32_t)(PORT_PCR_MUX(0x04));

The problem seems to be that the pin configuration has to be done on the RTE_Device.h file, however i don't know how to reference them in my project.

By the way, I'm configuring the peripherals from the scratch.