Support of SPI in FlexComm5 in LPC55S06

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Support of SPI in FlexComm5 in LPC55S06

853件の閲覧回数
dhruvinrajpura
Contributor III

In the header file of LPC55S06.h I seen below thing

#define SPI_IRQS { FLEXCOMM0_IRQn, FLEXCOMM1_IRQn, FLEXCOMM3_IRQn, FLEXCOMM4_IRQn, FLEXCOMM6_IRQn, FLEXCOMM7_IRQn, FLEXCOMM8_IRQn }

 

Here I am not able to see support for SPI in Flexcomm 5 but in data sheet it is mentioned that we can use flexcomm5 as SPI, when I tried to use flexcomm5 as a SPI in MCUXpresso it is also saying we can't use this as a SPI so why data sheet is telling that and if it is true what is the way to use flexcomm5 as SPI in LPC55S06?

タグ(2)
0 件の賞賛
返信
1 返信

840件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

For the LPC55S06, as you know that the SPI requires 4 signals, the uart requires only 2 signals. Because of pin limited, the FC2 and FC5 does not support SPI, but they also support uart, I2C and I2S functions.

It is wrong to define:

#define SPI_IRQS { FLEXCOMM0_IRQn, FLEXCOMM1_IRQn, FLEXCOMM3_IRQn, FLEXCOMM4_IRQn, FLEXCOMM6_IRQn, FLEXCOMM7_IRQn, FLEXCOMM8_IRQn }

Because the FC2 and FC5 can not be configured as spi for LPC55S06

 

xiangjun_rong_0-1703756804211.png

Hope it can help you

BR

XiangJun Rong

 

0 件の賞賛
返信