BSD Protocol Communication - Microchip

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

2022/6/27 17:37 BSD protocol communication | Microchip

 Join us now!

Log in
Enter Search Phrase... 

Forums Posts
Page Extras  Menu

Home
»
All Forums
»
[8-Bit Microcontrollers]
»
PIC Microcontrollers (PIC10F, PIC12F, PIC16F, PIC18F)
»
BSD protocol communication

Mark Thread Unread • Flat Reading Mode ❐

 Prev Thread Next Thread 

BSD protocol communication Answered

Author Essentials Only


Full Version Post

Akki Thursday, November 09, 2017 7:51 PM


(permalink)

BSD protocol communication 0

Hello Friends,

I am working on some project related to communication line tapping, where i want to


New Member receive data which is encoded using BSD protocol (with  baud rate of 1200), decode it and
transmit data to PC. My question is, can I do this stuff using 8 bit controller like
PIC18F4520 or similar. The main problem in this is, the frame length after decoding will be
Total Posts : 2
19 bit which needs to transmit to PC.

Reward points : 0
Relevant suggestions will help me a lot. Thanks in advance.

Joined: 9/5/2017

Location: 0

Status: offline #1

4 Replies

Related Threads See best answer

communication…
Simple communication between 2 PIC´s with no communication… Bootloader for PIC18LF25K50 - Starting Point
USB BSD and the PIC18F87J94. Another datasheet error? 'MiMAC_ReceivedPac…
Error - could not find definition of symbol 'MiMAC_ReceivedPac…
Error [1109] type mismatch in redeclaration section can not fit section
I2C protocol - no ACK from slave I2C protocol
proto…
Data Transmit from one Microcontroller to another by CAN proto… PIC18F452 and Philips DSA protocol

DarioG Re: BSD protocol communication • Thursday, November 09, 2017 9:24 PM
(permalink)
☼ Best Answer

What is it? Can you post a link to this protocol?


+1 (1)

Allmächtig. GENOVA :D :D ! GODO

#2

Total Posts : 54081

Reward points : 0

Joined: 2/25/2006

Location: Oesterreich

Status: offline

https://www.microchip.com/forums/m1023952.aspx 1/4
2022/6/27 17:37 BSD protocol communication | Microchip

Akki Re: BSD protocol communication • Friday, November 10, 2017 12:04 AM
(permalink)

I really don't know what it is. But when I search about it, I found some info which i would

like to share.

+1 (1)
This is the 19 bit frame format after decoding which I want to transmit to PC.

Data frame length: 19 bits (+ at least 3 sync bits), as shown in Table 2.


New Member PAUSE: at least 3 sync bits

DIR: signifies the direction of the frame


Total Posts : 2
DIR = 0 if the frame is sent by the master
Reward points : 0

Joined: 9/5/2017 DIR = 1 if the frame is sent by the slave


Location: 0
SLAVE ADDR: bus address of the slave
Status: offline

R/W: defines whether the following register is to be read or written

R/W = 0 if the register is to be read

R/W = 1 if the register is to be written

REG ADDR: register address to be accessed

P1: parity bit

P1 = 0 if there are an even number of 1s in the previous 8 bits

P1 = 1 if there are an off number of 1s in the previous 8 bits

DATA: data read from or to be written to the specified register

P2: parity bit

P2 = 0 if there are an even number of 1s in the previous 8 bits

P2 = 1 if there are an off number of 1s in the previous 8 bits

ACK: acknowledgement sent by slave

ACK = 0 if the transmission was successful.

PAUSE

DIR

SLAVE ADDR

R/W

REG ADDR

P1

DATA

P2

ACK

≥ 3 sync bits

1 bit

3 bits

1 bit

3 bits

1 bit

8 bits

1 bit

1 bit

Table 2 - Data Frame


 

https://www.microchip.com/forums/m1023952.aspx 2/4
2022/6/27 17:37 BSD protocol communication | Microchip

Master-initiated communication

If the master is writing to a register:

The master transmits all bits except the ACK bit.

If the master is reading from a register:

The master transmits the PAUSE, SLAVE ADDR, R/W, REG ADDR, and
P1 bits.

The slave transmits the DATA, P2, and ACK bits.

#3

qhb Re: BSD protocol communication • Monday, November 13, 2017 8:05 AM
(permalink)

A bit of Googling seems to indicate that this is a protocol only used for engine bay

communications in BMW vehicles,

+1 (1)
and it might be based on LIN protocol (but I could be wrong there).

Superb Member

#4

Total Posts : 9999

Reward points : 0

Joined: 6/6/2016
Location: One step
ahead...

Status: offline

DarioG Re: BSD protocol communication • Monday, November 13, 2017 5:25 PM
(permalink)

Yeah, I googled as well and got mainly Berkeley Sockets stuff


 

0
So, thanks for the info above: am not sure about the speed... but I start out with a
software solution, and see how it goes. Does not seem to be too complicated.

Allmächtig.

GENOVA :D :D ! GODO

Total Posts : 54081 #5

Reward points : 0

Joined: 2/25/2006
Location: Oesterreich

Status: offline

Home
»
All Forums
»
[8-Bit Microcontrollers]
»
PIC Microcontrollers (PIC10F, PIC12F, PIC16F, PIC18F)
»
BSD protocol communication

Jump to:
- - - - PIC Microcontrollers (PIC10F, PIC12F, PIC16F, PIC18F)

© 2022 APG vNext Commercial Version 4.5

https://www.microchip.com/forums/m1023952.aspx 3/4
2022/6/27 17:37 BSD protocol communication | Microchip

Latest Posts    Active Posts    All FAQs   

How to build I2C project Can We Use a Single Digital I/O Pin as IN… MPLAB XC32 v4.10 Released

production.null stop Why the IP address of 169.254.xxx.yyy? Why does my PIC32 run slower than expe…

Can We Use a Single Digital I/O Pin as IN… MCP23S18 daisy chain example Can two RN2483 (or RN2903) modems c…

Cannot Build First TCP/IP Project Due to … SYS_FS_DirSearch function not working … Flying with HardWare Favorites Gallery List

Support on Active Converter/ Rectifier ANSI C is not enough any more Links embedded in posts

Override Vs PWM control input Bug related with rounding.

Why the IP address of 169.254.xxx.yyy? How to create non-volatile variables with …

Systick Peripheral Library for ATSAML21 ICSP timing clarification: P21

PIC18F45K80 MCC bug, or is there some… PIC18 Servicing High ISR from assembly

Infomation Displaying strings to TFT Displ… How to ack / nack i2c operation in PIC18F…

Products Applications Design Support Training Sample & Buy About Us Contact Us
Legal Investors Careers

©Copyright 1998-2014 Microchip Technology Inc. All rights reserved.


Shanghai ICP Recordal No.09049794

https://www.microchip.com/forums/m1023952.aspx 4/4

You might also like