Hi,
I'm trying the example from LibStock (written for P33FJ256GP710A & EasyPIC Fusion v7) via Mikro SDK to get to work on Mikromedia P24EP512GU810 + USB UART 2 Click.
When I press Alt+F9, Spectral 3 Click stop at _LOG_USBUART_B and the same problem is with example for Spectrometer Click, it also stop at _LOG_USBUART_A.
I'm asking you for help how to overcome missing LOG_USBUART?
Regards,
Marin
Spectral3 Click on Mikromedia P24EP512GU810
- Tanja_Kovacevic
- mikroElektronika team
- Posts: 98
- Joined: 09 Aug 2021 11:39
Re: Spectral3 Click on Mikromedia P24EP512GU810
Hi Marin,
You did everything right, but the problem is that mikromedia doesn't have a _LOG_USBUART_A nor _LOG_USBUART_B.
Since you want to use USB UART 2 Click, you can place it on MIKROBUS_2 (if Spectral 3 Click is on MIKROBUS_1)
and write that in code instead of _LOG_USBUART (see the picture below)
The same goes for Spectrometer Click.
And don't forget to load the right scheme for your MCU (using the Edit Project option).
Kind regards,
Tanja.
You did everything right, but the problem is that mikromedia doesn't have a _LOG_USBUART_A nor _LOG_USBUART_B.
Since you want to use USB UART 2 Click, you can place it on MIKROBUS_2 (if Spectral 3 Click is on MIKROBUS_1)
and write that in code instead of _LOG_USBUART (see the picture below)
The same goes for Spectrometer Click.
And don't forget to load the right scheme for your MCU (using the Edit Project option).
Kind regards,
Tanja.
- Attachments
-
- Capture.PNG (170.54 KiB) Viewed 1426 times
Re: Spectral3 Click on Mikromedia P24EP512GU810
Thank you Tanja so much for right solution and quick answer.
I've successfully generate both .hex file, for Spectral 3 and for Spectrometer.
Seems that I still need your instructions to get data from device.
Readings for Spectral 3 via Uart are strange (as you can see on image down) and for Spectrometer there are no readings at all. Spectr(al 3 or meter are in Mikrobus 1 and UART is all time in Mikrobus 2 connected.
Please, tell me what I missing,
Regards,
Marin
I've successfully generate both .hex file, for Spectral 3 and for Spectrometer.
Seems that I still need your instructions to get data from device.
Readings for Spectral 3 via Uart are strange (as you can see on image down) and for Spectrometer there are no readings at all. Spectr(al 3 or meter are in Mikrobus 1 and UART is all time in Mikrobus 2 connected.
Please, tell me what I missing,
Regards,
Marin
- Tanja_Kovacevic
- mikroElektronika team
- Posts: 98
- Joined: 09 Aug 2021 11:39
Re: Spectral3 Click on Mikromedia P24EP512GU810
You are welcome, Marin.
You have to open the Edit Project option and load the right scheme for your MCU.
When you press the Load button you can choose the file named:
P24EP512GU810_8MHz.cfgsch
And please send us the schematic of how you connected those two click boards with your Mikromedia,
so we can check the interrupt settings for your configuration.
You can write us at: support[att]mikroe[dot]com
Kind regards,
Tanja
You have to open the Edit Project option and load the right scheme for your MCU.
When you press the Load button you can choose the file named:
P24EP512GU810_8MHz.cfgsch
And please send us the schematic of how you connected those two click boards with your Mikromedia,
so we can check the interrupt settings for your configuration.
You can write us at: support[att]mikroe[dot]com
Kind regards,
Tanja
Re: Spectral3 Click on Mikromedia P24EP512GU810
Dear Tanja,
I did in Edit Project switch from "Mikromedia P24EP512GU810EP_8MHz" to "P24EP512GU810_8MHz" and mikroC compiler didn't refuse it, bur the results are the same. It shows two unknown signs.
I'll send you the mail as you instructed me.
Thank you again.
Regards,
Marin
I did in Edit Project switch from "Mikromedia P24EP512GU810EP_8MHz" to "P24EP512GU810_8MHz" and mikroC compiler didn't refuse it, bur the results are the same. It shows two unknown signs.
I'll send you the mail as you instructed me.
Thank you again.
Regards,
Marin