Part Number: MSP430FR6047
Tool/software: Code Composer Studio
Hello!
I'm playing with the EVM 430-FR6047 and I'm wondering if it is possible to reduce the BOM getting rid of the 32.768 kHz and 8MHz crystals.
1 - 32.768 kHz crystal
Is it possible to use the internal VLO oscillator or some other timed pin to feed the low frequency timer? According to the datasheet the VLO provides a frequency around 10 kHz. I've had a look to the library but it seems that it is designed around that specific frequency (32768). If I try to feed it using the LVO with:
- CS_initClockSignal(CS_ACLK,CS_VLOCLK_SELECT, CS_CLOCK_DIVIDER_1); in hal_system_ClockInit(void) hal_system.c
- USS_LFXT_FREQ_IN_HZ 10000 in USS_userConfig.h
I can manage to compile and run the code but the design center app keeps showing the following errors:
22 - The output frequency of the HSPLL is invalid
28 - invalid USS crystal setting time.
Not sure what kind of implications the low frequency oscillator has on the measurement and I was wondering if it only clocks the operations when the meter is not performing any acquisition to reduce the power consumption. That said, is it possible to easily configure the library in order to use the LVO instead of the external 32.768 crystal?
2 - 8MHz crystal
I've read somewhere that it is possible to use the USSXT_BOUT to drive the Clock system (CS) through HFXIN. Once the output on USSXT_BOUT is enabled and phisically connected to HFXIN, is it possible to leave all the other firmware settings of the library unaltered? I'm also considering to replace the ceramic resonator with a 8MHz crystal. Does it improve the accuracy of the meter?
3 - Library implementation
Is there any other implementation of the library which includes only the fundamental setting of the USS module?
Thanks,
Dario