LPC55S36, config FLEXCOMM pins to Arduino header, half the pins don't work.

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

LPC55S36, config FLEXCOMM pins to Arduino header, half the pins don't work.

跳至解决方案
513 次查看
bell_huang
Contributor III

In i2c_polling_b2b_master example, it configures FLEXCOMM2 as I2C bus.

SCL: Pin77, PIO1_25, connect to Arduino header pins J102[7]; J122[12].

SDA: Pin68, PIO1_26, connect to Arduino header pins J92[6]; J122[6].

I can receive signals from Arduino header pins J122[12] & J122[6]. However, I cannot receive signals from J102[7] & J92[6]. How can I configure to switch signal pairs to receive signals from J102[7] and J92[6]?

i2c_polling_b2b_master_FLEXCOMM2.png

 

In a similar situation, I change to configure FLEXCOMM3 as I2C bus.

SCL: Pin81, PIO0_2, connect to Arduino header pins J102[3], J92[20].

SDA: Pin84, PIO0_3, connect to Arduino header pins J102[13], J92[18].

I can receive signals from J102[3] & J102[13], cannot receive from J92[20] & J92[18]. How can I switch to receive from J92[20] & J92[18]?

i2c_polling_b2b_master_FLEXCOMM3.png

 

Board: LPC55S36-EVK (LPCXpresso55S36 Development Board, rev D)

SDK: 

https://mcuxpresso.nxp.com/en/builder?hw=LPCXpresso55S36

Document: LPCXpresso55S36UM

https://www.nxp.com/docs/en/user-manual/LPCXpresso55S36UM.pdf

 

标记 (2)
0 项奖励
回复
1 解答
475 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

On the LPC5536-EVK board.

For the pin J92[20] P0_2-FC3_TXD_SCL_MISO_WS, you have to close pin 1&2 of JP41, and close pin2&3 of JP61.

xiangjun_rong_0-1706061005820.png

For the J92[18] P0_3-FC3_RXD_SDA_MOSI_DATA, you have to close pin1&2 of JP44, and close pin2&3 of JP62.

xiangjun_rong_1-1706061417323.png

Pls have a try

BR

XiangJun Rong

在原帖中查看解决方案

0 项奖励
回复
2 回复数
476 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

On the LPC5536-EVK board.

For the pin J92[20] P0_2-FC3_TXD_SCL_MISO_WS, you have to close pin 1&2 of JP41, and close pin2&3 of JP61.

xiangjun_rong_0-1706061005820.png

For the J92[18] P0_3-FC3_RXD_SDA_MOSI_DATA, you have to close pin1&2 of JP44, and close pin2&3 of JP62.

xiangjun_rong_1-1706061417323.png

Pls have a try

BR

XiangJun Rong

0 项奖励
回复
455 次查看
bell_huang
Contributor III

Hi Xiangjun,

Thanks. Your tips helped me figure out how the MCU pins, jumpers and Motor/Arduino connector pins work.

In i2c_polling_b2b_master example which using FLEXCOMM2,

Both J122[6] and J92[6] have SDA signal.

JP52 Pins 1-2 shorted => J122[12] has SCL signal.

JP52 Pins 2-3 shorted => J102[7] has SCL signal.

0 项奖励
回复