electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

syncronisation problem


Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> syncronisation problem
Author Message
gloin



Joined: 21 Nov 2005
Posts: 5


Post27 Dec 2007 14:02   

syncronisation problem


I modified the Xilinx manchester decoder code (xapp339) in order to use command and data sync pulses in manchester enc/dec-oding.
Quick tutorial for manchester enc/dec.

Command sync pulse is 1.5 bit time high and 1.5 bit low pulse

Data sync pulse is 1.5 bit time low and 1.5 bit high pulse

Manchester one bit is 0.5 bit time High, 0.5 bit time low pulse

Manchester zero bit is 0.5 bit time low, 0.5 bit time high pulse

In my communication system, data is coming to the decoder by this order below;

1. Command Sync+9 bit manchester data,
2. Data Sync+9 bit manchester data
3. Data Sync+9 bit manchester data

This 1., 2. , 3. steps are essential for the communication, during the idle state system should send manchester zero bits.

I want to ask that how can I handle the synchronisation in order to receive the data correctly. In my code I m waiting for 6 bits then check it, if it is command sync or the data sync I m continuing to receive the bits, if it is not I reset the bit counter etc.

But I think it is not a good way because the system always sends manchester zero bits in idle state so it is hard to recognize the command sync pulse and the other data sequences if there is a shift during my 6 bits control state, I can not catch the command sync pulse.

You may see the communication profile in attachment, any help will be greatly appreciated.

regards
Back to top
Google
AdSense
Google Adsense




Post27 Dec 2007 14:02   

Ads







Sorry, but you need login in to view this attachment

Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> syncronisation problem
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Basic IZT problem- simplifying problem before long division (1)
problem with Compaq C794WU laptop..hedset(voice problem) (2)
Cadence Problem- Problem in attempting to load data forGraph (1)
Triac problem - Can you spot a problem in my design? (1)
Problem enabling DVIN - LPT connector problem? (2)
halloween costume problem (power problem) (5)
Antennagate area problem(.lef problem) (1)
RF amplifier problem, resonant? ET? equipment problem? (3)
Message problem, Download counter problem ? (2)
Serial Data Problem- problem with serial programming (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS