Skip to main content
robert239955_stm1_stmicro
Associate
December 21, 2015
Question

Spirit1 - manchester encoding

  • December 21, 2015
  • 1 reply
  • 639 views
Posted on December 21, 2015 at 11:26

Hello,

I'm trying to decode/encode my packets using manchester code. Is it possible to use on-chip encoding and decoding for this IC? I couldn't find any register in datasheet, so I assume it's not possible but maybe there's some hidden registers which are able to do it. Any help would be appreciated.

Regards,

Robert
This topic has been closed for replies.

1 reply

Nickname4815_O
Associate
January 12, 2016
Posted on January 12, 2016 at 09:45

Hello,

SPIRIT1 does not support manchester encoding/decoding natively.

It only supports it in the WMBUS submodes that require it.

I attach here a simple .c file that contains the manchester encoding/decoding routines from a raw buffer.

Regards,

F.

________________

Attachments :

manchester.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht36&d=%2Fa%2F0X0000000aJI%2FJX0i0SWj5gsDevxtwwOWV20aX41WuoSHRo.TmubZxhI&asPdf=false