Hi,
I enabled the "CFG_ENTER_BINARY_MODE_ON_CONNECTION" in DA14531 sdk. I have interfaced Renesas RX111 microcontroller with DA14531 through UART (only rx & tx) and I'm using codeless sdk. I want to send data from APP to RX111 microcontroller through DA14531 and vice versa. first I'm testing with Renesas smart console APP. But the problem is that if I close the Renesas Smart Console app in the middle of the connection (without using disconnection option in the renesas smart console APP) then I'm getting "+++" for every two seconds from DA14531 to my microcontroller though Uart continously. what it indicates and also how to stop that incoming "+++" through uart from DA14531 to my controller.
hi,
If I assign ARCH_SLEEP_OFF to app_default_sleep_mode then data transfer is not taking place between RX111 and Renesas smart console APP through DA14531. but DA14531 goes in to Binary mode after connection. If I use ARCH_EXT_SLEEP_ON then only data transfer takes place between them
Hi Kumar,
Let me check on this and will back to you soon.
BR,
JH_Renesas
Hi JH,
Please tell me the status
Just tested the code, you can leave the ARCH_EXT_SLEEP_ON, it will not stop the advertising because the adv is set to forever:
please set app_default_sleep_mode back to ARCH_EXT_SLEEP_ON.
But sometimes Device name is not showing in the Bluetooth scan list in the POS devices and also in Mobile. So I thought that it is going in to sleep mode if it is not connected to any one.
This could be another issue, could you gather more info and reproduction ways for this issue?
I'm going to make custom PCB by using DA14531. In that I don't want to mount 32KHz crystal. then codeless sdk (enter in to binary mode on connection) is going to work or not. because 32KHz is useful when DA14531 is in sleep mode. but I don't want to use sleep mode. but you are saying that I can leave the ARCH_EXT_SLEEP_ON. Is this going to effect the code, if I don't mount 32KHz
Yes you do not need mount 32K crystal. Default using internal RC.
There is no affection with ARCH_EXT_SLEEP_ON.
Ok. In my custom board, If I connect DA14531 serial wire (clock and DIO) pins directly to Jlink debugger, then shall I use Renesas smartbond flash programmer for code downloading ? right now I'm using DA14531 DEVKIT
Yes you can, SWCLK,SWDIO,GND,VCC. are needed