Search found 14581 matches

by Benj
Mon Mar 17, 2008 10:50 am
Forum: Components (Comms)
Topic: RS232 Program conflict
Replies: 22
Views: 12458

Re: RS232 Program conflict

Hello

There is now an example of the incoming RS232 interrupt available from our examples page.

http://www.matrixmultimedia.com/Flowcode_Examples.php
by Benj
Tue Mar 11, 2008 12:29 pm
Forum: C and ASM Programming
Topic: Interrupts
Replies: 3
Views: 5565

Re: Interrupts

Hello Pete As long as the chip has this feature available then it should be possible to create the interrupt via a custom interrupt. Search the forum for custom interrupts and you should find all the info you need. Most of the info will be for the PICmicro devices but the data should transfer over t...
by Benj
Tue Mar 11, 2008 12:27 pm
Forum: C and ASM Programming
Topic: how do i go about connecting usb bluetooth to PIC ?
Replies: 7
Views: 9630

Re: how do i go about connecting usb bluetooth to PIC ?

Hello NIls Yes the Bluetooth E-Block is compatible with the AVR boards. I think that there is a forum post that details the AVR connections for things like the UART. However if this is unavilable then you can contact sean@matrixmultimedia.co.uk who will be able to detail the connections for you. Als...
by Benj
Fri Mar 07, 2008 6:17 pm
Forum: Flowcode V2 & V3
Topic: Compiler Problem PIC18F2x8-CAN macro
Replies: 8
Views: 5019

Re: Compiler Problem PIC18F2x8-CAN macro

Hello Ok then your probably using a previous version of Flowcode. Please can you find out which version you are using. This can be found by clicking on Help and About. The problem is not with all 18F PICmicro devices but rather only the 18F PICmicro devices with an internal CAN controller. The regis...
by Benj
Fri Mar 07, 2008 4:50 pm
Forum: Components (Comms)
Topic: RS232 Program conflict
Replies: 22
Views: 12458

Re: RS232 Program conflict

Hello Ondra It is possible to configure the UART so that an interrupt occurs whenever a byte is received. This interrupt would then read the byte and perform any required processing. If you look up on the forums regarding custom interrupts and the PICmicro datasheet then you should be able to get th...
by Benj
Fri Mar 07, 2008 4:46 pm
Forum: Flowcode V2 & V3
Topic: HP-488 set-up / chip type issue
Replies: 12
Views: 6709

Re: HP-488 set-up / chip type issue

Hello Ralph. Just had a thought. Please can you try this for me. Right click on My Computer and select Properties. Click on the hardware tab and then click on Device manager. Then open up the Universal Serial Bus devices and find the Dev Board. Then double click the Dev board and goto the Power mana...
by Benj
Fri Mar 07, 2008 12:44 pm
Forum: Flowcode V2 & V3
Topic: HP-488 set-up / chip type issue
Replies: 12
Views: 6709

Re: HP-488 set-up / chip type issue

Hello Ralph Ok it sounds like the auto ID on board the chip may have become damaged or locked. The fact that the auto detect feature is trying to assign a wrong PICmicro is a good indication of this. I use 16F877A chips here all the time and have never really had a problem with them although you do ...
by Benj
Fri Mar 07, 2008 11:55 am
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 14498

Re: Timer1

Hello Ondra

Which chip are you using. Also is it a custom interrupt you are using or one of the pre-set interrupts.
by Benj
Fri Mar 07, 2008 11:53 am
Forum: Flowcode V2 & V3
Topic: Compiler Problem PIC18F2x8-CAN macro
Replies: 8
Views: 5019

Re: Compiler Problem PIC18F2x8-CAN macro

Hello Thanks for those files. The problem is being caused by the registers onboard the 18F PICmicro having the same names as the registers onboard the remote CAN controller chip. I have modified the CAN code file so that your program should now compile correctly. Simple copy the attached file into y...
by Benj
Fri Mar 07, 2008 11:14 am
Forum: Flowcode V2 & V3
Topic: Compile to HEX error
Replies: 6
Views: 5003

Re: Compile to HEX error

Hello Ralph

The length of the file name should not effect the compilation process.

However the square brackets in the file name would probably cause problems.
by Benj
Fri Mar 07, 2008 11:13 am
Forum: Flowcode V2 & V3
Topic: Error while compiling onewire component code
Replies: 6
Views: 6654

Re: Error while compiling onewire component code

Hello Eric Yes while I was using the One Wire Sensors I was using the external powered mode of operation. Are you sure that your clock speed setting in Flowcode matches your crystal. Also make sure that the chip configuration is set to XTAL mode. (HS mode in the expert screen for clocks over 4MHz). ...
by Benj
Fri Mar 07, 2008 11:07 am
Forum: Flowcode V2 & V3
Topic: HP-488 set-up / chip type issue
Replies: 12
Views: 6709

Re: HP-488 set-up / chip type issue

Hello Ralph

Sounds like your using an older version of PPP.

We are currently on version 3.9.12.26 of PPP. If your PPP version is older then this then downloading the latest version should fix your problem.

