Search found 118 matches
- Tue Feb 27, 2018 10:11 am
- Forum: Flowcode V6
- Topic: SPI Issue
- Replies: 2
- Views: 2843
Re: SPI Issue
Hi Ben So far as i remember, the clock phase etc works only with a certain setting and the CS is always de-asserted on startup, its one of the first things that is done, CS only toggled on macros for reading/writing..... Maybe i should the PLL 64mhz on the FC7 version compiler i have as a process of...
- Mon Feb 26, 2018 10:05 am
- Forum: Flowcode V6
- Topic: SPI Issue
- Replies: 2
- Views: 2843
SPI Issue
Hi I have a 18F46K22, using FC6 (6.1.2.0) that uses a device on spi bus running the processor on 16mhz, with Fosc/4 (4mhz spi) setting for spi bus....i get correct operation of the device(ADXL345 acc)...device_ID register correct (0xE5) If i run the processor at 64mhz PLL....with Fosc/16 (also 4mhz ...
- Mon Feb 26, 2018 9:58 am
- Forum: Flowcode V7
- Topic: Flowcode 7 - Updates Since 7.3 - Questions
- Replies: 6
- Views: 5841
Re: Flowcode 7 - Updates Since 7.3
i have downloaded the latest version of FC7.....does this also include all the updates/patches
as mentioned above?
as mentioned above?
- Sun Feb 04, 2018 8:03 pm
- Forum: Flowcode V7
- Topic: Speed not correct [solved]
- Replies: 4
- Views: 4173
Re: Speed not correct
Hi Ben I found the problem :) Once PLL is enabled config and osctune, the osccon (bit 0/1) must be set to both 0 (primary clock set as source)....its counter intuitive but correct because when PLL is enabled it takes internal osc first into the PLL block and then outputs as the primary source Page 2...
- Fri Feb 02, 2018 3:56 pm
- Forum: Flowcode V7
- Topic: Speed not correct [solved]
- Replies: 4
- Views: 4173
Re: Speed not correct
Hi Ben,
I tried all 3....no luck, i am sure all the control registers
are set correct as well
I tried all 3....no luck, i am sure all the control registers
are set correct as well

