Hi, I'm Braden, but my buddy Rick is having this problem with the MK10
The issue is after a software reset of the top hub, the following single line of code causes the micro to lock up:
PORTA_PCR4 = (uint32_t)((PORTA_PCR4 & (uint32_t)~(uint32_t)(
)) | (uint32_t)(
What this convoluted line of code does is turns off the pullup resistor on PORTA output 4. The same command for PORTA output 5 works flawlessly.
Anything helps and thank you both.
Rick Henderson | Senior Software Engineer