Hey Gero,

Can you give us a bit more information on the protocol requirements?

Also have you considered using something like a uart with SIR encoding (most chips have this included), or just building on the IrDA protocol?  If speed is the problem you can also use MIR or FIR.

-Kevin

On 22.02.19 11:39, Thomas C. Schmidt wrote:
Hi Gero,

welcome to the RIOT community!

We had a student project last term that tried similar things with IR (with similar problems). Maybe Michel or Kevin can share some insights?

Cheers,
 Thomas

On 22/02/2019 10:34, Gero Müller wrote:
Hello RIOT Community!

For an IR based communication protocol we currently use direct port register access for accurate timings. I now want to port this code to more generic gpio_set / gpio_clear functions, but they are much slower. The resolution of the gpio_t takes more than 20 assembler instructions onour board/cpu (msp430) and the timing does not work anymore. Is there a fast and generic way to set and clear gpio pins? If not, what are my alternatives for accurate cross device timings?

Thanks
Gero
(new research engineer at CITI Lab, Inria, Lyon)

_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to