Page 1 of 1

PWM Output PIC18F6722 - Resolved

Posted: Wed Aug 14, 2013 9:35 pm
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.

Re: PWM Output PIC18F6722

Posted: Wed Aug 14, 2013 9:52 pm
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

Re: PWM Output PIC18F6722

Posted: Wed Aug 14, 2013 10:26 pm
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

Re: PWM Output PIC18F6722

Posted: Thu Aug 15, 2013 10:54 am
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.

Re: PWM Output PIC18F6722

Posted: Thu Aug 15, 2013 2:30 pm
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