Configure Bootloader/FreeRTOS of PN7462

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

Configure Bootloader/FreeRTOS of PN7462

562 次查看
louis_eeckeloot
Contributor I

Hi, I'm using a PN7462 microcontroller on a custom board and when I tried to test my program on it, I discovered that the clock used by the IC wasn't the good.

Actually, the PN7462 used an internal clock of 20 MHz instead of the external quartz (27,120 MHz) that I put on my custom board.

In this case, I have 2 options :

- Adapt the software (code) to use the internal clock of 20 MHz

or

- Set the bootloader/FreeRTOS to use the external quartz of 27,120 MHz

I don't know how to make this two options. So I would like to know which is the best solution, the easier and

how to do it ?

Thanks,

BR,

Louis

0 项奖励
1 回复

470 次查看
IvanRuiz
NXP Employee
NXP Employee
As mentioned in the case, it is recommended to use external crystal for the NFC communication, while the internal clock is used as the system clock. For configuring the external crystal, you may refer to the phFlashBoot.c file in the Clock Gen Init section where the clock source is from XTAL (option 00 in phhalClkGen_Source_t typedef).
 
Hope this helps,
Ivan.
0 项奖励