Dear Dialog,
We want to do Xtal trimming for our prototype based on DA14585 for more accurate radio frequency. We are referring the AN-B-020 application note and have a couple of questions
1) For downloading the prod_test_585.hex into system RAM, can we use SWD(through pro development kit) instead of UART as mentioned in the app note?
2) Following are the allocations of port0 pins of our prototype
P0_0 - Interfaced to SPI flash clock pin
P0_1 - Not connected and not brought out
P0_2 - Not connected and not brought out
P0_3 - Interfaced to SPI flash chip select pin
P0_4 - UTX pin and brought out to 10-pin connector
P0_5 - Interfaced to SPI flash data out pin and also brought out to 10-pin connector as URX
P0_6 - Interfaced to SPI flash data in pin
P0_7 - Interfaced to FET gate to control the power supply to SPI flash. Also a Test point is provided
My question is that considering the above allocations XTAL trimming using crystal frequency outputting to a specified GPIO port is not possible, since only one UART pair is brought out and is conflicting with the P0_5 which is the default pin for outputting crystal frequency. Is there any way I can change the P0_5 to P0_7(since I have a test point to probe) for outputting the crystal frequency? Also what are the default state of GPIO pins? (since while testing my flash might get enabled)
3) If we want to do XTAL trimming using unmodulated method, where exactly we need to probe. I have attached the schematic of the RF section. Do I need to probe at the ends of the L2 inductor?
4) In the application note, it is mentioned that the calibrated trim value is then flashed into the OTP, so that when the device boots next time this value is set. Is there any way to set this trim value to SPI flash since we are not using the OTP.
Thanks & Regards,
sr9213