Skip to main content
Zhou JianQiang
Senior
Mar 14, 2024 7:03 AM UTC
Question

why bluenrg1 Controller privacy requires 32MHz High Speed Crystal?

Hi :

I noticed that Controller privacy requires 32MHz High Speed Crystal in BlueNRG-1_2 DK 3.2.3\Project\BLE_Examples\BLE_Privacy\src\BLE_Privacy_main.c, but I don't find any document about this.

Meanwhile, my platform has 16M high speed crystal, I modify HS_SPEED_XTAL_32MHZ to HS_SPEED_XTAL_16MHZ then flash this demo and can't scan the bluenrg1 device(the demo has name "pslave"). is there any workaround so that I can use Controller privacy with 16M high speed crystal?

Comment.png

@LauraCx @Rene Lenerve @Laurent LOUAZON 

This topic has been closed for replies.

4 replies

Laurent LOUAZON
ST Employee
Mar 14, 2024 8:20 AM UTC

Hello,

This is right, privacy requires 32MHz xtal as more PIPS are required.
A 32MHz xtal is mandatory for such application. No workaround.

Regards
Laurent

 

 

Zhou JianQiang
Senior
Mar 14, 2024 9:20 AM UTC

Hi @Laurent LOUAZON 

Thank you for your reply.

But according to BlueNRG Errata sheet, ADC does not work properly when a 32 MHz system clock is being used. Does this mean we can only choose one between ADC and Controller privacy?

Laurent LOUAZON
ST Employee
Mar 14, 2024 9:41 AM UTC

Hello,

 

Yes this is unfortunately correct.

 

Laurent

Zhou JianQiang
Senior
Mar 14, 2024 12:45 PM UTC

Hi @Laurent LOUAZON :

accroding to following clock tree, 32M XO can be devided with 2. Do you mean even if I use 32M XO then devided with 2, ADC and Controller privacy still can't work together?

meanwhile, Is there any method that I can enable bonding with 16M XO? I can't enable bonding using BlueNRG1 and android 13. Attachment is my code.

clock tree.png