LPC546XX vs UM10912 LPC546xx PIO0_2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC546XX vs UM10912 LPC546xx PIO0_2

跳至解决方案
1,786 次查看
danielgull
Contributor IV

Hi

The pin description for PIO0_2 is not clear. The datasheet LPC546xx contradicts the User Manual UM10912 concerning the pin function EMC_D[0]. The datasheet suggests that the pin function for this pin is pin function PF5. The User Manual however declares this pin on pin function PF6. Question: Which one is correct? Will the datasheet/User Manual be updated to be consistent here? Thanks

Daniel Gull

标记 (2)
1 解答
1,341 次查看
carstengroen
Senior Contributor II

Daniel,

the "Users Manual" are correct. P0.2 is EMC_D[0] if it is set to "function 6" (just as the other EMC_Dxx pins in GPIO0.

I have already mentioned this here on the forum to NXP.

I do like this on my own boards with SDRAM (x16) for the databus (LPCOpen, which is unfortunately no longer supported by NXP, you need to use they new SDK Smiley Sad

     {0,  2, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  3, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  4, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  5, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  6, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  7, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  8, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  9, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 19, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 20, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 21, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1,  4, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 28, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 29, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 30, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 31, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},

Regards,

Carsten

在原帖中查看解决方案

2 回复数
1,342 次查看
carstengroen
Senior Contributor II

Daniel,

the "Users Manual" are correct. P0.2 is EMC_D[0] if it is set to "function 6" (just as the other EMC_Dxx pins in GPIO0.

I have already mentioned this here on the forum to NXP.

I do like this on my own boards with SDRAM (x16) for the databus (LPCOpen, which is unfortunately no longer supported by NXP, you need to use they new SDK Smiley Sad

     {0,  2, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  3, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  4, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  5, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  6, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  7, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  8, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {0,  9, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 19, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 20, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 21, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1,  4, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 28, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 29, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 30, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},
     {1, 31, (IOCON_FUNC6 | IOCON_MODE_INACT | IOCON_DIGITAL_EN)},

Regards,

Carsten

1,341 次查看
danielgull
Contributor IV

Hi Carsten. Thanks for the clarification. That helps :-) Thanks - Dani