http://www.matrixmultimedia.com/softwar ... _12_26.zip
by Benj
Fri Mar 07, 2008 11:05 am
Forum: Flowcode V2 & V3
Topic: Compiler Problem PIC18F2x8-CAN macro
Replies: 8
Views: 5019

Re: Compiler Problem PIC18F2x8-CAN macro

Hello

Updating to V3.2.2 should fix the problem. If it does not then it will at least bring your version up to date.

If the problem persists after the update then please can you email me with your fcf file and c file from your project.

My email is ben@matrixmultimedia.co.uk
by Benj
Thu Mar 06, 2008 2:01 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 62275

Re: pwm examples needed

Hello Chevvy By Run time errors Sean means bugs in the running code. It will not damage your ardware but it may give you incorrect results. If everything is running as it should then you do not have to worry about run time errors. Its only when things start acting perculiar that this comes into play...
by Benj
Thu Mar 06, 2008 1:44 pm
Forum: Flowcode V2 & V3
Topic: problem with baudrate
Replies: 6
Views: 4726

Re: problem with baudrate

Hello Andi For a start disable the watchdog timer in your configuration. This will provide you with no end of problems as the watchdog timer resets the microcontroller on a regular timeout if it is enabled. Next try adding a C code block to the start of your program with the following line of code. ...
by Benj
Thu Mar 06, 2008 10:49 am
Forum: Flowcode V2 & V3
Topic: Error while compiling onewire component code
Replies: 6
Views: 6654

Re: Error while compiling onewire component code

Hello Please open up the custom component properties and for the line beginning %e add Delay in lable and 5 in value. The 5 represents the number of instruction cycles to represent 1us delay. This depends on your clock speed. Instruction speed = 1/4 clock speed. Clock speed = 19.6608MHz Instruction ...
by Benj
Wed Mar 05, 2008 1:40 pm
Forum: Components (Other)
Topic: PWM Conponent
Replies: 3
Views: 4028

Re: PWM Conponent

Hello Ralph PWM is a hardware driven function with specific output pins. Therefore you cannot choose which pins to send the PWM signal to. The dedicated PWM output pins are marked as CCP1 and CCP2 on the chip diagram. These refer to the PWM index values of 1 or 2 used within Flowcode. The chip diagr...
by Benj
Wed Mar 05, 2008 12:32 pm
Forum: General Programming
Topic: ZIF Sockets
Replies: 0
Views: 2747

ZIF Sockets

Hello To anyone who wants to protect or lengthen the lifespan of their programming hardware or microcontroller devices a ZIF socket is recommended. ZIF or Zero Insertion Force sockets are useful for inserting and removing microcontroller chips from DIL sockets as chip legs do not get bent and the ci...
by Benj
Wed Mar 05, 2008 10:34 am
Forum: Components (Other)
Topic: HD44780 LCD
Replies: 4
Views: 4597

Re: HD44780 LCD

Hello Ron

Yes we simply connect this to ground as it is uncommon that you will ever want to read data back from the LCD.
by Benj
Wed Mar 05, 2008 10:33 am
Forum: Components (Other)
Topic: PWM Conponent
Replies: 3
Views: 4028

Re: PWM Conponent

Hello Ralph

There are examples on our Flowcode examples page.
This can be found by going into the download section of our website.
by Benj
Tue Mar 04, 2008 5:16 pm
Forum: E-blocks
Topic: 64bit USB Drivers?
Replies: 7
Views: 6006

Re: 64bit USB Drivers?

Hello

Currently 64-bit versions of Windows are not supported by our USB drivers,

However we will be working on this and should have a new driver available for release shortly.

Sorry for any inconvenience
by Benj
Tue Mar 04, 2008 4:53 pm
Forum: E-blocks
Topic: 64bit USB Drivers?
Replies: 7
Views: 6006

Re: 64bit USB Drivers?

Hello

Which E-Blocks are you using. Is it the HP488 or the EB006 that is having problems.
by Benj
Tue Mar 04, 2008 1:30 pm
Forum: Components (Other)
Topic: pwm examples needed
Replies: 43
Views: 62275

Re: pwm examples needed

Hello You gauge the use of memory by looking at the messages in the compilation window. You will get a list of the memory details similar to the following. Memory Usage Report =================== RAM available:368 bytes, used:126 bytes (34.3%), free:242 bytes (65.7%), Heap size:242 bytes, Heap max s...
by Benj
Tue Mar 04, 2008 1:26 pm
Forum: C and ASM Programming
Topic: pic16f8761 adc
Replies: 9
Views: 8173

Re: pic16f8761 adc

Hello On the HP488 Dev board the digital I/O on PortA and PortB is connected to pull down resistors. The jumper disconnects these pull down resistors so that the analogue signal is clean. If you were to use RA4 then you would have to take the pull downs into account. You could if you wished use a de...
by Benj
Tue Mar 04, 2008 12:29 pm
Forum: C and ASM Programming
Topic: pic16f8761 adc
Replies: 9
Views: 8173

Re: pic16f8761 adc

Hello

Yes your VREF+ and VREF- should be connected correctly and your register values look about right.

However as you mentioned the potentiometer will affect the result of the sample. Maybe you could use a different channel. Eg AN4. Alternatively you could desolder the Pot from the board.