LPC55, what pins are active high/low by default in ISP boot mode

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

LPC55, what pins are active high/low by default in ISP boot mode

1,180 Views
dav1
Contributor V

When ISP0 (PIO0_5 pin) is pulled low during cold-boot, the LPC55 enters ISP bootloader

couldn't really find the info in the datasheet or UM11126 pdf

I'd like to know if any of these pins are anything else thatn Hi-Z,
i.e. driven high or low or pu/pd..

dav1_0-1650462440636.png

 

Labels (1)
0 Kudos
6 Replies

1,150 Views
jay_heng
NXP Employee
NXP Employee

For SPI, The SSEL, SCK, MOSI pin will be configured as SPI function, digital mode enabled, pull-up enabled, faster Slew rate for detection. and keep MISO pin to default state.

Once detection is done, all pins will be configured as SPI function, digital mode enabled, faster Slew rate

0 Kudos

1,152 Views
jay_heng
NXP Employee
NXP Employee

For I2C, all pins will be configured as I2C function, digital mode enabled, Filter disabled.

0 Kudos

1,148 Views
dav1
Contributor V

hi,

Does this mean that the default behavior with factory fuses and empty flash will enable all peripherals in the automatic probe feature?

ie uart gpio high, spi? 

 

would be great if the datasheet could list ALL gpio's reset and states during boot to avoid the risk of misatakes using say a gpio to enable something that ahould be off default that happens to be pulled up or driven high/low due to the boot loader

0 Kudos

1,139 Views
jay_heng
NXP Employee
NXP Employee

Yes,

it is not simple I/O level transition during automatic probe, it will check ping packet (0x5A, 0xA6)

0 Kudos

1,155 Views
jay_heng
NXP Employee
NXP Employee

For UART, The RXD pin will be configured as GPIO, digital mode enabled, pull-up enabled for auto baud function, and keep TXD pin to default state.

When Auto baud is done, then both RXD and TXD pin will be configured to UART function, digital mode enabled, faster Slew rate.

0 Kudos

1,162 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @dav1,

You are correct, there doesn’t seem to be any specific documentation about the state of these pins after the MCU enters ISP mode.

However, my guess is that you can base your answer for the state of each of these serial communication pins, by looking into the initialization that our SDK examples use. This should give you a good idea of the initialization state that the pins go through on ISP mode as well.

 

I hope this helps,

Edwin.

0 Kudos