Search found 93 matches

by JFinlayson
Sun Nov 11, 2018 8:35 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

Ok tried to output on I2C with 16 bit PIC24 no joy nothing out.
Then tried a PIC32MX and it outputs fine on both SCL and SDA in master mode.
However Slave mode does not work on 32bit device as compiler wont accept declarers.
by JFinlayson
Sun Nov 11, 2018 4:05 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

I must be doing something wrong, I can't get I2C to work on pic18F4455 either. I await your assessment of what is wrong.
No output on oscilloscope on clock or data lines.
by JFinlayson
Wed Nov 07, 2018 3:22 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

Thanks!
It would be nice to know the problem and the solution.
by JFinlayson
Wed Nov 07, 2018 12:09 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

This does not work for this device, I would like to know where settings are made in the code of flowcode7. does not matter what I do I can not get an output on I2C for this device but I can with Explorer 16 using flowcode. and with 32bit PIC but with BL080 NO output on I2C.
by JFinlayson
Tue Nov 06, 2018 10:48 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

Yes I have pull up resistors 6k8 on both lines
by JFinlayson
Tue Nov 06, 2018 6:38 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

Where does flowcode set up the bits for I2C so I can check whats going on??
by JFinlayson
Mon Nov 05, 2018 5:25 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

I have included the test program, I have been trying many things with the I2C out and in. In Flowcode 7 hardware channel 1 is data on C1 and clock on C7 for this chip. But for I2C master the pins are C2 and B2 respectively. Datasheet says for I2C channel 1 is C3 for Clock and C4 for data. that's for...
by JFinlayson
Sun Nov 04, 2018 9:59 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

Why is I2C hardware pins different between Master and Slave?? and different than the datasheet?? For PIC16F18877. I think the I2C component for this chip is changing wrong bits etc, but even in software mode, I can not get slave or master to receive or transmit anything. oscilloscope shows no clock ...
by JFinlayson
Sun Nov 04, 2018 8:12 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

Re: I2C master and slaves

Playing with I2C in Flowcode 7, using slave on my new BL080 with the stock PIC16F18877, cant seem to get any results, reading the slave status always produces 128 if slew rate control is disabled as expected. but enabling SMBus does not change this value it should. Sending data from an explorer 16 i...
by JFinlayson
Wed Oct 31, 2018 9:17 pm
Forum: E-blocks
Topic: Arm EB031 not communicating
Replies: 7
Views: 8224

Re: Arm EB031 not communicating

Both machines are 64bit. after several hours trying different things this is what worked for me. uninstalled SAM-BA 2.4 and installed the latest version from Microchip version SAM-BAv2.18 also downloaded there signed driver. Windows 10 does not like to keep the driver but forced it to by going to up...
by JFinlayson
Wed Oct 31, 2018 11:49 am
Forum: E-blocks
Topic: Arm EB031 not communicating
Replies: 7
Views: 8224

Re: Arm EB031 not communicating

OK followed the instructions, and tried on 2 computers, with the following results Computer 1 plug in board and it comes up with serial coms port and changes to Bossa program Port (COM3) and SAM-BA fails with No valid processor ID. Computer 2 plug in board and it comes up with serial port with yello...
by JFinlayson
Tue Oct 30, 2018 7:55 pm
Forum: Flowcode V7
Topic: I2C master and slaves
Replies: 16
Views: 9155

I2C master and slaves

Hi anybody got any demo software for I2C with one master and several slaves, as I am having problems communicating with slaves.

Thanks
by JFinlayson
Tue Oct 30, 2018 7:41 pm
Forum: E-blocks
Topic: Arm EB031 not communicating
Replies: 7
Views: 8224

Re: Arm EB031 not communicating

Hi Benj Jumpers are set as in your post. plug in board to USB cable and nothing changes under HID( not even for a short time) in device manager. but under ports there appears AT91 USB to serial converter. If I uninstall this device and unplug USB cable and re-plug USB cable, I the get under COM in d...
by JFinlayson
Mon Oct 29, 2018 10:23 pm
Forum: E-blocks
Topic: Arm EB031 not communicating
Replies: 7
Views: 8224

