Search found 239 matches

by CVMichael
27 Sep 2013 19:31
Forum: mikroC PRO for PIC32 General
Topic: PIC32MX795F512H - Can't get UART2 to work
Replies: 10
Views: 5545

Re: PIC32MX795F512H - Can't get UART2 to work

Yea, I was fortunate...

As for your problem, did you try to read the UART using a loop, same as I have in my first post?
by CVMichael
27 Sep 2013 18:47
Forum: mikroC PRO for PIC32 General
Topic: PIC32MX795F512H - Can't get UART2 to work
Replies: 10
Views: 5545

Re: PIC32MX795F512H - Can't get UART2 to work

My problem was because I designed the schematic using DipTrace, and DipTrace had the part defined from an early version of the datasheet. Microchip updated their datasheet to the correct pins, and of course DipTrace did not... So I had it connected to the wrong pins. I had my PCB board already built...
by CVMichael
20 Aug 2013 17:48
Forum: mikroC PRO for PIC32 General
Topic: Speed up code for OSD
Replies: 6
Views: 2989

Re: Speed up code for OSD

To continue... Sorry I answered your question with another question :) I want to develop funtions for drawing lines, circles, etc... so I will have to make function to set bits on the display (the array buffer). I think I can figure this out by myself... First I will write function that do what I ne...
by CVMichael
20 Aug 2013 12:41
Forum: mikroC PRO for PIC32 General
Topic: Speed up code for OSD
Replies: 6
Views: 2989

Re: Speed up code for OSD

Is it possible to make a 6 bit array?
by CVMichael
19 Aug 2013 15:20
Forum: mikroC PRO for PIC32 General
Topic: Speed up code for OSD
Replies: 6
Views: 2989

Re: Speed up code for OSD

I did not have time to work on this project until now... Anyways, I found the problem... it's not that the loop is slow, the "problem" is that it is storing a 6 bit wide character in an 8 bit character. So 2 bits are not used when drawing the characters... So, when I copy the bits from the font arra...
by CVMichael
04 Aug 2013 04:10
Forum: mikroC PRO for PIC32 General
Topic: Speed up code for OSD
Replies: 6
Views: 2989

Speed up code for OSD

I made my own on screen display (OSD), and I coded my own code for it on a PIC32MX795F512L. I got the schematic from here: http://electronics-home-projects.tripod.com/ , and the font from here: http://www.quackenbush.com/lab/picvideo.html In the second link it says that they got 80x25 characters, bu...
by CVMichael
19 Jul 2013 20:47
Forum: mikroC PRO for PIC32 General
Topic: Overlay info on AV Component video
Replies: 2
Views: 1819

Re: Overlay info on AV Component video

Thank you, I have one more question kind of related. Is there a way to convert the component video to RGB data into the microcontroller? like for example to take a image screen shot and save it in memory (or anywhere) as a bitmap. I want to see if it's possible to detect objects in the video, for ex...
by CVMichael
19 Jul 2013 15:57
Forum: mikroC PRO for PIC32 General
Topic: Overlay info on AV Component video
Replies: 2
Views: 1819

Overlay info on AV Component video

I need to overlay text (or image) from a PIC to an AV Component video signal?

Do we have any example and schematic on how to do it?
by CVMichael
11 Oct 2012 23:29
Forum: mikroC PRO for PIC32 General
Topic: WDTCLR_bit = 1; resets the microcontroller
Replies: 39
Views: 34534

Re: WDTCLR_bit = 1; resets the microcontroller

janko.kaljevic wrote:Also which silicon revision of the chip do you use, and have you tried another controller?
When I connect the ICD 3 to the microcontroller, this is what the MPLAB IDE shows:

Target Detected
Device ID Revision = 34300053
by CVMichael
11 Oct 2012 20:00
Forum: mikroC PRO for PIC32 General
Topic: WDTCLR_bit = 1; resets the microcontroller
Replies: 39
Views: 34534

Re: WDTCLR_bit = 1; resets the microcontroller

Mince-n-Tatties wrote:I would make sure the config settings are correct in MPLAB
I don't even know how to set config settings in MPLAB?

Do the config settings in MPLAB override the seetings in the mikroC compiler?
by CVMichael
11 Oct 2012 14:22
Forum: mikroC PRO for PIC32 General
Topic: WDTCLR_bit = 1; resets the microcontroller
Replies: 39
Views: 34534

Re: WDTCLR_bit = 1; resets the microcontroller

Also which silicon revision of the chip do you use, and have you tried another controller? How can I find out what revision it is? is this the number that shows when I connect the MPLAB ICD 3 to the PIC in the MPLAB IDE? What do you mean another controller? I think you are referring to the PCB boar...
by CVMichael
11 Oct 2012 01:46
Forum: mikroC PRO for PIC32 General
Topic: WDTCLR_bit = 1; resets the microcontroller
Replies: 39
Views: 34534

Re: WDTCLR_bit = 1; resets the microcontroller

I tried your code, but I still have the same problem. When "WDTCLR_bit = 1;" is used, the PIC resets every 100ms, PORTD is off for only 50us (while the PIC resets) When "WDTCLR_bit = 1;" is removed, PORTD is ON for 100ms, then off until it resets at the timeout of 255ms (this is normal). I looked at...
by CVMichael
10 Oct 2012 02:35
Forum: mikroC PRO for PIC32 General
Topic: WDTCLR_bit = 1; resets the microcontroller
Replies: 39
Views: 34534

Re: WDTCLR_bit = 1; resets the microcontroller

I've been trying to get it to work for hours, and still nothing...

It looks like I am not the only one with the same problem, see the last post: http://www.mikroe.com/forum/viewtopic.php?f=168&t=38695
by CVMichael
09 Oct 2012 04:19
Forum: mikroC PRO for PIC32 General
Topic: WDTCLR_bit = 1; resets the microcontroller
Replies: 39
Views: 34534

Re: WDTCLR_bit = 1; resets the microcontroller

I am not sure what else to give you... maybe you can give me the test code you used (if different than mine)?

Did I miss something in the setup/config?

Go to advanced search