Hi everyone,
Hello everyone, I am new to BLE technology and I am encountering an issue with a DA14531MOD device mounted on a custom board that I did not design.
The pinout on the schematic is as follows.
I have uploaded an SDK to the device using the SmartSnippets Toolbox development environment, but when running the firmware, the microcontroller and the DA14531 do not seem to communicate via USART. I noticed that in the board configurator, these are the USART options:
while in the schematic, the pins are different (P0_8 and P0_9). Is this the problem? How to configure this pins (if it's possibile) for main usart?
Thank you all!
Hi There,Thank you for posting your question online.
seba21 said: I noticed that in the board configurator, these are the USART options: while in the schematic, the pins are different (P0_8 and P0_9). Is this the problem? How to configure this pins (if it's possibile) for main usart?
I noticed that in the board configurator, these are the USART options:
You have configured P0_8 and P0_9 as UART pins on your application. By default, on the ROM bootloader the UART pins are either P0_0 and P0_1 for 2-Wire UART boot or P0_3/P0_5 for 1-Wire UART boot. On the DA14531MOD, the P0_0, P0_1 and P0_3 are not exposed since they are internally connected to the SPI Flash. You can only use 1-Wire UART with P0_5 to program the board and boot. Or you can use the SWD interface in order to program the board.
seba21 said:I have uploaded an SDK to the device using the SmartSnippets Toolbox development environment, but when running the firmware, the microcontroller and the DA14531 do not seem to communicate via USART.
Had you previously tested your firmware? Have you configured the MCU side correctly? Could you please probe a logic analyzer on the UART pins so we can get a better understanding?Best Regards,OV_Renesas
Thank you for your previous answer.
Yes, I have the possibility to program the board using the SWD interface, and the MCU side is correctly configured. I downloaded a "preset" SDK from the Renesas Porting Guide onto the flash without making any modifications. Perhaps this is where the issue lies - I might need to modify the firmware to configure the UART port for my application?
As I mentioned before, I am new to this application and am having some trouble finding my way.
Thank you for your understanding.
Hi There,Thank you for the reply.
seba21 said:- I might need to modify the firmware to configure the UART port for my application? As I mentioned before, I am new to this application and am having some trouble finding my way.
- I might need to modify the firmware to configure the UART port for my application?
Please follow the Tutorials listed here: 1. DA145xx (renesas.com)After completing these Tutorials you will have a better understanding on how the DA14531 works and how to use the SDK6.If you have any further issues, feel free to ask.Best Regards,OV_Renesas