Strange behavior of some pins with MCU in reset

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

Strange behavior of some pins with MCU in reset

1,068 次查看
giuseppescarpi
Contributor III

We are experiencing a strange behaviour, that shouldn't be there according to the datasheet.

This is the situation: we have a device that acts as an SPI master.

This device is connected to an SPI port of our RT1051, and to the external QSPI flash via a resistor network.

In our idea, this should allow the Master to communicate with MCU under normal conditions, and to read/write the QSPI flash when the MCU is in reset.

In facts, I expect that all the pins of the MCU go in high impedance when the POR_B is deasserted.

When the MCU runs, everything goes fine.

When we set POR_B to zero, it seems that the MISO of the MCU is configured as an output at logic level zero. In facts, when the Master moves its MOSI, we read signals of circa 1 Volt of amplitude.

We also tried to completely disconnect the QSPI, and the issue is still there. So, apparently, the MCU does something strange that we don't understand.

The issue is still there if we set the MCU in permanent reset (POR_B to ground) and cycle power the board.

Specifically, we use LPSPI2 configured on pins E3 (sck), F3 (cs), F4 (miso) and G4 (mosi).

We have no level contention on pins E3 and F3, just on F4.

Suggestions?

Thanks

Giuseppe

标签 (1)
0 项奖励
回复
1 回复

948 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Giuseppe Scarpi

i.MXRT family device pads have no high impedance ability, so even you cause a reset state with the POR_B, the pin will be configured as GPIO by default.

Hope this helps

Best regards

Jorge Alcala

0 项奖励
回复