Configure Bootloader/FreeRTOS of PN7462

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

Configure Bootloader/FreeRTOS of PN7462

757 Views
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 Kudos
Reply
1 Reply

665 Views
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 Kudos
Reply