Search found 16 matches

by jonesrayan
Sat Oct 29, 2016 9:40 am
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

Re: chVTGetSystemTime() restarts every 4s !!!!

And it does'nt effect the performance of chibios ?? if i put a delaymicroseconds() in a thead ?.
i need those information because i"m building a quadcopter :) so i have to know what danger and what's safe
by jonesrayan
Sat Oct 29, 2016 7:30 am
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

Re: chVTGetSystemTime() restarts every 4s !!!!

what do you mean by polled delay function ??.
by jonesrayan
Fri Oct 28, 2016 9:18 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

Re: chVTGetSystemTime() restarts every 4s !!!!

Hinthanks for this detailed answer, polled delay function you mean the oroginal funcion of arduino like delaymicroseconds() ??
by jonesrayan
Fri Oct 28, 2016 5:30 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

Re: chVTGetSystemTime() restarts every 4s !!!!

thaks for this anwer but i change the systick frequency from 1000 to 1000000 , but the resolution is always 1m. i have arduino due 32bit arm cortex m3.
please how can i control the microseconds
by jonesrayan
Fri Oct 28, 2016 4:54 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

Re: chVTGetSystemTime() restarts every 4s !!!!

ok, i have another probleme using chThdSleepMicroseconds();

on arduino i did
this code
void setup() {
// initialize digital pin 7 as an output.
pinMode(7, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(7, HIGH); // turn the LED on (HIGH is the ...
by jonesrayan
Fri Oct 28, 2016 3:30 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

Re: chVTGetSystemTime() restarts every 4s !!!!

Hi, i tried to change CH_CFG_ST_FREQUENCY 1000 to 10 but the chVTGetSystemTime() still reseting :(
i'm using the arduino library for arm.
how do i resolve that please
by jonesrayan
Fri Oct 28, 2016 1:35 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

Re: chVTGetSystemTime() restarts every 4s !!!!

Do you mean that i change the #define CH_CFG_ST_FREQUENCY 1000 to 10 ??
by jonesrayan
Fri Oct 28, 2016 12:07 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTime() restarts every 4s !!!!
Replies: 14
Views: 8461

chVTGetSystemTime() restarts every 4s !!!!

Hi, tehre i'm faceing a big problem. the chVTGetSystemTime() restarts every 4 seconds !!!
i want the chVTGetSystemTime() don't restart.
i read a post who hase the same problem and Mr Giovanni said, that the tickless mode should be disabled ??? but i d'ont know how to find the option and diseable it ...
by jonesrayan
Sun Oct 02, 2016 10:56 pm
Forum: ChibiOS/RT
Topic: Question about the CH_CFG_ST_FREQUENCY
Replies: 16
Views: 10598

Re: Question about the CH_CFG_ST_FREQUENCY

Merci, thanks
and how who cause this perturbation, how we avoid jitter or how we resolve this situation
by jonesrayan
Sun Oct 02, 2016 8:57 pm
Forum: ChibiOS/RT
Topic: Question about the CH_CFG_ST_FREQUENCY
Replies: 16
Views: 10598

Re: Question about the CH_CFG_ST_FREQUENCY

Can you give me more detail ?? can you give me an example