AnsweredAssumed Answered

Application Configuration - Clock settings

Question asked by Mike on Apr 25, 2015
Latest reply on Apr 28, 2015 by Erwan Y
I am using test application for serial interface with SPC560D30. I used the application configuration - clock settings as 16MHz with the SPC discovery kit. Now keeping the test application same, I want to change the clock settings to 8MHz which the actual value I am using on my target hardware. When I do these changes using Application configuration and generate it, following errors are displayed (please find attached image also),

In file included from ./components/portable_spc5_hal_component/lib/include/hal.h:32:0,
                 from ./components/portable_spc5_hal_component/lib/src/hal_queues.c:38:
./components/spc560dxx_hal_drivers_component/lib/include/hal_lld.h:683:2: error: #error "SPC5_FMPLL0_VCO_CLK outside acceptable range (SPC5_FMPLLVCO_MIN...SPC5_FMPLLVCO_MAX)"

In file included from ./components/portable_spc5_hal_component/lib/include/hal.h:32:0,
                 from ./components/portable_spc5_hal_component/lib/src/can.c:25:
./components/spc560dxx_hal_drivers_component/lib/include/hal_lld.h:683:2: error: #error "SPC5_FMPLL0_VCO_CLK outside acceptable range (SPC5_FMPLLVCO_MIN...SPC5_FMPLLVCO_MAX)"

In file included from ./components/portable_spc5_hal_component/lib/include/hal.h:32:0,
                 from ./components/portable_spc5_hal_component/lib/src/hal.c:25:
./components/spc560dxx_hal_drivers_component/lib/include/hal_lld.h:683:2: error: #error "SPC5_FMPLL0_VCO_CLK outside acceptable range (SPC5_FMPLLVCO_MIN...SPC5_FMPLLVCO_MAX)"

In file included from ./components/portable_spc5_hal_component/lib/include/hal.h:32:0,
                 from ./components/portable_spc5_hal_component/lib/src/adc.c:25:
./components/spc560dxx_hal_drivers_component/lib/include/hal_lld.h:683:2: error: #error "SPC5_FMPLL0_VCO_CLK outside acceptable range (SPC5_FMPLLVCO_MIN...SPC5_FMPLLVCO_MAX)"

Does that mean clock settings below 16MHz are not allowed? Whether SPC560D30 can not support/use 8MHz xtal?

Your earliest response will be highly appreciated as this will affect xtal and other parts procurement and may affect the delivery schedule. Thanks in advance for your help.

Mike.

Outcomes