IRNAS / KORUZA-driver-specification

Specification and later documentation for KORUZA open source open hardware driver
Other
0 stars 1 forks source link

IR comunication #6

Open VojislavM opened 8 years ago

VojislavM commented 8 years ago

MCU should handle low-level IR communication between two Koruza units. Receiving the IR data should be handled in the interrupt routine, something like a parallel process. Posible problem could occur with reflection of the IR light, so unit that sends data may receive it back at the same time, which is not good.

kostko commented 8 years ago

Posible problem could occur with reflection of the IR light, so unit that sends data may receive it back at the same time, which is not good.

This can be detected by having monotonically increasing sequence numbers.

VojislavM commented 8 years ago

IR communication is implemented in koruza driver (STM32), need to be tested on longer ranges. IR link will send 3x8 data + 1x8 CRC and control bits every sec when witi board ask for status. possible problems: