Ways to link a bi-directional GPIO with a direction (TX_EN) pin

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

Ways to link a bi-directional GPIO with a direction (TX_EN) pin

1,477件の閲覧回数
dav1
Contributor V

Hi,

Assume you have a dma-controlled serial peripheral or fast gpio that requires an external buffer (for level shifting). Are there any ways in 'hardware' to get a "tandem pin" that controls the DIR pin of a buffer. 

mcu: LPC55S69JEV98


ps. I don't want to roll this in code, it has to be autonomous. 

 

ラベル(2)
0 件の賞賛
返信
3 返答(返信)

1,454件の閲覧回数
dav1
Contributor V

hi alice,

can you please show with an example.

let's say one for I2C, one for SDIO, where both has an external buffer needing direction-control
i.e. how do we config the serial peripheral + DMA of the LPC to achieve a 2-way autonomous operation

 

thanks

0 件の賞賛
返信

1,442件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Dav,

Could you please descript your requirement more detail? thanks.

 

BR

Alice

 

0 件の賞賛
返信

1,465件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello dav1,

No. 

If you don't want to use software , can try to use DMA to control the GPIO DIR. 

 

0 件の賞賛
返信