Skip to main content
Aalna.1
Associate
Jun 30, 2022 9:58 AM UTC
Question

Can't to use BLUENRG with internal and external oscillator

Hello every one

we are using BlueNRG-1 for Our BLE

For the Information,

We have connected 32MHz external crystal oscillator in HS Pins..

We haven't connected any external crystal oscillator at LS Pins..

And we haven't connected any inductor at SMPS pins of BlueNRG2.

 we are not able to start the BlueNRG2 application and the MCU is stuck at the while(CKGEN_BLE->CLK32K_IT == 0); point in DeviceConfiguration() function.

This topic has been closed for replies.

1 reply

Laurent LOUAZON
ST Employee
Jul 20, 2022 4:37 PM UTC

Hello,

From HW point of view

  • it is correct to use a 32MHZ HS xtal with HS pins
  • It is possible not to connect a 32kHz Xtal
  • It is possible not to connect an inductor at SMPS pins. Be careful, in that case and as stated in BlueNRG-1 datasheet (figure 25), SMPS FILT2 pin should be connected directly to Vbat.

From SW point of view, you must reflect this HW setup by defining below values in pre processing options.

  • HS_SPEED_XTAL_32MHZ
  • LS_SOURCE_INTERNAL_RO 
  • SMPS_INDUCTOR_NONE

Regards

Laurent