28 posts / 0 new
Last post
herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Need Help

Hi guys,

I am an Electronics Engineering student from Malaysia. I am very new to this microcontroller. I am having some difficulties in my final year project. I am using DA14580 to build an Ultra Low Power embedded system for ECG acquisition. I will be drawing the schematic design using Altium Designer and I have also created custom schematic for DA14580 chip in Altium Designer. This embedded system I will be using the reference design in the datasheet of DA14580 but I will be using Surface Mount components for this project. I will connect the DA14580 chip to an accelerometer, and also an Analog Front End. The Analog Front End will feed the data from the electrodes and send to the microcontroller whilst the accelerometer will in charge of the activity recognition. The ECG signals will be manipulated and the data such as heart rate and respiration rate will be sent from the DA14580 to the smartphone through bluetooth. Since you have now briefly understand what I need to do, my problems here are that how am I going to program the DA14580, do I need smart snippets software? or software development kit? I really need your help. Please help me anyone. Thank you.

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

The SDK is the development kit in order for you to develop your custom fw, so you just download the SDK and keil compliler in order to start your development. The SDK essentially is code that helps you in order to write sw.

With keil you can build your code and download the sw that you have developed in the 580 directly to RAM space, so it is used in order to test your sw.

The Smart Snippets Tools you can burn the fw in a flash or in EEPROM (that you can attach on the 580) or even download fw directly in sysram.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
So Smart Snippets are used to

So Smart Snippets are used to burn the firmware inside the flash. However, in order to burn, I need to purchase any hardware to do it? Sorry, that I am inexperienced of this thing but I am glad that you've helped.

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

The Smart Snippets tool uses either the JTAG or the UART interface in order to burn the device, in order to use the JTAG interface you will need a Jlink lite debugger (the dev kits have an Atmel chip on onboard that impelements the jlink, so you wont need one if you have a dev kit). For the UART interface you will need an FTDI chip/cable in order to be able to establish the communication between the 580 Smart Snippets. Just to make sure that you got this right, the 580 doesn't include a flash so you will have to attach an external flash, only the 583 has an embedded flash.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
我明白了. .哇!,你的

我明白了. .哇!,你的explanation is very great and very helpful to me. All these things I do not know much all this while. I know that the 583 got flash and the 580 does not has one according to the datasheet. This is thing is getting much more interesting up till' now and you're helping solving the puzzle piece by piece. Thank you. In another words, I need to buy the development kit if i going to use JTAG while a FTDI chip/cable when I wanna use UART.. right? which one is better?

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

The development kits have a JTAG on board (both the basic and the pro) also they can be both programmed using the UART (the basic used the UART of the on board Atmel processor that acts as a Jlink and the pro kit has a seperate FTDI). In case you would like to develop a custom device you will need one of those devices, with the JTAG module you are going to be able to debug your code, which this is not possible with UART. Also the JTAG is faster than the UART.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Is it this development kit

Is it this development kit that I should purchase?https://www.digikey.com/product-detail/en/dialog-semiconductor-gmbh/DA14...

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Yeah I am building a custom

Yeah I am building a custom device that is using the DA14583 chipset. Since that you told me about the missing flash in DA14580 so I will change to DA14583 instead. I do not wanna use external flash as this will increase the form factor of the board. I appreciate your aid in this project. Could recommend to me which development kit that is suitable for my project? There are plenty of development kits in the website, I was confused with the term "daughterboard" and 'motherboard' and IoT sensor development kit, so which one should i purchase in order to acquire the JTAG and the UART connecting ability? Thank you.

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Another problem that I have

Another problem that I have found is that why the pin assignment diagrams in the DA14583 are inconsistent. I am doing customized footprint using altium designer because there is no footprint symbol in snapeda for this chip. So which of the figure should I follow, the figure 2 or the figure 8? The diagram is attached in this message. Thank you very much and thanks for helping.

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

For experimenting with the 583 you can either have the 583 basic kit or the get the pro kit's motherboard and on that motherboard you will be able to attach a 583 daughter board. The IoT is a more specific dev kit with extra sensors attached (accelerometer, gyro, magnetic, etc) with no pin outs an also you need to have an interface board in order to program it. So stick with either the basic or the pro (with the pro you can use the power profiler to take power measurements and also it has an FTDI on board).

Regarding your second question figure 8 is just a diagram for the required connections on the 583, the pinout is the one indicated in figure 2.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Hi there,

Hi there,

Thanks MT_dialog. Do you know anything about QFN components testing? I cannot simulate them in the computer since I created my own custom footprint. So usually, in my studies, I will test those components on the breadboard before soldering them. But QFN components have no legs and it is unable for them to be tested on the breadboard. Is this means, I need to solder all the components first in order to test which means I need to bare the risk if the board fails to work. I am sorry to ask question that be might out of your scope. If you don't mind, could you give me some tips about this? Basically, i will be sending my company to other companies for soldering since I do not have resources to do QFN soldering so if the schematic circuitry that I built, fail to work, i need to bare the cost.

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

Thats why we provide the development kits, for testing and familiarizing with the enviroment, if you dont want to get the dev kits you will have to create a custom prototype PCB for testing.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
我懂了。我会得到的

我懂了。我会得到的development kits for testing. I do not quite understand the situation actually and I apologize. The purpose of the development kit is to help me upload the code into my customized PCB right? Because I need to make a custom PCB prototype as a product that will be commercially useful. Is part of my project's objective. The daughter board that you explained earlier is consisted of a platform that i can attach my custom PCB to that right? If you don't mind, please be patient with me. I am just too new to this thing but I need to finish this project in order to graduate. I really appreciate your help very much and I am grateful you're there to assist.

