LPC546XX vs UM10912 LPC546xx PIO0_2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC546XX vs UM10912 LPC546xx PIO0_2

Jump to solution
1,630 Views
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

Tags (2)
1 Solution
1,185 Views
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

View solution in original post

2 Replies
1,186 Views
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,185 Views
danielgull
Contributor IV

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