1875638_en-US

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

1875638_en-US

1875638_en-US

Configure EVT0_B, EVT1_B, EVT2_B, EVT3_B and EVT4_B as input pin on LS1043

Currently I have utilize all interface and pin available on LS1043 and I require to have an extra GPIO to identify my board version. By reviewing schematic of LS1043ARDB , I find that EVT0 to EVT4 pins are pull up with 4.7K register and not used at anywhere.

In technical reference manual of LS1043, Appendix C represent EPU register descriptions. Where EPU base address is 2000_0000h. 

EVT0_ADDR -> 2000_0000 + (50h + (0 x 4h)) = 2000_0050     (EPEVTCR0)

EVT1_ADDR -> 2000_0000 + (50h + (1 x 4h)) = 2000_0054     (EPEVTCR1)

EVT2_ADDR -> 2000_0000 + (50h + (2 x 4h)) = 2000_0058     (EPEVTCR2)

EVT3_ADDR -> 2000_0000 + (50h + (3 x 4h)) = 2000_005C    (EPEVTCR3)

EVT4_ADDR -> 2000_0000 + (50h + (4 x 4h)) = 2000_0060     (EPEVTCR4)


So if I configure 0th bit DIR as 0b then it will configure as input pin then I can read status of that pin from EPRSRSVn.

As per my understating if ENTn_B pin is configure with external pull-up then I will get value 1 from EPRSRSVn register.if ENTn_B pin configure with external pull-down then i will get value 0 from EPRSRSVn register.


Request you to confirm this, please let me know for any improvement or changes.


Regards,

Bhargav Jayswal


Re: Configure EVT0_B, EVT1_B, EVT2_B, EVT3_B and EVT4_B as input pin on LS1043

Hi @bhargavjayswal

Yes, I will support in this query

Re: Configure EVT0_B, EVT1_B, EVT2_B, EVT3_B and EVT4_B as input pin on LS1043

Thank you @SebastianG ,

I have posted one more query today but it is not reflecting in NXP community. Title for the query is "LS1043A : EMMC GPT partitioning and boot process". Could you please help for this as well.

Re: Configure EVT0_B, EVT1_B, EVT2_B, EVT3_B and EVT4_B as input pin on LS1043

Hi @bhargavjayswal,

Apologies for the delayed response,

Yes, you can use this pin as an input in order to validate the pin state

Re: Configure EVT0_B, EVT1_B, EVT2_B, EVT3_B and EVT4_B as input pin on LS1043

Thanks for  update.


Now based  on above configuration, can we use this pin as an input gpio during u-boot to validate state of the pin whether is high or low? 


Regards,

Bhargav Jayswal

Re: Configure EVT0_B, EVT1_B, EVT2_B, EVT3_B and EVT4_B as input pin on LS1043

Hi @bhargavjayswal,

This configuration seems good 

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 02:28 PM
更新者: