Search found 199 matches

by Zane
Mon Jun 19, 2017 2:18 am
Forum: General Programming
Topic: 4Dsystem 1.7' uOLED-160G2 OLED communication issue
Replies: 21
Views: 24311

Re: 4Dsystem 1.7' uOLED-160G2 OLED communication issue

Hi, If you go to the 4D web site and select the product you are looking at, there is a data sheet that has the serial command set for the given display. If you look at this post there is a component that i have created so you can see how it is constructed. There are no simulation macros included in ...
by Zane
Fri Jun 16, 2017 12:20 am
Forum: Bug reports
Topic: CAL UART connections not updating when a file is opened
Replies: 3
Views: 4105

CAL UART connections not updating when a file is opened

Hi, I have made a component using the CAL UART. With the new component being used in a project you can select output and input pin connections that transfer over to the CAL UART successfully. The problem is when you save the project and close FC, upon reopening the input and output pins selected on ...
by Zane
Thu Jun 15, 2017 11:25 pm
Forum: 32-Bit PIC
Topic: CAL UART comms stops if the baud rate is updated
Replies: 6
Views: 9048

Re: CAL UART comms stops if the baud rate is updated

Thanks Ben, your magic worked a treat, it is functioning as expected now :D
by Zane
Wed Jun 14, 2017 10:59 am
Forum: 32-Bit PIC
Topic: CAL UART comms stops if the baud rate is updated
Replies: 6
Views: 9048

Re: CAL UART comms stops if the baud rate is updated

Hi Ben,

Thanks for the update i will try it later on this week.

Thanks

Zane
by Zane
Thu Jun 08, 2017 7:29 am
Forum: 32-Bit PIC
Topic: UART reads taking an excessive amount of time
Replies: 5
Views: 8015

Re: UART reads taking an excessive amount of time

Hi Leigh,

I tried this update and it works fine now. Thanks for your help

Zane
by Zane
Thu Jun 08, 2017 7:28 am
Forum: 32-Bit PIC
Topic: CAL UART comms stops if the baud rate is updated
Replies: 6
Views: 9048

Re: CAL UART comms stops if the baud rate is updated

Hi Leigh,

I have tried this but it has not been successful.

Thanks Zane
by Zane
Tue Jun 06, 2017 8:58 am
Forum: 32-Bit PIC
Topic: UART reads taking an excessive amount of time
Replies: 5
Views: 8015

Re: UART reads taking an excessive amount of time

Hi Leigh,

Thanks for your efforts. I have a fair bit on but will have time to look at this on Thursday and will get back in touch to let you know how it goes. :D

Thanks

Zane
by Zane
Thu Jun 01, 2017 4:25 pm
Forum: 32-Bit PIC
Topic: UART reads taking an excessive amount of time
Replies: 5
Views: 8015

UART reads taking an excessive amount of time

Hi Ben, I have found a problem when reading the UART that it takes an excessive amount of time. The chip i am using that i am having problems with is a 32MX270F256B. I have driven two outputs, one is connected to the brown trace and monitors the cycle time of the main loop, toggling every program cy...
by Zane
Tue May 30, 2017 3:34 pm
Forum: 32-Bit PIC
Topic: CAL UART comms stops if the baud rate is updated
Replies: 6
Views: 9048

CAL UART comms stops if the baud rate is updated

Hi Ben, I am using a 32MX270F256B and when using the CAL UART, if the baud rate is updated the comms will stop. If the update baud icon is disabled the comms works fine. I have attached the test program that i have been using. I have also installed the patches you have created that takes care of all...
by Zane
Thu Apr 06, 2017 6:21 pm
Forum: Flowcode V7
Topic: PIC32mx270f256b timing issues unresolved - [Solved]
Replies: 4
Views: 3572

Re: PIC32mx270f256b timing issues unresolved

Hi Ben,

I have installed the FCDX file and it works :D. In the properties for the timer 1 interrupt the roll over frequency has changed from 150hz to 300hz.

Thanks
by Zane
Thu Apr 06, 2017 3:30 pm
Forum: Flowcode V7
Topic: PIC32mx270f256b timing issues unresolved - [Solved]
Replies: 4
Views: 3572

Re: PIC32mx270f256b timing issues unresolved

Hi Ben, I have installed the updated CAL file and with the peripheral clock divisor set to 1 the UART transmits data at the correct rate :D. To get the UART to work correctly at a given baud rate the peripheral clock divisor needs to be set to /4. In doing this, having a timed interrupt that is also...
by Zane
Thu Apr 06, 2017 1:50 pm
Forum: Flowcode V7
Topic: PIC32mx270f256b timing issues unresolved - [Solved]
Replies: 4
Views: 3572

PIC32mx270f256b timing issues unresolved - [Solved]

Hi, I have installed the latest version of FC and have noticed that delay macro works ok now :D. To get the UART to work correctly at a given baud rate the peripheral clock divisor needs to be set to /4. In doing this, having a timed interrupt that is also driven from the peripheral clock source, it...
by Zane
Thu Mar 23, 2017 12:37 am
Forum: Flowcode V7
Topic: Continuing pic32mx270f256b timing issues
Replies: 17
Views: 10746

