Automotive grade Bluetooth chip k-line

PK gravatar image

asked 2017-09-01 08:31:20 +0100


We are working on Automotive project using nrf51824. below are some queries ,

We are basically want to use the chip as a Bluetooth to Kline(using Uart) bridge . . i.e we want to send/receive K line commands using a mobile app

K line uses non standard baud rate , also we need to have a start sequence with 25ms low and 25ms high pattern,

  1. We should be able to configure the UART TX pin as GPIO and switch on for 25 ms and switch it off fro 25 ms.. ?
  2. We should be able to set the customized Baudrate eg. 200, 10400 etc. ?
  3. If you have already have any solution to do KWP2000 Fast Init, kindly let us know ?

Can we configure non standard baud rate?if yes how to configure?

Do we have any relevant apps for such applications?

please confirm.

thanks in advance

edit retag flag offensive close delete report spam

2 answers

Sort by » oldest newest most voted
MartinBL gravatar image

answered 2017-09-01 13:04:03 +0100


  1. I'm not sure if I understand this question. It is possible to switch the configuration of a pin back and forth between pretty much any functionality (UART, TWI, regular GPIO, etc.) at runtime.
  2. Yes, that is possible by configuring the BAUD RATE register. As you can see in the documentation, there are only a selected few documented baud rates, but it is possible to experiment with the register values and get custom baudrates too.
  3. Unfortunately not.

Do we have any relevant apps for such applications?

I'm not exactly sure what you are looking for here, but we have some UART examples in our SDK and some Android and iOS source code that might be usefull on github.

edit flag offensive delete publish link more
phanhust gravatar image

answered 2017-10-12 16:01:45 +0100

hi, i have same project with you. when i set baudrate =10400 by configuring baud rate register. it 's 0x0029A000UL. but nothing happend in RX.

i test this project by arduino and it's worked totally, so now i'm in trouble in NRF51 sdk11

could you give me some ideal? thanks

edit flag offensive delete publish link more


Is this related to your other question?

Martin Børs-Lind ( 2017-10-12 16:23:30 +0100 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower


Asked: 2017-09-01 08:31:20 +0100

Seen: 87 times

Last updated: okt. 12