Search found 50 matches

by vishaletm
27 Mar 2013 18:23
Forum: mikroC PRO for ARM General
Topic: STM32F4-DISCOVERY
Replies: 13
Views: 11186

Re: STM32F4-DISCOVERY

UDP problem solved, but the ADC still exists. If i use both ADCs together the reading will be another value. So i use only 1 ADC and using a separate comparator for the other and used as Digital. Udp is very simple compared to other ones. Very fast and reliable. I will publish the project after the ...
by vishaletm
15 Mar 2013 14:38
Forum: mikroC PRO for ARM General
Topic: ADC resolution in STM32
Replies: 6
Views: 4934

Re: ADC resolution in STM32

This is the code, i commented out the second ADC function (Light). There is another problem, the value read form LM35 is not original, when i measure it with a multimeter it gives about less than 300 mv, but STM32 ADC gives 400mv. I hope this is because the above mentioned problem. /****************...
by vishaletm
13 Mar 2013 17:20
Forum: mikroC PRO for ARM General
Topic: ADC resolution in STM32
Replies: 6
Views: 4934

Re: ADC resolution in STM32

Hello, I have a problem.
On STM32F4 When I use ADC1 channel 3 with any other ADC1 together the voltage level on the other ADC1 affect of the channel 3 ADC reading. I used both ADC_Read(xx) and ADC_Get_Sample(xx) function, both gives same result!!. If i use only one ADC (channel 3) there is no problem.
by vishaletm
28 Feb 2013 16:19
Forum: mikroC PRO for ARM General
Topic: STM32F4-DISCOVERY
Replies: 13
Views: 11186

Re: STM32F4-DISCOVERY

Thanks, I got it working, some initialization problem. We need an additional initialization for output pins are shown below. This alone wont work sfr sbit SPI_Ethernet_Rst at GPIOB_ODR.B7; sfr sbit SPI_Ethernet_CS at GPIOB_ODR.B8; sfr sbit SPI_Ethernet_Rst_Direction at GPIOB_ODR.B7; sfr sbit SPI_Eth...
by vishaletm
14 Feb 2013 15:52
Forum: mikroC PRO for ARM General
Topic: STm32F4 USB HID
Replies: 4
Views: 5734

STm32F4 USB HID

I tried the example provided for easy_mxpro_v7 STM32 on STM32F4 Discovery, but when i connect the board to PC, it shows driver problem. MY os is windows 7, i hope HID device should be detected correct automatically. What may be the problem? I attached 2 examples here
by vishaletm
10 Feb 2013 15:45
Forum: mikroC PRO for PIC General
Topic: Ethernet connection problem
Replies: 15
Views: 11063

Re: Ethernet connection problem

My web server is accessible only from my LAN, it cannot be accessed from outside word. Any idea to make it possible? I use dynamic IP.
by vishaletm
09 Feb 2013 16:56
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: PIC 16F877A ENC28j60 Problem
Replies: 4
Views: 3654

Re: PIC 16F877A ENC28j60 Problem

Finally it works after 8 hours of effort. But the web server is accessible only from my LAN, it cannot be accessed from outside word. Any idea to make it possible? I use dynamic IP.
by vishaletm
09 Feb 2013 16:53
Forum: mikroC PRO for PIC General
Topic: ENC28J60 And 16F877A
Replies: 4
Views: 2373

Re: ENC28J60 And 16F877A

I tried the example and works fine. But it works only inside my local LAN, how can i make it accessible from outside world ?
by vishaletm
09 Feb 2013 08:44
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: PIC 16F877A ENC28j60 Problem
Replies: 4
Views: 3654

PIC 16F877A ENC28j60 Problem

Hello,
I tried this code from LIBSTOCK, I ddnt get ping reply, and nothings is happening.
The LED on ENC28J60 blinks always. My PC Network shows Undefined network.
by vishaletm
05 Feb 2013 14:23
Forum: mikroC PRO for ARM General
Topic: STM32F4-DISCOVERY
Replies: 13
Views: 11186

Re: STM32F4-DISCOVERY

I dont mean to write codes, i just mean weather ENC28J60 and SD can be connected to same SPI, I dont know which is usable SPI on the board as there is other peripherals on the board and is there any alternate function settings to use SPI ethernet? As your library example is not for STM32.
by vishaletm
05 Feb 2013 12:54
Forum: mikroC PRO for ARM General
Topic: STM32F4-DISCOVERY
Replies: 13
Views: 11186

Re: STM32F4-DISCOVERY

Thank you,
How can i use both ENC28j60 and SD card with STM32F4 Discovery? I am planing to set up a web server. Which SPIs are free to use in the discovery board? How is the configuration settings an initialization (Alternate Function Register)
by vishaletm
05 Feb 2013 03:04
Forum: mikroC PRO for ARM General
Topic: STM32F4-DISCOVERY
Replies: 13
Views: 11186

Re: STM32F4-DISCOVERY

If i use PLLN=168 i get double duration delay, please check the above uploaded setting.
by vishaletm
03 Feb 2013 07:26
Forum: mikroC PRO for ARM General
Topic: STM32F4-DISCOVERY
Replies: 13
Views: 11186

Re: STM32F4-DISCOVERY

Both of the above problem is solved Problem 1: Project settings was not correct ( i have uploaded the correct settings here of 168Mhz) Problem 2: Reinstalled MikroC and solved the problem. How can i check the operating frequency of the MCU ? I think there is a slight difference in 1 second delay, p...
by vishaletm
01 Feb 2013 17:19
Forum: mikroC PRO for ARM General
Topic: STM32F4-DISCOVERY
Replies: 13
Views: 11186

Re: STM32F4-DISCOVERY

Now Every time i compile i get an error, see the pic

Go to advanced search