Thank you, MT_Dialog.

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

The purpose of the dev kit is to get familiar with the SDK and with the system, to make a prototype fw that you will later use to your custom designed pcb. You can use the dev kit's Jlink (when your PCB is ready) in order to download the fw in your custom PCB.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Dear MT_Dialog,

Dear MT_Dialog,

I would like to ask another question, what is the purpose of daughter board?
Next question: How I am going to connect my custom PCB to dev. Kit to download fw? Through bluetooth or usb port? So which means my custom PCB needs to have a PCB port? And to where does this usb port of my custom PCB connected internally to? Is it one of the leg on the MCU allow me to upload coding? Thanks.

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Dear MT_dialog,

Dear MT_dialog,

Can I make my project simpler. Can I connect the SDK development motherboard and AD8232 module and also ADXL345 accelerometer module together and all of them work as one system to make my ECG embedded system? So this way, I do not need to solder QFN components as I do not have the resource to solder the QFN components. Will the whole system will be able to function? Thanks

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

At the pro kits the 58x SoC is located on the daugherboard, so you can switch between all the available 58x without the need of an extra dev kit but a daughter board.

As i ve indicated above you can either program the 580 with an FTDI (which the pro kit has) or through the JTAG (the pro kit has one as well) so you can use any of those interfaces from the main header of the pro kit J5. Regarding the connections of the pro kit and the custom PCB you can have a look at the FAQ section, just follow the below linkhttps://support.dialog-seminile.com/guide/faq-dev-kits-ref-designs.and check the question "How to program a custom board using a dev kit ?".

As i ve mentioned, the reason for the dev kit is to experiment with the SoC you can attach the sensors you would like in order to experiment without having to create a custom PCB.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Thank you very much! You are

Thank you very much! You are the best. I appreciate what you've explained to me. If you don't mind, I will revert to you if there is still any problem that I have found in my project after I get the development kit.

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Dear MT_dialog,

Dear MT_dialog,

Hi there. I have one more question to ask. So if i am buying the DA14580 development, I will not have flash right. Sorry for inexperience, do you mind to tell me if it flash is necessary?

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

检查可用的开发工具和文档,you will see that both of those kits have a flash on board, so you will able to use it with the 580, if the flash is necessary or not, depends on your design, the 580 is able to boot either from OTP, UART, SPI or I2C interfaces. So for running a test or experimenting, the flash is not necessary since you can donwload the fw through JTAG or UART via Smart Snippets, but when there is no option for downloading fw you need a storage device that the 580 will boot from.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Dear MT_dialog,

Dear MT_dialog,

Understood. Thanks

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Hi MT_Dialog,

Hi MT_Dialog,

I am finding a simpler way to construct my hardware on ECG embedded applications. I would like to ask if I bought the IoT sensor development kit DA14583, can I connect it with other sensors module like the AD8232 module which is the Analog Front End of the electrodes to obtain ECG signal? Since DA14583 IoT sensor development kit already contains the accelerometer so might as well i do not need to buy components to construct the accelerometer.

Thanks!

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

I dont think that the IoT would be a comfortable way in order to start building your application and attaching extra sensors, the IoT has besides the accelerometer an additional variety of sensors (magneto, gyro, enviromental sensors) and there is no additional header for you in order to attach extra sensors easily, you would have to detach some of the additional sensors on the PCB and apply your sensor, i dont think that this is a confortable way for experimenting.

Thanks MT_dialog

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Thanks!

Thanks!

herochua617
Offline
Last seen:3 years 11 months ago
加入:2017-01-18 12:46
Hi MT_Dialog,

Hi MT_Dialog,

只是问你知道怎么连接DA14580 dev. kit to both ADXL 345 module and AD8232 module since these guides are for arduinos. I do not how to connect to DA14580 dev. kit. If you don't mind, I am glad that you can share some knowledge on connecting them or where should I start? Thanks and the link for all the components are as below.

https://learn.sparkfun.com/tutorials/adxl345-hookup-guide?_ga=1.13933113...
https://learn.sparkfun.com/tutorials/ad8232-heart-rate-monitor-hookup-gu...
//www.wsdof.com/products/connectivity/bluetooth-low-...

MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi herochua617,

Hi herochua617,

Please dont post questions on irrelevant topics, you can always create a new thread, also how to connect the sensors is a subject that you should spend some on it in order to check the available sensors that you have and what are the available outputs that each sensor provides, and offcourse the question is out of the scope of this forum.

Nevertheless the ECG that you are mentioning should provide an analog output, that means that you have to configure and connect it to one of the ADC ports of the 580.

Regarding the accelerometer, it provides two interfaces for communication, either I2C or SPI, so you can configure the 580 ports either as SPI master or I2C master and attach the sensor to the corresponding configured pins.

You will be able to find some examples regarding the ADC, SPI and I2C to the peripheral_examples folder in the SDK, of cource the ADC example is for reading the power supply of the 580 and the I2C and SPI are for reading memory modules, but the interfaces are based on the same principles.

Thanks MT_dialog

Bucher.
Offline
Last seen:7 months 2 weeks ago
加入:2020-09-14 08:00
Hello,

Hello,

I'm a first year student from the University of Lethbridge. I need help with my project: what will be the power consumption, if I use DA14580 with MSP430 processor?

Urs Bucher

DA14580为初学者编程 - 我的物理课domyhomeworkonline

PM_Dialog
Offline
Last seen:2 days 16 hours ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

Thanks for your question. Could you please raise a new forum ticket as this one is obsolete and closed?

Thanks, PM_Dialog