- Fri Feb 02, 2018 2:21 pm
- Forum: Flowcode V7
- Topic: Speed not correct [solved]
- Replies: 4
- Views: 4173
Speed not correct [solved]
Hi I have a 18F46K22...Flowcode7 V7.2.1.4 I wish to run at 64mhz PLL, and have set all the parameters correctly, config setup / compiler speed / osccon / osctune with 1sec led test....it flashes led at 4 sec intervals which tells me the compiler setting is correct but the other settings also look co...
- Wed Jan 24, 2018 10:20 am
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi
Any answer to this question about driving the OLED library through
hardware SPI?
Any answer to this question about driving the OLED library through
hardware SPI?
- Thu Jan 18, 2018 8:18 pm
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh Would it be possible for you guys to have the SSD1351 component driven by hardware SPI ? The current bit bash method is just too slow when doing updates on the screen..... With the hardware spi option available i can clock the data much faster and that would be a great feature to have I do ...
- Sat Jan 06, 2018 8:15 am
- Forum: General Programming
- Topic: Sub String function
- Replies: 2
- Views: 2704
Sub String function
Hello
Is there a string function in FC that allows you to search for a
string within a string?
Or has anyone done an example of how to do this? I have some ideas
but would prefer some example that has already been done
Thanks
Mark
Is there a string function in FC that allows you to search for a
string within a string?
Or has anyone done an example of how to do this? I have some ideas
but would prefer some example that has already been done
Thanks
Mark
- Fri Dec 15, 2017 3:34 pm
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh
can you also please give me the component glcdssd1351 update/bug fix
with exposed data/command for Flowcode7?
i do work on the latest V7 as well
thanks
mark
can you also please give me the component glcdssd1351 update/bug fix
with exposed data/command for Flowcode7?
i do work on the latest V7 as well
thanks
mark
- Fri Dec 15, 2017 1:55 pm
- Forum: Flowcode V6
- Topic: Si7051 Temp Sensor
- Replies: 4
- Views: 3435
Re: Si7051 Temp Sensor
will try it little later....just asking FC vers for now
- Fri Dec 15, 2017 1:28 pm
- Forum: Flowcode V6
- Topic: Si7051 Temp Sensor
- Replies: 4
- Views: 3435
Re: Si7051 Temp Sensor
Hi Leigh
Thanks....is that file for FC6? i am trying this on FC6
Thanks....is that file for FC6? i am trying this on FC6
- Fri Dec 15, 2017 11:29 am
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
thanks leigh
will see how i get on with the existing libary
i may setup a hardware driven library (spi port) and see how it goes
if it works i will post here for others to use....
will see how i get on with the existing libary
i may setup a hardware driven library (spi port) and see how it goes
if it works i will post here for others to use....
- Fri Dec 15, 2017 11:26 am
- Forum: Flowcode V6
- Topic: Si7051 Temp Sensor
- Replies: 4
- Views: 3435
Si7051 Temp Sensor
Hello has anyone perhaps used the Si7051 temp sensor from Silabs? having a hassle trying to get data out of this guy, uses I2C but i cannot really make sense of their protocol Also i am not sure what address to use...they say they have 7 bit base address (0x40)...with 8th bit as W/R 100 0000 base ad...
- Thu Dec 07, 2017 6:28 pm
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh yes i did swop the settings around....it always leaves a small section with random pixels not cleared But as u say.....prob best to just set it to 128X128....instead of 128X96 My display is physically 128X96, and states so in the datasheet It is rectangular in shape Another question, the co...
- Thu Dec 07, 2017 11:49 am
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh OK....the component works now....but an oddity My display is 128X96 pixels, so when the initialization is done it only fills the background about 3/4 of the way (white) and the remaining 1/3 still has random color pixels If i declare the screen to be 128x128 then it fills the background com...
- Tue Dec 05, 2017 7:36 am
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Thanks Leigh
I will try give it a bash today and give you feedback
In the meantime did you find anything in the existing
component code?
I will try give it a bash today and give you feedback
In the meantime did you find anything in the existing
component code?
- Sat Dec 02, 2017 5:46 pm
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh OK.....so hard spi is working....i can fill red/blue/green screen where to from here? I have some pcb's made already that were setup for the FC macro using software bit bash and relevant control signals as posted above. So although the hardware spi is working.... i cannot use it on the read...
- Sat Dec 02, 2017 9:53 am
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh Something weird going on with this component macro When i issue the initialize command (using data/command send or the normal one) the clock just keeps running and the data is stuck high. Also the assigned CS is also stuck high I put this into a loop with 1sec delay to scope out the pins to...
- Fri Dec 01, 2017 9:25 am
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh Thanks for the external commands Before i can setup my own "initialize" macro, is it possible to tell me or show me what is going on in the flowcode initialize macro command? there are quite a number of things to setup, so it will be very helpful to see what the standard initializ...
- Thu Nov 30, 2017 3:36 pm
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
Re: SSD1351 not working
Hi Leigh
The extended set is disabled
The processor is running OK.....led reality test
See attached FC file.....there are 2 macros to turn OLED on/off
which is working OK
Just cant get image
The extended set is disabled
The processor is running OK.....led reality test
See attached FC file.....there are 2 macros to turn OLED on/off
which is working OK
Just cant get image
- Thu Nov 30, 2017 12:27 pm
- Forum: Flowcode V6
- Topic: SSD1351 not working
- Replies: 21
- Views: 10819
SSD1351 not working
Hello I have an OLED display connected to 18F46K22 (int osc 16mhz) working with FC V6.1.2.0 Connections are as follows: 1. CLK RA2 2. DATA RA1 3. REG SEL RD3 4. CS RE0 5. RESET RD2 These are all general I/O as the clk / data is bit bashed as explained before The display also has the required 15V and...
- Tue Nov 07, 2017 3:26 pm
- Forum: Flowcode V6
- Topic: UART2 Not Working
- Replies: 1
- Views: 2292
UART2 Not Working
Hello Been using a 18F46K22 for sometime now in TQFP package, without any problems. Using FC6.1.2.0 changed chip package to smallest one UQFP, but now the uart2 TX is not working. i can toggle the pin as a I/O no problem, but when i try send a string there is nothing doing....same code....nothing ch...
- Tue Aug 01, 2017 10:25 am
- Forum: Flowcode V6
- Topic: Cant compile
- Replies: 2
- Views: 3031
Cant compile
Hi The other day i started getting this message at compile attempt (various project files all doing the same) missing or corrupted tdf.dll file Reading mapping of:PIC18F25K22 failed C:\Program Files\Flowcode 6\compilers\pic\boostc\boostlink_picmicro.exe reported error code -2 i have tried removing t...
- Fri Jun 16, 2017 3:09 pm
- Forum: Flowcode V6
- Topic: SSD1351 Componet
- Replies: 1
- Views: 2919
SSD1351 Componet
Hello I have a SSD1351 OLED display that i would like to use (datasheet indicates 4 wire SPI connections) SDIN / SCLK / CS / DC / RES serial in / serial clock / chip select / data..command / reset 1. Looking at the graphic display component from FC6 "SSD1351" i am not sure if it uses hardw...