2018-04-18 07:32 AM
Hi,
I cannot build working DTM for BlueNRG-1 on TrueSTUDIO (9.0.0).
When I program the device with prebuilt DTM_SPI.hex from Firmware folder in ST Development Kit it works fine. STM32 connects with BlueNRG, configures it, etc.
Unfortunatelly, the program built from sources (Projects/BLE_Examples/BlueNRG-1/DTM) is not working. It looks like BlueNRG does not raise IRQ line for notification its initial event.Below I illustrate comparison of initial sequence for these two programs.
What I am missing in compilation?
Regards,
Piotr
PS
I am using idb007v1 board.#truestudio #bluenrg-1 #dtm #building-from-sources #st-development-kitSolved! Go to Solution.
2018-05-11 09:38 PM
My misktake.
I followed reference design STEVAL-IDB007V1 where BlueNRG has two CS lines:1) one for control a sensor,2) second for communication with host processor.I controlled incorect one.
After fixing this, everything works fine.
Comparing to IDB007V1 I noticed only one minor difference: my BlueNRG-2 starts little slower - maybe a consequence of higher frequency of a clock 32MHz vs. 16MHz.
Regards,
Piotr Romaniuk2018-05-11 09:38 PM
My misktake.
I followed reference design STEVAL-IDB007V1 where BlueNRG has two CS lines:1) one for control a sensor,2) second for communication with host processor.I controlled incorect one.
After fixing this, everything works fine.
Comparing to IDB007V1 I noticed only one minor difference: my BlueNRG-2 starts little slower - maybe a consequence of higher frequency of a clock 32MHz vs. 16MHz.
Regards,
Piotr Romaniuk