Search found 77 matches

by strud
18 Feb 2019 03:04
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Problem with PPS mapping
Replies: 2
Views: 1262

Re: Problem with PPS mapping

Hi Mark

Fixed

Many thanks, that's definitely a doofus moment there....

Haven't touched the compiler for over a year so forgot that was even there..... :oops:
by strud
17 Feb 2019 08:23
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Problem with PPS mapping
Replies: 2
Views: 1262

Problem with PPS mapping

Hi all, I have recently installed version 7.1.0 of the dsPIC C compiler and I'm getting a surprising compilation error: this code: Unlock_IOLOCK(); PPS_Mapping(119, _INPUT, _U1RX); PPS_Mapping(118, _OUTPUT, _U1TX); // PPS_Mapping(120, _OUTPUT, _U2TX); // PPS_Mapping(37, _INPUT, _U2RX); PPS_Mapping(1...
by strud
02 May 2016 21:53
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: clock 8Mhz configuration
Replies: 3
Views: 2961

Re: clock 8Mhz configuration

Hi

I believe you need to set it as follows :


PLLFBD = 68; // PLL multiplier M=70


Since multiplier = PLLFBD + 2
by strud
22 Jan 2016 13:24
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: T6963C / RA6963 - Suggestions for 180deg screen rotation
Replies: 0
Views: 4279

T6963C / RA6963 - Suggestions for 180deg screen rotation

Hi All Without access to the source for the T6963C library, I interested in hearing from anyone with a suggestion on how to implement a screen rotation of 180deg for this interface. I'm hoping to avoid writing the low level driver from scratch since that is a little more difficult than the alternati...
by strud
21 Jan 2016 14:05
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: RA6963 (T6963C) on dsPIC33EP512MU810
Replies: 9
Views: 7734

Re: RA6963 (T6963C) on dsPIC33EP512MU810

Just for reference, I have it running with a clock speed of 140.03 MHz on the dsPIC33EP256MU806 ie off internal HSOSC + PLL.

Strud
by strud
16 Jan 2016 22:46
Forum: Visual GLCD General
Topic: Problems using PIC32 C compiler and VisualGLCD
Replies: 8
Views: 8163

Re: Problems using PIC32 C compiler and VisualGLCD

Shervin,

This is a nice idea and I would like to make use of it if anyone has had success.

Did anyone try this workaround ?

Strud
by strud
16 Jan 2016 22:35
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: RA6963 (T6963C) on dsPIC33EP512MU810
Replies: 9
Views: 7734

Re: RA6963 (T6963C) on dsPIC33EP512MU810

Hi Marina

I have a very similar project at the moment using a dsPIC33EP256MU806 and a GLCD, using the same library.

Can you confirm what the maximum clock frequency the library has been showed to work correctly is ?
by strud
12 Jun 2015 09:11
Forum: Website & Forums General Discussion
Topic: TFT REFRESH SCREEN
Replies: 1
Views: 1805

Re: TFT REFRESH SCREEN

Hello rmoller

You need to write over the old text with negative colour (ie black) to delete the old numbers before writing the new ones.

You could also fill a box with the background colour but this may be slightly slower.

CS
by strud
06 Dec 2014 10:47
Forum: Visual GLCD General
Topic: visualGlcd SmartGlcd_ver1.51 Not Working
Replies: 14
Views: 10865

Re: visualGlcd SmartGlcd_ver1.51 Not Working

Hi Filip, I have attached the zipped project. One thing I have noticed is that the file __T6963C.h is quite old ie the top of the file is : /* * file : T6963C.h * project : T6963C GRAPHIC LCD PIC LIBRARY * author : Bruno Gavand * ctime : Jun 06 2005 * mtime : Jan 27 2006 * description : */ It seems ...
by strud
04 Dec 2014 13:52
Forum: Visual GLCD General
Topic: visualGlcd SmartGlcd_ver1.51 Not Working
Replies: 14
Views: 10865

Re: visualGlcd SmartGlcd_ver1.51 Not Working

I have tried following the suggested fixes here but Iam getting some errors with SmartGLCD1.51, Visual GLCD and Mikro C Pro First set of errors : 0 122 Compilation Started __t6963c.h 38 393 'T6963C_caption_length' Identifier redefined Rocket_Pendant_driver.c 38 393 'T6963C_caption_height' Identifier...
by strud
06 Nov 2014 01:03
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: T4 ISR stops firing in P24FV32KA302
Replies: 4
Views: 2293

Re: T4 ISR stops firing in P24FV32KA302

I have tried enabling and disabling ICS without luck.

The interesting point is that I have had no trouble with ISRs and timers with this compiler and other microcontrollers.

CS
by strud
03 Nov 2014 23:22
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: T4 ISR stops firing in P24FV32KA302
Replies: 4
Views: 2293

Re: T4 ISR stops firing in P24FV32KA302

Hi ISL_Dave,

I did play with increasing the priority of T4 Interrupt but that caused the program execution to halt.

The curious thing is that it happens for T2, T4 & T5 but not T1 it seems.

CS
by strud
03 Nov 2014 06:16
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: T4 ISR stops firing in P24FV32KA302
Replies: 4
Views: 2293

T4 ISR stops firing in P24FV32KA302

I have an urgent problem with Timer ISRs that stop firing after a serial stream begins to be received. The part is the P24FV32KA302 (not commonly used it seems) and I have T1 setup to run at 333ms with an ISR, and T4 setup to run at 10kHz with an ISR. T4 starts up and the ISR runs fine initially, bu...
by strud
10 Sep 2014 07:31
Forum: mikroBasic PRO for PIC General
Topic: Pic 18F87J94 clock timing problem
Replies: 28
Views: 9851

Re: Pic 18F87J94 clock timing problem

Iam following this with some interest since we are also using this chip with the same external oscillator.

I assume it is probably an oversight but in the last project attached, the Primary oscillator select config has been set to MS ie 3.5 to 10MHz, which I assume should be set to HS.

CS
by strud
22 Aug 2014 02:53
Forum: Visual TFT General
Topic: mikromedia dsPIC33EP with mutliple SPI devices
Replies: 1
Views: 1593

mikromedia dsPIC33EP with mutliple SPI devices

Hi All I am using the mikromedia dsPIC33EP module in a product we are developing and found a few issues using multiple devices on the SPI2 bus. A problem was noticed when using the built in flash memory chip and an MMC card for external resources in the VTFT project. I have tracked the issue down to...

Go to advanced search