Search Result

0 results found on Nordicsemi

All results

103943 results found on DevZone

NordicSemi

DevZone - first 10 hits

Wireshark RSS for Thread is too high

Device: nRF52840 + nRF21540 Wireshark: v4.2.4 nRF Sniffer: nrf802154_sniffer_nrf52840dongle.hex (downloaded yesterday) I am trying to evaluate Tx power using the nRf52840 + nRF21540. I am using the Nordic nRF Sniffer with Wireshark. I've started by viewing RSS for a device without the nRF21540, for reference. It is transmitting at 8 dBm. Wireshark shows the RSS, but it cannot possibly be correct: The LQI looks reasonable. What's up with RSS? Is RSS shown the received signal strength at the destination, or at the nRF Sniffer? Mary

forum

4/26/2024

pin reset disable

Hi all (I'm using vs studio code and nrf 2.5.1) I'm having difficulty disabling the reset function related to the reset pin. I can't use the pin as GPIO and if I put 0V (GND) on the pin the microcontroller restarts. I already searched in the forum. -The config on prj.conf (deprecated config) doesn't work - insert the --softreset argument into board.cmake dont work. Advice? best regards Cristian

forum

4/26/2024

GATT client error NRF_ERROR_DATA_SIZE when performing GATT write even though length is less that ATT_MTU - 3

Hello Nordic team, I have a central client BLE application on nrf52840 that performs GATT write on another BLE server device. From BLE specifications and from various posts on Nordic Dev Zone, I understand that the BLE client can perform a write of length (ATT_MTU -3) bytes at a time. In my application, I can see that the effective MTU size is set to 23. However, if the BLE client tries to perform a GATT write of 18 , 19 or 20 bytes, a GATT client error is reported with error code 12 (NRF_ERROR_DATA_SIZE ). GATT write is only successful when I try to write data of 17 bytes or lower. Can you please let me know what could be the possible cause for this issue? Note that I am using nrf5 SDK for Thread and Zigbee v4.2.0 and using softdevice S140. Kindly let me know if you need any

forum

4/26/2024

BT Mesh proxy node and sequence number questions

Greetings, I've been trying to implement a cloud-based solution for Bluetooth Mesh. I've got two questions that I would like to receive some comments on and I would be grateful for any assistance. 1. Am I correct to understand that you can have as many proxy connections as there are nodes in the network? To rephrase, is it possible to have two or more smartphones connect to a single Mesh node over BT Mesh proxy functionality? 2. How should I deal with sequence numbers when having two smartphones connect over BT Mesh to a single node in sequence? The problem I run into is as follows: Say, I have two smartphones on an App with user account system that is able to save BT Mesh networks in the cloud using Nordic's Bluetooth Mesh library for Android. User retrieves the BT Mesh network data upon logging in. The following steps would

forum

4/26/2024

Thingy 53 + nRF7002eb supply anomaly

Hello, I am evaluating the Thingy 53 + nRF7002 EB for Wifi and Bluetooth scanning. But depending on which power source I plug the devkit, the wifi interface doesn't set up. For instance, on the same PC, one USB port can deliver enough power, and another one (with the same hardware characteristics) does not. I assume it's related to the nPM1100 power management IC, because USB port detection can limit VBUS current on the board. Nevertheless, I tried to set the GPIO ISET high to have a limit of 500mA instead of 100mA but nothing changed. I run on the sample app called wifi scan the board and connect it with a 3.0 USB cable. Please, can anyone give a clue on this issue ?

forum

4/26/2024

nRF52840 + nRF7002 with external MCU

Hello, We are evaluating a solution for our product where we would like to use Zephyr RTOS with NCS nRF52840 + nRF7002 for a combined WiFi/BLE solution. nRF52 will run the code for both BLE and WiFi combo. an External MCU which is not from one of Nordic MCUs. Is it possible to use this combination for using nRF combo only as connectivity solution? Is there an example already on zephyr or NCS for this solution? Can you guide us to relevant samples or documents on this? Is there anything we would need to take care in this combination? How does interfacing with nRF52 MCU in this case looks like? I feel firmware update might be difficult but not impossible? Thank you for your support. Regards, DJ

forum

4/26/2024

how to diable and restart softdevice on nrf552840

I need to run a time-sensitive application on the NRF52840 platform, hence I require disabling and re-enabling the softdevice. After successfully disabling and re-enabling the softdevice, when running ble_advertising_init, an ERROR 12289 [Unknown error code] occurs. sdk: 17 Main Working Process: 1)**init part** source code: ble_stack_init (); sd_power_dcdc_mode_set ( NRF_POWER_DCDC_ENABLE ); // enable dc/dc translate power peer_manager_init (); gap_params_init (); gatt_init (); conn_params_init (); services_init (); update_sensor_mac (); advertising_init ( BLE_ADV_INI_MEAS , BLE_ADV_LOW_POWER_MODE ); 2)**stop softdevices** source code: nrf_sdh_disable_request (); 3)**start softdevice** source code: err_code = nrf_sdh_enable_request (); NRF_LOG_INFO ( " start softdevice return stats: %d " , err_code ); if ( err_code != NRF_SUCCESS ) { err_code = nrf_sdh_request_continue (); } NRF_LOG_INFO ( " restart softdevice return stats: %d " , err_code ); LOG INFO: app: start softdevice return stats:0 app: restart softdevice return stats:0 4) **start advertising** source code: err_code = ble_advertising_init (& m_advertising , & init );

forum

4/26/2024

Connector cable between nrf5340 audio dk to nrf21540

Hello! Do you have a link to a ready-made RF cable which can connect the nrf5340 audio dk SWF output to the nrf21540 EK TRX input? Best regards, Henrik

forum

4/26/2024

Using ZBus with ISRs

Hi, I just started working with ZBus and even though Zephyr's documentation states that " Publishing, reading, claiming, and finishing are available in all RTOS thread contexts, including ISRs.", Nordic documentation claims the opposite "Publishing and reading are available in all RTOS contexts except inside an Interrupt Service Routine (ISR). " and in fact i wasn't able to add ZBus's operations inside an ISR. Is there a problem with its emplementation on nordic's boards or did i get something wrong? Thanks in advance, Kind regards,

forum

4/26/2024

Unable to decrypt AES-CCM encrypted message from Central

Hi, I was trying to decrypt an encrypted message I send form my phone using the psa/crypto library. I managed to send the encrypted message over to my board by ble correctly, however when I tried to decrypt the message, I was meet with an error (status -135). I was unable to find any information with regards to this error code. The picture below explains my issue: As seen from the image, I am able to send the encrypted data from my phone correctly to the board but I am unable decrypt it. I am quite sure I have implemented the decryption process correctly as I did not run into the error log I have set for debugging until the decryption process. Below is the segment of the code I wrote for the decryption: static size_t received_data_len = 0; static void bt_receive_cb(struct bt_conn *conn, const uint8_t *const data, uint16_t len)

forum

4/26/2024