2020-04-01 04:43 AM
I made a custom board with BlueNRG-MS.
However, the initial response is not correct after reset - compare with chapter 3.5 Test procedure in the AN4494.
The first message after reset is correct, but the response is invalid from the 2nd reply.
04, FF, 03, 01, 00, 02 (<- should be 01)
So the command response is always timeout.
How to solve this problem?
2020-04-01 05:50 AM
Hello,
So couple of points i would like ask for understanding the situation better
Thanks
Best Regards
2020-04-01 07:43 AM
Sorry for my explanation is not sufficient in detail.
According to the application note AN4494, some event messages is sent by the bluenrg after reset.
(The chapter 3.5 Test procedure demonstrate the messages after reset.)
Except for the first event message, I cannot obtain correct values.
https://www.st.com/resource/en/application_note/dm00116738-bringing-up-the-bluenrg-and-bluenrgms-devices-stmicroelectronics.pdf
This is my captured messages after reset.
I referred the sensortile schematic, at first. so I attach the 32MHz crystal to the bluenrg.
It does not work correctly, so I change the clock source same as development kit's - steval-idb005v1d.
But the message does not change.
2020-04-02 05:29 AM
Report my test procedures.
=> initial message is same (finished with 0x02) and timeout for any command.
=> initial message is same (finished with 0x02) and timeout for any command.
What is the problem for me?
2020-04-03 03:09 AM
Report my test procedures.
I'd ported the BlueNRG_Stack_IFR_Updater project for STM32L476RE in BlueNRG DK 2.0.2 Firmware Project.
In conclusion, the initialization problem of this project ahs been solve.
It's cause by spi polling functions in the bluenrg_interface.c.
At first, I'd ported the STM32L15x code without changing the code as much as possible.
The problem was solved by replacing the SPI polling function with the ST Cube Library function.
(The ALLMEMS project of sensortile gave me a hint.)
However, Virtual_COM_Port project still not working.
In order to connect with BlueNRG GUI Application, the corresponding project needs to operate correctly.
(I'm still looking for the reason)
Is there any DK firmware project for F4 or L4 Series?
2020-04-04 04:38 AM
No DK firmware project is not available for F4 and L4
But for Virtual Com , you may refer X-CUBE-BLE1