Search found 7 matches

by taufiqwidi
Tue Jul 23, 2019 9:52 am
Forum: ChibiOS/RT
Topic: sleep the thread instead of yield in cooperative scheduling
Replies: 2
Views: 3990

sleep the thread instead of yield in cooperative scheduling

hi,

sorry for this newbie question but, can we sleep the thread for specific amount of time instead of yield in the cooperative scheduling?. cause i cant make it work to sleep the thread when in cooperative scheduling.

Thank you,
Taufiq
by taufiqwidi
Wed Jul 17, 2019 7:08 am
Forum: ChibiOS/RT
Topic: how to send/receive struct with mailbox
Replies: 5
Views: 4926

Re: how to send/receive struct with mailbox

hello,
sorry Giovanni if i bothering you again and maybe this is the dumb question. is there any examples of "Object FIFO" usage? because i cant find any example..
thank you..
by taufiqwidi
Tue Jul 16, 2019 12:45 pm
Forum: ChibiOS/RT
Topic: how to send/receive struct with mailbox
Replies: 5
Views: 4926

Re: how to send/receive struct with mailbox

okay i see. thanks Giovanni for your answer. i will try that.

taufiqwidi
by taufiqwidi
Tue Jul 16, 2019 11:15 am
Forum: ChibiOS/RT
Topic: how to send/receive struct with mailbox
Replies: 5
Views: 4926

Re: how to send/receive struct with mailbox

Giovanni wrote:Hi,

See "Object FIFOs" in OSLIB, it does that for you.

Giovanni

hello,

thanks giovanni for your answer. am i use this object fifo with malibox? i cannot find any wikis about object fifo so far. (if i am not mistaken). and i have no clue about it.

thank you,
taufiqwidi
by taufiqwidi
Tue Jul 16, 2019 8:00 am
Forum: ChibiOS/RT
Topic: how to send/receive struct with mailbox
Replies: 5
Views: 4926

how to send/receive struct with mailbox

hello,

how to send/receive struct with mailbox? i know this question have been asked before but it was like 3 years ago. i have follow this code in the forum that 3 years old ( http://www.chibios.com/forum/viewtopic.php?t=3270 ). but the receiving thread doesnt receive correct data ...
by taufiqwidi
Mon Jul 08, 2019 11:33 pm
Forum: ChibiOS/HAL
Topic: data availability in serial buffer
Replies: 2
Views: 3591

Re: data availability in serial buffer

hello,

okay i will check that. thank you Giovanni

Taufiq
by taufiqwidi
Mon Jul 08, 2019 12:39 am
Forum: ChibiOS/HAL
Topic: data availability in serial buffer
Replies: 2
Views: 3591

data availability in serial buffer

Hello,

first, sorry if i ask this question in the wrong place or maybe someone just asked this before.
how to know the size of the data that available in the serial buffer (using serial driver) ? or at least to know there are available data in the serial buffer.

thank you,
Taufiq.