2017-07-12 10:35 PM
I am working in new project for which I am using cortex M3 STM32F103C8 microcontroller.
controller is running at 64MHZ speed.In my project design system will need to fetch the data from the external device which is sending BMC(biphase Manchester coded)data frame at 300kbps rate.
After receving BMC data i need to decode it.
Please help me in achieving the goal I am trying to get.
#300kbps #bmc-decode #stm32-f #stm32f1032017-07-12 11:49 PM
I'm not interested in doing the work, but I imagine you could time stamp the edges using a TIM in Input Capture mode, or with PWM Input mode.
2017-07-13 01:35 AM
thank you clive one. can you also advise on decoding BMC signal ?
2017-07-13 07:09 AM
Not familiar with the specific form/format of the signal in question, perhaps you can cite some documentation.
Manchester coding in general would look like a modulated signal where the period and duty cycle (ie distance between sequential edges) could be used to identify 00, 01, 10, 11 type sequences, you'd then need to look at any preamble or synchronization to get framing of the data correct, and use whatever CRC, checksum or integrity checking to validate the decoded data.
Your understanding of the specific form of the signal will be particularly helpful to its decoding.