I need to make something like this and need that baudrate which are configurated in smartphone BLE app that this value be and on NRF528XX uart baudrate.
For example when I transmit from smartphone "Hello world" via bluetooth on 115200 baud rate that the nrf528XX transmit "Hello world" on his uart with the same baudrate.
Any help will be very usefull. Thank you.
As in a USB VCP, the baud rate is only relevant to the wired connection betwween the nRF52832 and the external device - it is irrelevant to the BLE link, and at the smartphone end.
You could either invent your own in-band protocol - so commands are carried with the UART payload - or create some separate out-of-band control protocol.
For the latter, you'd need to define your own Characteristic(s)...
maybe also a Service:
Ok but can nr52832 show as virtual COM port ?
I ask to connect nrf52832 on my PC USB port and that device show itself as a virtual com port?
THnak you, can when it show on my pc for example putty and i define baudrate , parity... can i read which baudrate , parity did user choose when it is from putty via virtual com port whant to connect?
PC <-> USB <->NRF52840
Are you talking about using the USB in the nRF52840, or going via a USB-to-UART converter?
If the former, yes, the USB CDC ACM Class does transfer that information;
If the latter, no.
can you please tellm me on which header are connected on nrf52840 DK UART pins and i need to configure uart on baudrate 300 7e1
It's all documented in the User Guide:
Use the 'Get Documentation' Button.
Also scroll down & choose the 'Downloads' tab - there you can get the schematics.
a dont see anywhere about 300baud. Because protocol which device communicateit must start on 300 baud then switch to some bigger baud. Also i need that 7E1 .
i find about baudrate
But how to achieve 7E1