DALI 2 click

Timer Calculator is a free software development tool used for easier calculation of timer interrupts.
Post Reply
Author
Message
falehk
Posts: 1
Joined: 20 Nov 2021 20:59

DALI 2 click

#1 Post by falehk » 20 Nov 2021 21:17

Hi ,
I'm trying to connect to the DALI 2 click by running the example in libstock code but its not working "https://libstock.mikroe.com/projects/vi ... li-2-click""
\example\c\ARM\STM in this folder the example
from click_DALI_STM.c
fnction" dali2_gpioDriverInit( (T_DALI2_P)&_MIKROBUS1_GPIO );"
this struct "t_MIKROBUS1_GPIO "
,
how its build ? what is the fields of it and how I can get them ? and build it in my env , is there any mapping or something?
I'm working with board "stm32f407vgt6"
and STM32CUBEIDE
Thanks

User avatar
darko.ilijevski
Posts: 581
Joined: 21 Mar 2017 16:57

Re: DALI 2 click

#2 Post by darko.ilijevski » 30 Nov 2021 16:38

Hello,
The example is written using mikroSDK, and it is intended to be used within the mikroE development environment.

I am not sure which board you use with the MCU, but if it's a custom-designed one, you would first need to make a board definition. MikroBUS is a proprietary connector on our development boards, but you can find it on some other EVBs and development systems, as well. You'd need to define its pins. Also, using other IDEs is not impossible, but it would require some modifications, and it would not work out of the box.

If you are still interested in learning mikroSDK, you can check the mikroSDK landing page at https://www.mikroe.com/mikrosdk
BR,
Darko

Post Reply

Return to “Timer Calculator”