How to start with HSUART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to start with HSUART

Jump to solution
2,123 Views
amolborase
Contributor II

Dear All,

I am new to PN7462 and working on  PN7462 Development board. I want to implement HSUART protocol  independently for one  product. I also  refer  example PN7462AU_ex_phExHif  from SDK but I get confused that how can start from very basis steps like Setting Clock, GPIOs for HSUART and Initialization etc. I request you to please guide me and If any one have sample code than refer to me so I can get better idea about HSUART. Thanks to All in Advance. 

Labels (2)
0 Kudos
1 Solution
1,502 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Amol,

The clock settings can be found in phFlashBoot_HwSetup(), and GPIOs for HSUART and Initialization can be found in the source file of "phExHif_Hw.c":

pastedImage_4.png

Please refer to "14.3.3 High speed UART" in the attached UM for more details.

Hope that helps,


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
1,502 Views
amolborase
Contributor II

Hello Kan_Li,

Sorry for late reply, I have checked the file that you indicated but  I didn't implemented HSUART still, Because currently I am doing project using PN7462 chip. I started to programming in PN7462 chip,create new fresh project and add files containing in PN7462AU_ex_phExRf project but I get an error like 

Description Resource Path Location Type
make: *** [PN7462AU_ex_phExRfPoll.axf] Error 1 PN7462AU_ex_phExRfPoll C/C++ Problem
make: *** [RRHFOEM05.axf] Error 1 RRHFOEM05 C/C++ Problem
undefined reference to `phhalRf_LoadProtocol_Initiator' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 91 C/C++ Problem
undefined reference to `phhalRf_LoadProtocol_Initiator' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 130 C/C++ Problem
undefined reference to `phhalRf_PCD_Exchg' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 102 C/C++ Problem
undefined reference to `phhalRf_PCD_Exchg' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 117 C/C++ Problem
undefined reference to `phhalRf_PCD_Exchg' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 123 C/C++ Problem
undefined reference to `phhalRf_PCD_Exchg' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 135 C/C++ Problem
undefined reference to `phhalRf_PCD_Exchg' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 149 C/C++ Problem
undefined reference to `phhalRf_PCD_Exchg' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 157 C/C++ Problem
undefined reference to `phhalRf_PCD_Exchg' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 166 C/C++ Problem
undefined reference to `phhalRf_PCD_SetExchgFdt' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 95 C/C++ Problem
undefined reference to `phhalRf_PCD_SetExchgFdt' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 153 C/C++ Problem
undefined reference to `phhalRf_PCD_SetExchgFdt' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 160 C/C++ Problem
undefined reference to `phhalRf_SetConfig' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 133 C/C++ Problem
undefined reference to `phhalRf_SetConfig' phExRf_15693.c /RRHFOEM05/PN7462AU/ISO15693 line 142 C/C++ Problem

 So, please guide me that how can I start with fresh project and which library files, I will have to add after creating fresh project so that I can implement UART and SPI interface.

I hope you will guide me, Thanks in Advance....

0 Kudos
1,503 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Amol,

The clock settings can be found in phFlashBoot_HwSetup(), and GPIOs for HSUART and Initialization can be found in the source file of "phExHif_Hw.c":

pastedImage_4.png

Please refer to "14.3.3 High speed UART" in the attached UM for more details.

Hope that helps,


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos