Hi,
This can be the gyros that are not initialized.
In one of my planes i have to start udb first then start the motor esc, otherwise that heappens to me also.
try to turn your board on whithout nothing connected to it, then you connect your peripherals, zigbee,etc.
Hope.it helps
Carlito
F14:WIND_EST=1:GPS_TYPE=6:DR=1:BOARD_TYPE=8:
Anyway, glad you are delighted.
--
--
Peter and Giulio,
irrespective of what frequency source is "internally" used by the micro, I suspect the calculations would not show anything different.
Problem is that everything is driven by internally generated timers.
Every timer scales with the FCY which is a function of the core frequency.
So if you scale the PLL you are effectively scaling the main frequency drive for the timers as well.
So I suspect that everything will function just the same, but totally unaware of the real frequency.
That's because there is nothing actually telling the MCU how fast it is really working: if your source is relative, everything scales accordingly.
Moreover every internal frequency threshold, post-scaler, whatever, would be adamant to the change: a counter would still count its numer of iterations, same for interrupts.
The only way to scale the cpu clock, is to adjust timers pre/post scalers and/or periods to maintain the previous frequency.
But that's something that has to be done in code.
Claudio
--
--
--
--
--
--
--
Guilio
Surely your symptoms can only be explained if X accel is returning different value for gravity from that of Z accel ?
Can you remind us as to whether all 3 accels are on one chip ?
Best wishes Pete
--
--
--
--