Re: Continuing pic32mx270f256b timing issues

Hi Ben,

I am wondering, have you been able to make any head way with this problem or have any further suggestions of things we could try to resolve this problem. :D

Thanks

Zane
by Zane
Sun Mar 19, 2017 1:14 pm
Forum: Flowcode V7
Topic: Continuing pic32mx270f256b timing issues
Replies: 17
Views: 10746

Re: Continuing pic32mx270f256b timing issues

Hi Ben and Qmesar I have been looking into this timing issue further. I have a program that flashes an led on and off every second driven from a timer interrupt and its clock source is the peripheral clock. The peripheral clock divisor is set to 1. That works as expected. In the main loop there is a...
by Zane
Fri Mar 17, 2017 3:29 pm
Forum: Flowcode V7
Topic: Continuing pic32mx270f256b timing issues
Replies: 17
Views: 10746

Re: Continuing pic32mx270f256b timing issues

Hi Peter,

It is my understanding too that with the peripheral clock divisor set to 1 that you should get a baud rate that you select. To have to start manipulating it to get a given baud rate would start getting messy. Then it would also start affecting other peripherals too.
by Zane
Fri Mar 17, 2017 2:15 pm
Forum: Flowcode V7
Topic: Continuing pic32mx270f256b timing issues
Replies: 17
Views: 10746

Re: Continuing pic32mx270f256b timing issues

Hi Ben Ok Now I have good timing on the Delay and with the timer interrupts (with the new files)and I see no difference between T1 ,2 or 3 they give the same results however to achieve this result I have to set the Peripheral clock divisor to 2 and I am not sure that this is correct however for the...
by Zane
Fri Mar 17, 2017 1:43 pm
Forum: Flowcode V7
Topic: Continuing pic32mx270f256b timing issues
Replies: 17
Views: 10746

Re: Continuing pic32mx270f256b timing issues

Hi Ben and Peter,

I have tried the new cal file and the timing is correct using this.
by Zane
Fri Mar 17, 2017 11:55 am
Forum: Flowcode V7
Topic: Continuing pic32mx270f256b timing issues
Replies: 17
Views: 10746

Re: Continuing pic32mx270f256b timing issues

Hi Ben,

I have tried the latest ".C" file and for a 500mS delay it now gives a 250mS delay instead.

Thanks
by Zane
Fri Mar 17, 2017 10:14 am
Forum: Flowcode V7
Topic: Continuing pic32mx270f256b timing issues
Replies: 17
Views: 10746

Continuing pic32mx270f256b timing issues

Hi Ben, Also here is a new definition file you can try to see if this improves the 2X delay problem. Simply copy the file to your "Flowcode 7/FCD/PIC32/" folder and restart Flowcode. Let us know how you get on I have tried installing the new FCD file in the specified directory however this has had n...
by Zane
Tue Mar 14, 2017 10:58 am
Forum: Flowcode V7
Topic: PIC32mx270f256b timing issues
Replies: 3
Views: 4131

Re: PIC32mx270f256b timing issues

Hi Ben,

I have tried the new definition file, unfortunately the the Led still turns on and off every second instead of every 500mS. I have adjusted the peripheral clock divisor and that has solved the problem with the baud rate.

Thanks
by Zane
Tue Mar 07, 2017 7:27 pm
Forum: Flowcode V7
Topic: PIC32mx270f256b timing issues
Replies: 3
Views: 4131

Re: PIC32mx270f256b timing issues

Hi Ben, Thanks for the new definition file. Maybe try changing the "peripheral clock divisor" configuration setting to /2 or /4 and hopefully that should bring down the speed of the UART peripheral to the required baud rate. I will try adjusting the peripheral clock divisor and see how that goes wit...
by Zane
Sun Mar 05, 2017 1:23 am
Forum: Flowcode V7
Topic: PIC32mx270f256b timing issues
Replies: 3
Views: 4131

PIC32mx270f256b timing issues

Hi, I am running a program that is sending a string out at 2400 baud and also turning an LED on and off every 500 mS. When you look at the attached trace from the LED it is turning on and off every second. Also with the baud rate set to 2400 in FC the actual baud rate is 9600. I have had a look at t...
by Zane
Mon Feb 20, 2017 6:14 pm
Forum: Flowcode V7
Topic: Next version of FC7
Replies: 2
Views: 2990

Re: Next version of FC7

Im looking forward to that, keep up the great work. Thanks.
by Zane
Mon Feb 20, 2017 6:13 pm
Forum: Bug reports
Topic: Cannot compile if channel 1 comms is selected
Replies: 2
Views: 3391

Re: Cannot compile if channel 1 comms is selected

Hi Ben, thanks for sorting a fix for this :D
by Zane
Sun Feb 19, 2017 7:28 pm
Forum: Flowcode V7
Topic: Next version of FC7
Replies: 2
Views: 2990

Next version of FC7

Hi Ben,

A while ago you mentioned that in the next release of FC7 there would be a feature to allow component properties to be automatically copied across into a custom component the user is creating. When are you looking at a release date for this?

Thanks

Zane