PWM Output PIC18F6722 - Resolved

Please add any bug reports that require discussion here

Moderator: Benj

Forum rules
Only bug reports will be considered here. General questions should not be posted in this forum.
Post Reply
User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

PWM Output PIC18F6722 - Resolved

Post by Jordy101091 »

Hi I want to report that,
The PWM channels are not correct for the above specified chip.

PWM Channel 3 in Flowcode = $PORTA.0 this should be $PORTG.0
PWM Channel 4 in Flowcode = $PORTA.3 this should be $PORTG.3
PWM Channel 5 in Flowcode = $PORTA.4 this should be $PORTG.4

I would appreciate a fix for this.


PS. where are all the topic from the closed beta because there I posted a problem with my GLCD (KS0108). I cant find them.
the will to learn, should not be stopped by any price

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: PWM Output PIC18F6722

Post by JonnyW »

Hi Jordy.

Cheers. The topics from the closed Beta got moved to the VC forum to be archived. We have logged the issues reported there but didn't want the (very) long threads there being issues for the open beta.

I think we can extract specific posts from that so if the gLCD is still an issue we can bring them back, save you reporting it again. Let us know.

Jonny

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: PWM Output PIC18F6722

Post by Jordy101091 »

Hi jonny,

If you want to extract my post about the glcd problem I would appreciate that.
I don't know what the problem is, I wanted to test this with flowcode v5 but since my controll lines are on different ports I cannot modify the costum component code to except this.

Because this display has worked with flowcode v5 and the costum component.
Maybe there is some short of typo in the code of v6 I don't know.

Regards jordy
the will to learn, should not be stopped by any price

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PWM Output PIC18F6722

Post by Benj »

The PWM channels are not correct for the above specified chip.
This has now been fixed and will be released along with the next patch.

I have a KS0108 screen somewhere so I will try and dig it out and see if I can replicate your issue. I did ask you in the last thread if you had tried any delays other then the default 10us? You can change the delay by editing the KS0108 enable delay property which from memory is right at the bottom of the list.

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: PWM Output PIC18F6722

Post by Jordy101091 »

Benj wrote:
The PWM channels are not correct for the above specified chip.
This has now been fixed and will be released along with the next patch.

I have a KS0108 screen somewhere so I will try and dig it out and see if I can replicate your issue. I did ask you in the last thread if you had tried any delays other then the default 10us? You can change the delay by editing the KS0108 enable delay property which from memory is right at the bottom of the list.
Hi Ben thanks for your reply,
I have played around with the property you have added but this won't make a difference.
I think we need to find a way to add nops to the code somehow. Delaying the toggle of the enable pin in milliseconds is not the same as with nops because the delay of nops is much less then a millisecond.

But I will wait on your findings with your glcd, maybe my glcd is somehow mest-up.

Regards jordy
the will to learn, should not be stopped by any price

Post Reply