![]() ![]() The only file I changed from the given driver files was the common.c file to remove the coines platform utilization (it is not compatible with the nrf chip). Is there any common reason that this could be occuring. you can use Nordic's nRFGo Studio utility, which is available on the same MyPages section of. I am still using the example code above for reading temp data. is a common file format when working with embedded systems. If I set these values to a high value, the sensor will read a temp and pressure value but it will never change. 2.4 GHz We offer a complete range of ultra-low power 2.4GHz ISM band solutions including wireless system-on-chips, protocol stacks, development tools, and reference designs. The d ata ready interrupt, watermark interrupt (on byte level) and FIFO full interrupt are all stuck at ground and never update. I have isolated the issue down to the interrupt signals never reading a high value. In addition, when debugging you can see RTT output directly in the IDE with no configuration. This is Nordic’s officially supported IDE, so it is good to test with if you are having issues. This consistently returns succesfully with no errors, but somehow the code still enters the communication error case check.Īny help with this issue would be very appreciated. Ultra low power (ULP) RF specialist Nordic Semiconductor ASA today announces it has signed an agreement with Hilden, Germany-based SEGGER Microcontroller GmbH &. In addition to using CLion for debugging, it’s sometimes useful to use Segger Embedded Studio (SES). Ret_code = nrf_drv_twi_rx(&m_twi, dev_addr, reg_data, len) Ret_code = nrf_drv_twi_tx(&m_twi, dev_addr, ®_addr, 1, false) Segger Embedded Studio is a professional all-in-one IDE solution for embedded C/C++ programming. My wrapper function for the coines common.c i2c read function is shown below: BMP3_INTF_RET_TYPE bmp3_i2c_read(uint8_t reg_addr, uint8_t *reg_data, uint32_t len, void *intf_ptr) If (dev->intf_rslt != BMP3_INTF_RET_SUCCESS) This is shown below: elseĭev->intf_rslt = dev->read(reg_addr, reg_data, len, dev->intf_ptr) In the bmp3.c file, after the data is read through i2c and returns succesfully, the code still enters the communication error if case. I am also running into what I think is another issue. I have force enabled the value but this only reads static values. I am running into an issue where the value is never enabled. I am currently trying to run the read_sensor_data example. Additionally I have intgreated the COINES common.c, and common.h libraries into the enviroment so I can use Bosch's starter code and examples. SEGGER Embedded Studio is an easy-to-use integrated development environment with project management tools, editor and debugger supporting Arm Cortex devices. I am using segger embedded studio, as well as the Bosch libraries (bmp3.c, bmp3.h, bmp3_defs.h). I am trying to get sensor readings from the BMP384 on a Nordic NRF52 chip.
0 Comments
Leave a Reply. |