| Electronic Components Datasheet Search |
|
UM0239 Datasheet(PDF) 34 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0239 Datasheet(HTML) 34 Page - STMicroelectronics |
|
34 / 44 page ![]() Ping sessions UM0239 34/44 7.4 Ping session flowcharts Figure 19 and Figure 20 describe the Master and the Slave loops, respectively, while a ping session is in progress. Figure 19. Ping master loop Ping Start Transmit MSG (0) MAC enable ? NO YES SLAVE ADD = 1 MSG_NUM= 0 Slave Add. < Slave No.? Slave add. ‡ 1 Ping Master settings: •MASTER ADDRESS •SLAVE NUM •TOT MESSAGE NUM •WAIT TIME •MAC (MEDIUM ACCESS CONTROL) •MAX WAIT SLOT NR. •MAX WAIT TIME •REPETITION YES NO MSG_NUM ‡ 1 Ping Master current message output data: •OK MESS. •CORR. MESS. •KO MESS. •WRONG FCS MESS. •NOT ACK MESS. YES NO Calculate FCS YES OK MESS. YES Create MSG (0) NO NO SLAVE ADD‡ 1 YES Create MSG (MSG_NUM) NO YES NO YES CORR MESS. NO WRONG FCS MESS. YES NO MSG NOT ACK YES NO NO YES NO YES YES NO YES Ping Stop NO MAC equal to PD and Control Register set to CD? Set Control Register to PD Line busy and Max Wait Time not elapsed? Wait RAND time (from 1 to Max Wait Slot No. * 4 ms) MSG_NUM < TOT MSG NUM? Repetition enabled and < 3 messages transmitted? MAC enable ? Transmit MSG (MSG_NUM) Message Acknowledged and Wait Time not elapsed? Master Address correct ? Repetition enabled and < 3 messages transmitted? FCS calculated equal to FCS received? Use FEC and calculate a new FCS New FCS equal to FCS of corrected message? Line busy and Max Wait Time not elapsed? Wait RAND time (from 1 to Max Wait Slot No. * 4 ms) Slave Add. < Slave No.? |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |