mp3 2 click mikro bus using easypromx7

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
design4
Posts: 93
Joined: 29 Aug 2019 10:43

mp3 2 click mikro bus using easypromx7

#1 Post by design4 » 27 Jan 2021 04:59

Hi,

How to use the mp3 2 click package? I have downloaded and installed the package. Then open mikroC and add project example from mp3 2 click package folder. Found out its for easymxprov8 which used stm32f407zg.

How to convert to stm32f107vc easymxprov7? Can show me proper step to work with? Because when I changed device name to stm32f107vc, error occur. Cant find "mikrobus_logWrite"".

Thanks in advanced.

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: mp3 2 click mikro bus using easypromx7

#2 Post by filip.grujcic » 28 Jan 2021 14:18

Hello,

1) Select your MCU in the MCU dropbox in the compiler.
2) Press Alt + F9 to rebuild all sources, it is normal to get errors here
3) Expand the Library Manager to find the mikroBUS board definition API and tick the one for your board
4) Open Edit Project window by pressing Ctrl + Shift + E and configure the clock correctly (or load one of the existing schemes)
5) Alt + F9 again to rebuild. If you are getting an error like "*board_name* .c file not found", you have to edit the search paths. Ctrl + Shift + P to open the search paths window, click on the three dots and navigate to the ...\mikroC PRO for ARM\Packages\mikroBUS BDF API\Uses, click OK and then click on the Add button with the green plus icon.
6) Again Alt + F9 and that should be it.

Regards,
Filip Grujcic

design4
Posts: 93
Joined: 29 Aug 2019 10:43

Re: mp3 2 click mikro bus using easypromx7

#3 Post by design4 » 29 Jan 2021 02:24

filip.grujcic wrote:
28 Jan 2021 14:18
Hello,

1) Select your MCU in the MCU dropbox in the compiler.
2) Press Alt + F9 to rebuild all sources, it is normal to get errors here
3) Expand the Library Manager to find the mikroBUS board definition API and tick the one for your board
4) Open Edit Project window by pressing Ctrl + Shift + E and configure the clock correctly (or load one of the existing schemes)
5) Alt + F9 again to rebuild. If you are getting an error like "*board_name* .c file not found", you have to edit the search paths. Ctrl + Shift + P to open the search paths window, click on the three dots and navigate to the ...\mikroC PRO for ARM\Packages\mikroBUS BDF API\Uses, click OK and then click on the Add button with the green plus icon.
6) Again Alt + F9 and that should be it.

Regards,
Hi,

Thanks for the steps given. Successfully test the mp3_2_click with earphone jack and play songs. However, found out that chip correct LED does not turn ON. Why?

Regards,

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: mp3 2 click mikro bus using easypromx7

#4 Post by filip » 01 Feb 2021 08:27

Hi,

Which LEDs are not turning on ?

Regards,
Filip.

design4
Posts: 93
Joined: 29 Aug 2019 10:43

Re: mp3 2 click mikro bus using easypromx7

#5 Post by design4 » 16 Feb 2021 03:22

filip wrote:
01 Feb 2021 08:27
Hi,

Which LEDs are not turning on ?

Regards,
Filip.
Hi,

I have mentioned above "chip correct LED".

Regards

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: mp3 2 click mikro bus using easypromx7

#6 Post by filip » 18 Feb 2021 14:11

Hi,

Can you check if the LED is not broken maybe ?

Regards,
Filip.

Post Reply

Return to “mikroC PRO for ARM General”