Hello,
What I would like to do is to have a custom design with DA14580 and only the BMI160 sensor. I already have the IOT board with the DA14583 and 12DOF sensors on the board. The code I use is this IOT SDK but I had to remove a lot of code (for example the bme280.c and bmm150.c along with their usage in user_periph_setup.c). I also had to remove all the spi flash related lines since DA14580 does not have a flash like DA14583 has. I do a direct RAM download from smartsnippets and it downloads the firmware successfully. Then it starts advertising and I can connect it with another bluetooth chip but when I send the start command to acquire the gyro and the accelerometer data I cannot receive the data. My question is whether there is a modified firmware for DA14580 . I have done a stand alone test for the sensor(bmi160) and it works. I strongly think that the firmware is not compatible with DA14580. Thank you for your answer...
Eren
Hi erenvar,
There is no IoT fw for the 580, the IoT reference design is exclusively for the 583 and it can not run directly on the 580, so yes the IoT fw as is, is not compatible with the 580. The differences between the 580 and the 583 is mostly the flash thus some of the pins and connections with the sensors of the reference design should also be different.
Thanks MT_dialog
Thank you for your reply. Is there any way I can modify the IoT SDK so that I can have custom design with DA14580+bmi160 sensor chip.
Hi erenvar,
The SDK that the IoT uses is the standard SDK for all the 58x devices, you can just use the drivers from the IoT reference design on a clean template SDK and start implementing. If you mean an identical design with an external flash and the appropriate sensors on a 580, then you can use the IoT as is and undefine the 583 definition, also you might need a few tweeks in the spi flash implementation.
Thanks MT_dialog
Thanks for the response. Where do I undefine 583 in the IoT SDK ? Is it in the da1458x_config_basic.h ?
Hi erenvar,
Just go to the "options for target" and choose the C/C++ tab, and under the Preprocessor Symbols remove the __DA14583__ definition, that should be enough to build the fw for the 580.
Thanks MT_dialog