Search Result

0 results found on Nordicsemi

All results

83450 results found on DevZone

NordicSemi

DevZone - first 10 hits

How to receive beacon using nrf52 ?

Hi, I have nrf52840 based BMD340 evolution board. I am able to run beacon transmission example. ble_app_beacon. Now I want to receive beacons and see the list of it. Is there any example program for BLE Beacon reception using ble nrf52840. Thanks and Regards Sudhir Foujadar

forum

6/27/2022

Zephyr GPIOTE + SPIM + BLE packet missing

Hello, I'm currently working with ISP2053 which is the nRF5340-based module. The system, as the specific GPIO pin detects a low-to-high event, gets data from another device via SPI (ISP becomes a master) and sends the SPI received data via BLE. But I think the BLE parts malfunction and the data are missed. When I check the CS pin of the SPI, the SPI transmissions are established for every GPIO event, so the problem may occur after the SPI. Following is my code for the initiation of GPIOTE, SPIM, and BLE. Please let me know if I used the functions in an inappropriate way or missed setting. void gpiote_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action) { nrfx_err_t err_code = nrfx_spim_xfer(&spim_adc, &spim_adc_desc, 0); if (err_code != NRFX_SUCCESS) { // printk("SPI error: %x\n", err_code); } } void gpiote_init(void) { nrfx_err_t err_code; // GPIOTE init err_code = nrfx_gpiote_init(NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY); nrfx_gpiote_in_config_t gpiote_cfg = NRFX_GPIOTE_CONFIG_IN_SENSE_LOTOHI(false); err_code = nrfx_gpiote_in_init(pin_spim_fpga_ind, &gpiote_cfg,

forum

6/27/2022

[nRF Connect SDK](Urgent)Re-bonding with Android

Target nRF52832(nrf52dk_nrf52832) SDK NCS v1.9.1 prj.conf CONFIG_BT_MAX_PAIRED=4 CONFIG_BT_KEYS_OVERWRITE_OLDEST=y BT_CONN_CB_DEFINE(conn_callbacks) = { .connected = connected, .disconnected = disconnected, #ifdef CONFIG_BT_SECURITY_ENABLED .security_changed = security_changed, #endif .le_param_req = le_param_req_kbd, .le_param_updated = le_param_updated, .le_phy_updated = le_phy_updated, .le_data_len_updated = le_data_length_updated }; static void security_changed(struct bt_conn *conn, bt_security_t level, enum bt_security_err err) { const bt_addr_le_t* addr = bt_conn_get_dst(conn); ... } If Nordic BLE reach max pairing, BLE delete its pairing, but Android has previous pairing. What if I should do in that case? I found err was 2 when pairing was deleted. Please let me have sample to make pairing again. Thanks!

forum

6/27/2022

usb audio mic send data

hi , I'm testing this example sdk17.1\examples\peripheral\usbd_audio\pca10056\blank\arm5_no_packs. I tested the microphone and the headphone separately. For microphone devices, I found that data could only be sent successfully if the recorder on the computer side was turned on .If the recorder on the PC side is not turned on and the USB microphone is not used, the data on the 52840 chip will fail to be sent. If the local end of the chip can know when the microphone is turned on, then I can control the transmission of this data. But my test code did not find such an event, what should I do, how do I know if the USB microphone is on or off. I used DK PCA10056, SDK17.1. Thanks.

forum

6/27/2022

Mutlilink central with multiple different peripheral with different service advertisements

Hello, We are developing an application to work as a multilink central with 3 different kind of BLE devices that include 1 custom device which advertise customised NUS service, 1 Polar belts which advertise HRS, BAS and DIS services and 1 EMG sensors which has a single notification service. We would like to connect 6 custom device, 6 polar belts (of any kind such as Polar Belt H10, H7 etc) and 4 EMG sensors at the same time (or any configuration of such). We are using Nordic SDK v15 with NRF52840 but eventually it will be used on NRF52849 dongle. We have developed multilink central application for the dongle where each kind of devices separately can connect and send notifications to central. For these applications, we have taken reference from ble_app_multilink_central and ble_app_hrs_c and from ble/ble_services/ble_lbs_c, ble_hrs_c, ble_bas_c and ble_nus_c. However, we are now trying to see if we can

forum

6/26/2022

nrf58240 - advertising scanning application - prevent closed loop

Hi, we are working on an application with 300 nodes. each node do 10sec advertsiment and afterwards 10sec scanning pls check the picture below 1) Beacon2 for example advertisies adverstising2 and it is received Bafrom beacon1 which is also advertising 2) The beacons are not synchronisied, so we suppose that finally Beacon1 receives all the advertisments by scanning window 3) but then when beacon1 advertisies all 3 it could be the case that these 3 advertisments are again cateched from the scanner of Beacon2. so it is a kind of a closed loop... --> so on Beacon 2 if it scans it will catch the "new" Advertsing 3 and the "old" advertisment which is advertised by beacon1. ---> is there any functionality avilable in the softdevice to filter out these "older" advertisments? or do we have to give something like a sequencenumber to the advertisment3, when it crosses Beacon2 to

forum

6/26/2022

Using both TWIM instances not work on certain pins

Hi, I noticed weird behaviour while using TWIM0 and TWIM1. My setup is : nrf52dk NRF Connect SDK v1.8.0 SPI2 works with SDMMC driver to handle the sd card TWIM1 handle the OLED SSD1306 TWIM0 handle the VL6180x I am working directly on nrfx drivers. I 've got TWIM1 instance configured on pins P0.27(SCL), P0.28(SDA). That instance works correctly, both lines are pulled high by internal pull-up resistors, and the whole communication with my external OLED works great. In my setup I have to use the TWIM0 instance also. That instance is configured on pins P0.31(SCL), P0.30(SDA) but in that case both lines are hold low at level of 20mV. I decided to simply change the TWIM0 pins to P0.03(SCL), P0.04(SDA). In that configuration lines are pulled high and the I2C communication works correctly. I double checked the nrf52dk layout to check if P0.31 and P0.30 are used in another

forum

6/26/2022

nRF9160 Problem with I2C when two sensors are connected.

My project requires two sensors to operate on the same i2c bus, one of which is a display and the other of which is a touch sensor. And I have a problem where, if I test both devices without connecting them simultaneously, both will function normally. But when I combine them, the touch sensor does not immediately function. Using an oscilloscope to detect the signal, I discovered that when I send Address 0x38, which is the number of the touchscreen sensor in Bit 9, there appears to be an incomplete Logic High signal. And I'm uncertain how this signal originated. Does anyone have any idea what could be causing this issue? Note: R Pullup is 4.7K, Bus speed 100KHz, wring distance 20 cm.

forum

6/26/2022

Delete this account

I could find no way of deleting this account. Please can someone delete it as I no longer work for Arm and I believe the existence of this account is blocking me setting up my other account.

forum

6/26/2022

nrf58240 Meshnetwork vs. adverstising scanning solution

Hi, actually we have following Solution: - NO battery powered devices - the first nrf58240 acts as a beacon advertsing temperature values all 10sec - On our gateway, there is also nrf58240 which is in continuous scanning mode.. and catches the advertsiments. --> it is working fine We need to extended this structure. The beacons are located in building We need to extended this structure. The beacons are located in building - add many (up to 200 beacons) in a line-- the one is near to the gateway, the next is more far away, the 3rd is much more away and so on - the main problem what we see is the distance, the router is not able to catch the advertisments of the far away located beacons inside the building --> clear this is what we expected ;-) Solution? - we checked the mesh functuioniality, but: we dont need

forum

6/26/2022