Hi
I found some Bluetooth send the data unstable problem after i enable the usb cdc acm function. Can you help me to
check my setting that has missing or not thanks.
prj.conf
Hi
I found some Bluetooth send the data unstable problem after i enable the usb cdc acm function. Can you help me to
check my setting that has missing or not thanks.
prj.conf
Hi!
Could you explain these "data unstable problem" ? What's the issue?
I just plug in the usb to monitor the log print out and enable the ble nus send the data at the same time but suddenly the bt not send the data out after 5sec. After that the usb cdc port seems disconnect and flush the device manager again. If i use the uart0 device that's no this issue happened.
Stanly
Do you have any logs from that?
Also, what version of nRF Connect SDK are you using?
Hi,
I didn't get any error from my usb cdc acm log, should i turn on any settings of bt module. I can try to capture log again. the SDK version is v2.4.2, Zephyr version 3.3.99.
Stanly
Hi,
I didn't get any error from my usb cdc acm log, should i turn on any settings of bt module. I can try to capture log again. the SDK version is v2.4.2, Zephyr version 3.3.99.
Stanly
Hi Sigurd:
I found the root cause that will cause the timer trigger every 5 sec that will call the work to the workqueue and BT RX recevice the command it will also use the work to do the collect the sensor data then use the nus_send_data to send the data out. Thus i guess the timer maybe got the high priority to do the work first but i do not know why the BT work will stop. Do you have any suggest to prevent this problem happens thanks.
In my code:
void main(){
...
sys_work_q_init();
}