Problem with PIC24EP512GU810 and PIC32MX460F512L and wifi library ...

General discussion on mikroBasic PRO for PIC32.
Post Reply
Author
Message
Darklakebridge78
Posts: 136
Joined: 12 May 2007 14:04
Location: Italy
Contact:

Problem with PIC24EP512GU810 and PIC32MX460F512L and wifi library ...

#1 Post by Darklakebridge78 » 21 May 2020 14:47

Hello everyone!
Is the "Network Wifi library" compatible with PIC24EP512GU810 and PIC32MX460F512L MCUs? My question arises from the fact that by testing them on EasyPic Fusion V7 with WiFi Plus Click mounted in MikroBus slot 1, none of the MCUs passes the InitWifi routine ...

The trouble seems to have happened here ... :cry:

Code: Select all

  while(response <> 0)
    response = Net_Wireless_MCW1001_SetMode(_NET_WIRELESS_MCW1001_CP_1, _NET_WIRELESS_MCW1001_MODE_INFRASTRUCTURE)
  wend
The "response" variable returns always "100", as if the Wifi Plus Click was not mounted on the card ...

I state that I tried all the necessary baud rates on the serial (19200,115200) to no avail and the interrupt routine increases the Net_Wireless_MCW1001_Time variable at a rate of one second ...

Is it possible that the wifi library is not compatible with these two MCUs? :?

Thanks for your help!
MikroC PRO for PIC, MikroC PRO for dsPIC, MikroC PRO for PIC32, MikroC PRO for ARM, Visual TFT, Visual GLCD,
http://www.teolab.it

Darklakebridge78
Posts: 136
Joined: 12 May 2007 14:04
Location: Italy
Contact:

Re: Problem with PIC24EP512GU810 and PIC32MX460F512L and wifi library ...

#2 Post by Darklakebridge78 » 26 May 2020 08:33

Mikroe, no suggestions? :cry:
MikroC PRO for PIC, MikroC PRO for dsPIC, MikroC PRO for PIC32, MikroC PRO for ARM, Visual TFT, Visual GLCD,
http://www.teolab.it

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: Problem with PIC24EP512GU810 and PIC32MX460F512L and wifi library ...

#3 Post by jovana.medakovic » 11 Jun 2020 10:52

Hello,

You should be able to use Network Wifi Library with these MCUs.
Can you zip and send me your project, so I will test it?

Kind regards,
Jovana

Darklakebridge78
Posts: 136
Joined: 12 May 2007 14:04
Location: Italy
Contact:

Re: Problem with PIC24EP512GU810 and PIC32MX460F512L and wifi library ...

#4 Post by Darklakebridge78 » 03 Sep 2021 10:37

I solved my problem. Thanks so much! :-)
MikroC PRO for PIC, MikroC PRO for dsPIC, MikroC PRO for PIC32, MikroC PRO for ARM, Visual TFT, Visual GLCD,
http://www.teolab.it

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

Re: Problem with PIC24EP512GU810 and PIC32MX460F512L and wifi library ...

#5 Post by filip » 07 Sep 2021 14:09

Hi,

Can you please share your solution ?

Regards,
Filip.

Darklakebridge78
Posts: 136
Joined: 12 May 2007 14:04
Location: Italy
Contact:

Re: Problem with PIC24EP512GU810 and PIC32MX460F512L and wifi library ...

#6 Post by Darklakebridge78 » 07 Sep 2021 18:49

The problem was in the circuit configuration of the communication ports, between MCU socket and MikroBus socket. On some MCUs you have to cross them. To understand TX with RX and RX with TX. That's all!
MikroC PRO for PIC, MikroC PRO for dsPIC, MikroC PRO for PIC32, MikroC PRO for ARM, Visual TFT, Visual GLCD,
http://www.teolab.it

Post Reply

Return to “mikroBasic PRO for PIC32 General”