cancel
Showing results for 
Search instead for 
Did you mean: 

How to build DTM for BlueNRG-1 from sources?

Posted on April 18, 2018 at 16:32

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.

0690X0000060AfwQAE.png

What I am missing in compilation?

Regards,

Piotr

PS

I am using idb007v1 board.

#truestudio #bluenrg-1 #dtm #building-from-sources #st-development-kit
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on May 12, 2018 at 06:38

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

View solution in original post

1 REPLY 1
Posted on May 12, 2018 at 06:38

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