asked about temp hum 3 click in fusion for ARM v8
asked about temp hum 3 click in fusion for ARM v8
I'm trying to use temp hum 3 click with fusion for ARM v8, but it always fails. Error statement ' undeclare identifier _LOG_USBUART_A...Could anyone help me to solve it.....Thanks a lot
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: asked about temp hum 3 click in fusion for ARM v8
Hello,
This example is written for EasyMx PRO v7 for STM32 development board which has two USB UART ports (USB UART A and USB UART B).
Fusion for ARM v8 has one port, so in the code, you need to write _LOG_USBUART instead of _LOG_USBUART_A.
Kind regards,
Jovana
This example is written for EasyMx PRO v7 for STM32 development board which has two USB UART ports (USB UART A and USB UART B).
Fusion for ARM v8 has one port, so in the code, you need to write _LOG_USBUART instead of _LOG_USBUART_A.
Kind regards,
Jovana
Re: asked about temp hum 3 click in fusion for ARM v8
thank you...it's work
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: asked about temp hum 3 click in fusion for ARM v8
Hi,
You're welcome.
Kind regards,
Jovana
You're welcome.
Kind regards,
Jovana
Re: asked about bluetooth click in fusion for ARM v8
I use Bluetooth Click by using Mikromedia dspic33EP .... Microbus BDF API that I use is Mikromedia Shield dspIC33EP, but I still find the same thing....305 324 Undeclared identifier '_log_initUart' in expression mikromedia_shield_dsPIC33EP.c............308 324 Undeclared identifier '_log_initUartA' in expression mikromedia_shield_dsPIC33EP.c.............311 324 Undeclared identifier '_log_initUartB' in expression mikromedia_shield_dsPIC33EP.c...........what do I have to do.?
Re: asked about temp hum 3 click in fusion for ARM v8
Sorry..not in fusion for ARM v8 but in mikromedia workstation V7 for dspIC33EP
Re: asked about temp hum 3 click in fusion for ARM v8
If you are querying for the dsPIC I would re-post in the appropriate compiler as this is clearly not for ARM Pro.
We don't know what Compiler you are using.
Is this an example you are trying? If it is, state the example.
How have you configured the Peripheral Pin Select for UART?
We don't know what Compiler you are using.
Is this an example you are trying? If it is, state the example.
How have you configured the Peripheral Pin Select for UART?
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: asked about temp hum 3 click in fusion for ARM v8
Hello,
The board def is written for mikroBUS Shield for mikromedia which does not have USB UART port like mikromedia workStation v7, because of that it is not defined and you get this error.
Bluetooth click board uses UART communication, so if you place click on any mikroBUS on mikromedia workStation v7, G4.4 and G4.5 (RD3 and RD1) pins are used for UART communication, therefore you cannot use them for logging data on the terminal.
On the following link, you can find pinout of your mikromedia:
https://download.mikroe.com/documents/s ... t-v100.pdf
You can remap UART using some of Digital I/O pins and instead mikrobus_logInit function, you can use UART_Init and UART_Write_Text and connect some USB to UART converter on these pins with the mikromedia workStation v7.
Kind regards,
Jovana
The board def is written for mikroBUS Shield for mikromedia which does not have USB UART port like mikromedia workStation v7, because of that it is not defined and you get this error.
Bluetooth click board uses UART communication, so if you place click on any mikroBUS on mikromedia workStation v7, G4.4 and G4.5 (RD3 and RD1) pins are used for UART communication, therefore you cannot use them for logging data on the terminal.
On the following link, you can find pinout of your mikromedia:
https://download.mikroe.com/documents/s ... t-v100.pdf
You can remap UART using some of Digital I/O pins and instead mikrobus_logInit function, you can use UART_Init and UART_Write_Text and connect some USB to UART converter on these pins with the mikromedia workStation v7.
Kind regards,
Jovana
Re: asked about temp hum 3 click in fusion for ARM v8
Thank you, I will try....
Re: asked about temp hum 3 click in fusion for ARM v8
Result of temp-hum 3 click that I read in hyperterminal is Temperature : 30.93872 and Huminidy : -28.80249. Why humidity always negative...Thank you...
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: asked about temp hum 3 click in fusion for ARM v8
Hi,
Can you zip and send me your project for review?
Kind regards,
Jovana
Can you zip and send me your project for review?
Kind regards,
Jovana
Re: asked about temp hum 3 click in fusion for ARM v8
Here is the file...TempHum3.zip
- Attachments
-
- TempHum3.zip
- (419.48 KiB) Downloaded 113 times
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: asked about temp hum 3 click in fusion for ARM v8
Hello,
It all looks good.
I will test it on Monday and let you know about the results.
Kind regards,
Jovana
It all looks good.
I will test it on Monday and let you know about the results.
Kind regards,
Jovana
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: asked about temp hum 3 click in fusion for ARM v8
Hello,
First, try to load hex file from the attachment and let me know the result.
If it works fine, try to program the project from the attachment and let me know if it works.
Kind regards,
Jovana
First, try to load hex file from the attachment and let me know the result.
If it works fine, try to program the project from the attachment and let me know if it works.
Kind regards,
Jovana
- Attachments
-
- Hex.zip
- (11.95 KiB) Downloaded 108 times
-
- TempHum3Click.zip
- (398.78 KiB) Downloaded 113 times
Re: asked about temp hum 3 click in fusion for ARM v8
I use both file, result still negative for humanidy