Arm EB031 not communicating

I have an EB031 not used for some time connected to computer and nothing happened nothing showing up in device manager on windows 10. Reset bootloader with jumper on EB031 setting jumper to TST. EB031 now comes up as Bossa program Port, but SAM-BA v2.7 reports no valid device ID and closes. Any ID h...
by JFinlayson
Fri Sep 28, 2018 8:14 am
Forum: Flowcode V7
Topic: 1 wire component has problems
Replies: 5
Views: 3554

Re: 1 wire component has problems

This control works but speed is a little fast for radio, radio max speed is 200 baud, maybe a baud rate control added would extend this controls usefulness, for devices that don't have built in com component.

Regards
by JFinlayson
Wed Sep 26, 2018 10:32 pm
Forum: Flowcode V7
Topic: 1 wire component has problems
Replies: 5
Views: 3554

Re: 1 wire component has problems

Thanks for your help. :D
by JFinlayson
Wed Sep 26, 2018 8:58 am
Forum: Flowcode V7
Topic: 1 wire component has problems
Replies: 5
Views: 3554

Re: 1 wire component has problems

I also get same error with transmit byte on 1 wire coms, is there something wrong with code?
by JFinlayson
Mon Sep 24, 2018 4:46 pm
Forum: Flowcode V7
Topic: 1 wire component has problems
Replies: 5
Views: 3554

1 wire component has problems

I am writing some code for simple switch program, 1 wire input is from serial radio, part one for receiver. there will also be another part for transmitter. here is error code generated. AlarmSwitch1.c: FCD_0bbd1_One_Wire1__Get_Next_ID() 692: break; ^ (345) unreachable code (warning) C:\Program File...
by JFinlayson
Fri Sep 15, 2017 7:17 pm
Forum: 8-Bit PIC
Topic: Speech Component
Replies: 7
Views: 8376

Re: Speech Component

Tested component and it works perfectly. Thanks for speedy response :D
by JFinlayson
Fri Sep 15, 2017 2:34 am
Forum: 8-Bit PIC
Topic: Speech Component
Replies: 7
Views: 8376

Re: Speech Component

Here is test program that does not work as stated above. The speed seems to fast over in miliseconds.
I am using Microchip XC8 V1.43

speechTest.fcfx
(17.5 KiB) Downloaded 349 times
by JFinlayson
Wed Sep 13, 2017 8:43 pm
Forum: Flowcode V7
Topic: Managing Compiler Options
Replies: 15
Views: 9062

Re: Managing Compiler Options

I have entered registry keys for my programmer manually before, for what I understand this does not control windows placement, but is programmer information. which would not work with my system. as I don't use mLoader.
by JFinlayson
Wed Sep 13, 2017 8:34 pm
Forum: 8-Bit PIC
Topic: Speech Component
Replies: 7
Views: 8376

Speech Component

I have just started to try the speech component using an 18F2620. Voice speech rate and frequency of this component does not make much effect. An entire word output seems to take only milliseconds. Do I need to set up PWM speed separately or modify timer rate? or is it not meant for this PIC?
by JFinlayson
Mon Sep 11, 2017 1:34 am
Forum: Flowcode V7
Topic: Managing Compiler Options
Replies: 15
Views: 9062

Re: Managing Compiler Options

My laptop screen resolution is 3200x1800 and my desktop resolution is higher. in case this is affecting where the window is appearing
by JFinlayson
Mon Sep 11, 2017 1:25 am
Forum: Flowcode V7
Topic: Managing Compiler Options
Replies: 15
Views: 9062

Re: Managing Compiler Options

It would appear the dialog window is not appearing!
by JFinlayson
Mon Sep 11, 2017 1:24 am
Forum: Flowcode V7
Topic: Managing Compiler Options
Replies: 15
Views: 9062

Re: Managing Compiler Options

Sorry for the delay.

No If I press the ICON the system hangs up and when I press enter key whatever is entered for a name is displayed. But I do not see the option save window.

It works by entering name and then pressing the save Icon, followed by the enter key.