Search found 15 matches

by engr.talha72
11 May 2022 07:37
Forum: mikroC PRO for ARM General
Topic: NVIC_IntEnable hangs code - STM32F407
Replies: 8
Views: 4536

Re: NVIC_IntEnable hangs code - STM32F407

After all those years. I have encountered same problem. I am using 4 UART ports on STM32F407Vgt6 MCU.. UART 1 and 2 work fine with "NVIC_IntEnable" function. but as soon as in enable "NVIC_IntEnable" for UART 3 4 or 5. my code stops and doesnt operate. Disabling "NVIC_IntEnable" for UART 3 and 4 res...
by engr.talha72
03 Mar 2022 02:50
Forum: mikroC PRO for ARM General
Topic: NET_ETHERNET server mode. call back "Net_Ethernet_Intern_UserTCP"
Replies: 6
Views: 1647

Re: NET_ETHERNET server mode. call back "Net_Ethernet_Intern_UserTCP"

Thank you so much for your response. I using Mikroc pro for ARM compiler. I have a custom board that has the same circuit as EasyMX pro For STM32. I have used this circuit for several applications and it has no problem at all. I am using STM32F407 MCU and Net_Ethernet_Intern library from Libstock. I...
by engr.talha72
21 Feb 2022 10:11
Forum: mikroC PRO for ARM General
Topic: NET_ETHERNET server mode. call back "Net_Ethernet_Intern_UserTCP"
Replies: 6
Views: 1647

Re: NET_ETHERNET server mode. call back "Net_Ethernet_Intern_UserTCP"

Since NO ONE have replied to this post. I would like to add one more querry. In TCP server mode, server automatically closes the socket after some time is if "Net_Ethernet_Intern_disconnectTCP(socket);" function is not used. I wish to know if it is possible to prevent server from disconnecting the s...
by engr.talha72
18 Feb 2022 05:45
Forum: mikroC PRO for ARM General
Topic: NET_ETHERNET server mode. call back "Net_Ethernet_Intern_UserTCP"
Replies: 6
Views: 1647

NET_ETHERNET server mode. call back "Net_Ethernet_Intern_UserTCP"

Hi, I am working on TCP server/client mode and I am using "Net_Ethernet" library from "libstock". I have successfully testes TCP client mode and it works perfectly fine. However, in TCP server mode I am unable to send TCP packet using "Net_Ethernet_Intern_startSendTCP" command, which aims to call ba...
by engr.talha72
04 Nov 2021 07:07
Forum: mikroC PRO for AVR General
Topic: AT90CAN128 Problem With CAN initialization
Replies: 5
Views: 1587

Re: AT90CAN128 Problem With CAN initialization

Actually, this was already mentioned in my question. kindly let me know any possible issues. since UART and TIMER libraries also not working, I suppose it is a compiler setting issue. Maybe it is unable to choose the correct libraries for the selected MCU.
by engr.talha72
04 Nov 2021 06:57
Forum: mikroC PRO for AVR General
Topic: AT90CAN128 Problem With CAN initialization
Replies: 5
Views: 1587

Re: AT90CAN128 Problem With CAN initialization

yes, I tried it. In fact, I started testing CAN using the BIGAVR6 example codes for CAN 1st and CAN 2nd. I only changed fuse bits to match my 16MHz crystal setting. However, I could not get any signal on CANTx when checked with oscilloscope, it stays at always HIGH state. I am using the latest versi...
by engr.talha72
03 Nov 2021 09:33
Forum: mikroC PRO for AVR General
Topic: AT90CAN128 Problem With CAN initialization
Replies: 5
Views: 1587

Re: AT90CAN128 Problem With CAN initialization

i figured out that none of the given libraries work for AT90CAN128 including Timer, UART and CAN. please help. I am stuck and I need to get it working asap. Thanks a lot.
by engr.talha72
02 Nov 2021 05:02
Forum: mikroC PRO for AVR General
Topic: AT90CAN128 Problem With CAN initialization
Replies: 5
Views: 1587

AT90CAN128 Problem With CAN initialization

Hi, I started using mikroc Pro for AVR this week and I am trying to test CAN communication between two AT90CAN128 boards. I am not new to CAN protocol, previously is was using Mikroc for ARM and CANbus had no issues with STM32F407 MCU. However, I had to shift to AVR due to the global chip shortage i...
by engr.talha72
11 Dec 2019 06:40
Forum: mikroC PRO for ARM General
Topic: STM32F407 ethernet Client Working Code!!!
Replies: 3
Views: 1018

Re: STM32F407 ethernet Client Working Code!!!

Sure, I will post there as well.
by engr.talha72
09 Dec 2019 09:57
Forum: mikroC PRO for ARM General
Topic: STM32F407 ethernet Client Working Code!!!
Replies: 3
Views: 1018

STM32F407 ethernet Client Working Code!!!

I struggled a lot to create a working Ethernet Client code using Net_Ethernet library as there is no client example available. i was trying to POST data to server using User_TCP. Finally i got successful. I am sharing a perfectly working code for STM32F407 with LAN8720A custom board.
by engr.talha72
09 Dec 2019 09:50
Forum: mikroC PRO for ARM General
Topic: Flash Erase with Net_Ethernet
Replies: 1
Views: 746

Flash Erase with Net_Ethernet

Hi, I am using Net_Ethernet library to POST data on server in Client mode. (Stm32F407 Mikroc for ARM) I tried to save data in MCU EEPROM using FLASH library. But FLASH erase function hangs when used with Ethernet client code. Every things works properly if disable Ethernet code. Kindly help. here is...
by engr.talha72
06 Sep 2018 05:22
Forum: mikroC PRO for ARM General
Topic: STM32F407VG and Ethernet problem
Replies: 6
Views: 3104

Re: STM32F407VG and Ethernet problem

Hi, i am having a strange issue. i am unable to get any clock signal at PIN A8 when is initialize "Ethernet_Intern_Init" in stm32f407. i checked the GPIO_32f4xx_Def.c file. it doesn't include MCO1 pins definition under _GPIO_MODULE_ETHERNET. is there any addition declaration needed for smt32f407? i ...

Go to advanced search