4 posts / 0 new
Last post
aeris
Offline
Last seen:5 years 7 months ago
Joined:2015-03-05 14:45
DSPS crash PAN1740

Hello,

I use the DSPS device keil project and have only modify this parameters :
- nvds.c : NVDS_TAG_UART_BAUDRATE to 19200, and NVDS_TAG_DEVICE_NAME
- periph_setup.h : TX to P0.6, RX to P0.7, RTS to P0.4, CTS to P0.5
- uart_sps.h : UART_SPS_BAUDRATE set to UART_BAUDRATE_19K2

I use hardware flow control, 8N1 UART and PAN1740 USB stick connected to a PIC16 custom board.
I use a custom DSPS based Android app.
If the PIC don't respect baud rate the PAN1740 crash and I lost the BT connection...

That's a big problem if PAN1740 crash when it have a UART protocol problem :-/

Thanks,

Morgane Vallée

Keywords:
Device:
MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
Joined:2015-06-08 11:34
Hi aeris,

Hi aeris,

If the PIC doesn't respect the baudrate of the communication we can't predict the results. We cant be sure of what its going to happen.

Thanks MT_dialog

aeris
Offline
Last seen:5 years 7 months ago
Joined:2015-03-05 14:45
Yes, but maybe DA can detect

是的,但是也许DA能检测一个坏wi传播th timeout to prevent crash :-/

MT_dialog
Offline
Last seen:1 month 1 week ago
Staff
Joined:2015-06-08 11:34
Hi aeris,

Hi aeris,

Yes it could, but this scenario isn't implemented or tested by dialog.

Thanks MT_dialog