1
NXPTM M522XX, KINETIS and i.MX RT / Wrong mask used in macro _CONFIG_PORT_OUTPUT_FAST_HIGH
« on: June 08, 2015, 03:48:56 PM »
Hello,
it seems to me, that an incorrect mask is used in the macro "_CONFIG_PORT_OUTPUT_FAST_HIGH" (uTasker 1.4.7 - kinetis.h) to filter the relevant bits.
I think that "GPIO##ref##_PDDR |= ((pins) & 0xffff);" needs to be changed to GPIO##ref##_PDDR |= ((pins) & 0xffff0000);.
The macro did not work with Keil until the value was changed.
Can you confirm this issue ?
Regards
Fabian
it seems to me, that an incorrect mask is used in the macro "_CONFIG_PORT_OUTPUT_FAST_HIGH" (uTasker 1.4.7 - kinetis.h) to filter the relevant bits.
I think that "GPIO##ref##_PDDR |= ((pins) & 0xffff);" needs to be changed to GPIO##ref##_PDDR |= ((pins) & 0xffff0000);.
The macro did not work with Keil until the value was changed.
Can you confirm this issue ?
Regards
Fabian
