Search found 13870 matches

by Benj
Mon Jan 27, 2020 10:58 pm
Forum: Bug Reports
Topic: MCP7940 - scrambling a preset clock time - Resolved
Replies: 11
Views: 349

Re: MCP7940 - scrambling a preset clock time...

Another thing I spotted on page 4 & 5 of the datsheet details the minimum VCC fall time in microseconds. Look for the "Power supply transition timing" diagram. It needs the fall time to be at least 300uS. This sounds like it could be linked to the problems you're having. What value of ...
by Benj
Mon Jan 27, 2020 10:49 pm
Forum: Bug Reports
Topic: MCP7940 - scrambling a preset clock time - Resolved
Replies: 11
Views: 349

Re: MCP7940 - scrambling a preset clock time...

Hi Spencer,

Did you buy the MCP7940 from a reputable supplier? If not it could potentially be a cheap Chinese clone.
by Benj
Mon Jan 27, 2020 3:31 pm
Forum: Flowcode V8
Topic: 18F46K20 problem
Replies: 5
Views: 212

Re: 18F46K20 problem

Hello,

Have you started with something simple like this to confirm the configuration of the new chip?
https://www.matrixtsl.com/wiki/index.ph ... ED_flasher
by Benj
Mon Jan 27, 2020 12:08 pm
Forum: Flowcode V8
Topic: ATMEGA32U4 (Adafruit feather) programming
Replies: 5
Views: 217

Re: ATMEGA32U4 (Adafruit feather) programming

Hi Tom, It might be worth trying Avrdudess to get the right settings. It's basically a GUI for AVRdude to allow you to try various settings. Once you have a setup that works then let us know and we will create a new Flowcode definition for the device. Or you can tweak the FCDX definition file yourse...
by Benj
Mon Jan 27, 2020 11:32 am
Forum: Flowcode V8
Topic: Ask about Flowcode license
Replies: 5
Views: 218

Re: Ask about Flowcode license

Hello, thank for reply; i have see your link and i hope it is also valid because is a very hold reply. Yes I believe that is still currently valid. Yes I can confirm this is still our policy. You can install on multiple machines as long as only one is in use at any time. There is a cap on the number...
by Benj
Mon Jan 27, 2020 11:29 am
Forum: Flowcode V7
Topic: 4 digit 7 segment not working
Replies: 6
Views: 274

Re: 4 digit 7 segment not working

Hello, You can also use without the help of IT if you need to by placing the component file into a folder of your choosing and then pointing Flowcode at that folder via the View -> Global Options -> Locations Tab. Add the folder path to the "Look for components in..." section and then rest...
by Benj
Mon Jan 27, 2020 11:16 am
Forum: Feature Requests
Topic: T6963C macro FC7 does not work. FC8 works
Replies: 5
Views: 170

Re: T6963C macro FC7 does not work. FC8 works

Hello,

I've compared the v7 and v8 components for the SSD1322 and nothign is jumping out at me.

There was a fix for the component posted here, have you applied these fixes to your v7?
viewtopic.php?f=63&t=19743
by Benj
Fri Jan 24, 2020 3:53 pm
Forum: Flowcode V7
Topic: 4 digit 7 segment not working
Replies: 6
Views: 274

Re: 4 digit 7 segment not working

I've exported the component for v7 for you as there wasn't too much to it. Hopefully it should work ok.

Simply copy to your "Flowcode V7\Components\" folder and restart Flowcode.

DigitDisplay.fcpx
(38.3 KiB) Downloaded 28 times


Let us know how you get on.
by Benj
Fri Jan 24, 2020 2:26 pm
Forum: General Programming
Topic: FLOAT to INT and back again.
Replies: 31
Views: 598

Re: FLOAT to INT and back again.

If you wanted to convert floats to 4 bytes then you would use the SetFloat function to load in the float and then call the GetByte function four times with indexes 0-3. The icon of the component on the panel should show how the values interrelate. Type.jpg This topic should help if you want to do th...
by Benj
Fri Jan 24, 2020 2:13 pm
Forum: Flowcode V7
Topic: 4 digit 7 segment not working
Replies: 6
Views: 274

Re: 4 digit 7 segment not working

Hello, It sounds like you are using the standard 7-segment component. This is the one that comes on the combo board and previous E-blocks 1 boards. Instead in your program you need to use the 4-Digit Display Grove component. Comp.jpg If you need an example then let me know and I'll put one together ...
by Benj
Fri Jan 24, 2020 11:46 am
Forum: Flowcode V8
Topic: Leading a workshop for Flowcode
Replies: 5
Views: 214

Re: Leading a workshop for Flowcode

Hello, Sounds like an excellent plan 8) We have some bits here that might be useful. https://www.matrixtsl.com/flowcode/support/ Namely the getting started guide and the intro to microcontrollers programming. There are some E-blocks related examples here too which may be useful. https://www.matrixts...
by Benj
Fri Jan 24, 2020 11:06 am
Forum: Flowcode V8
Topic: Problem Compiling a Flowcode Project using SPI Slave module
Replies: 6
Views: 608

Re: Problem Compiling a Flowcode Project using SPI Slave module

Hello, Here are the steps you need to do to establish the slave functionality. 1) Initialise the SPI module in slave mode. Look at the various SPI registers and assign values to enable module in slave mode. 2) Enable an SPI interrupt to allow you to see when an SPI slave event has occurred. Look at ...
by Benj
Fri Jan 24, 2020 11:02 am
Forum: General Programming
Topic: FLOAT to INT and back again.
Replies: 31
Views: 598

Re: FLOAT to INT and back again.

Hello, Yes this is possible, are you using Flowcode and if so which version are you using. In Flowcode 8 there is a component that will do the conversion for you called type conversions available from the Data component category. For older versions you will have to use a C code icon to acheive the s...
by Benj
Thu Jan 23, 2020 4:52 pm
Forum: Flowcode V8
Topic: Problem Compiling a Flowcode Project using SPI Slave module
Replies: 6
Views: 608

Re: Problem Compiling a Flowcode Project using SPI Slave module

Hello,

Do you want to post the slave code you have so far and we will have a look and try to advise. In v5 you can access the registers by using lower case names in a c-code icon.

for example

Code: Select all

ssp1con = 0b01010101;
by Benj
Thu Jan 23, 2020 4:20 pm
Forum: Bug Reports
Topic: UART - software mode - Resolved
Replies: 6
Views: 237

Re: UART - software mode....????? what is the SECRET???

Hi Martin, Yes that might be a good way of doing it and would certainly be easier then assembler :D Using assembler I've got much closer but the numbers are still somewhat bizarre. This is now working well at various clock rates but still needs work to build into the UART component. I think I need t...
by Benj
Thu Jan 23, 2020 11:46 am
Forum: Bug Reports
Topic: UART - software mode - Resolved
Replies: 6
Views: 237

Re: UART - software mode....????? what is the SECRET???

Hmm investigating further things do seem a bit broken regarding the software UART. Increasing the clock speed is currently making the problem worse. In Pro XC8 anyway. I'll spend some time on this today and see if I can improve things. On inspection it looks like the micro second delay function in X...
by Benj
Thu Jan 23, 2020 10:42 am
Forum: Bug Reports
Topic: UART - software mode - Resolved
Replies: 6
Views: 237

Re: UART - software mode....????? what is the SECRET???

Hi Spencer, 8MHz is a bit slow for a software UART to generate reliable output at 9600 baud. Either increase the speed of the MCU or decrease the baud rate or both. Ideally 20MHz or faster. With BoostC used in Flowcode v6 and previous the timings were very predictable and easy to generate software U...
by Benj
Wed Jan 22, 2020 1:59 pm
Forum: General Programming
Topic: in circuit programming of ST micro using swim
Replies: 2
Views: 113

Re: in circuit programming of ST micro using swim

Hello, It sounds possible. I do something similar on the EB2 BL0061 board to program the on-board ST-ARM using it's built in bootloader. If you look at the EB2 datasheet then the schematic for the board is included there. I connect to the chip using SPI and also via UART for backup. The programming ...
by Benj
Wed Jan 22, 2020 11:31 am
Forum: Programming Tips & Tricks
Topic: WS2812 LED Flexible 32 x 8 grid
Replies: 14
Views: 1867

Re: WS2812 LED Flexible 32 x 8 grid

Thanks very much and glad you found it useful. Somehow I'm currently on the front page of Instructables as the first project. Time for a screenshot I think :wink: :lol: If anyone is interested and has an Instructables account then I would appreciate a vote, I'm currently entered in a competition the...
by Benj
Wed Jan 22, 2020 11:01 am
Forum: 8-Bit PIC
Topic: Pic12f683 - rs232 FL8 in target do not work
Replies: 30
Views: 543

Re: Pic12f683 - rs232 FL8 in target do not work

Hello,

In the C icon you have added the line of code inside the comments.

Code: Select all

/*
OSCCON = 0x70;
*/


Please change to just

Code: Select all

OSCCON = 0x70;
by Benj
Wed Jan 22, 2020 10:46 am
Forum: Bug Reports
Topic: Connection Points Bug - Resolved
Replies: 7
Views: 273

Re: Connection Points Bug

Thanks Spencer,

Glad you're up and running again and thanks for letting us know. It certainly can be very frustrating when things suddenly stop working and you're not sure why.
by Benj
Wed Jan 22, 2020 10:43 am
Forum: Flowcode V8
Topic: SCADA and PC networkcard
Replies: 6
Views: 234

Re: SCADA and PC networkcard

That sounds even more interesting! The cameras sound impressive.

Is that for motion capture or VR type stuff?
by Benj
Tue Jan 21, 2020 1:05 pm
Forum: 8-Bit PIC
Topic: Pic12f683 - rs232 FL8 in target do not work
Replies: 30
Views: 543

Re: Pic12f683 - rs232 FL8 in target do not work

Hello, Flowcode v7 and v8 uses a different C compiler to v6 which is known to be better overall but can throw up some issues with tight loops such as the software UART. Please can you try running the chip at 8MHz instead of 4MHz. To do this simply add the following line of code in a C icon at the ve...
by Benj
Tue Jan 21, 2020 11:15 am
Forum: Feature Requests
Topic: T6963C macro FC7 does not work. FC8 works
Replies: 5
Views: 170

Re: T6963C macro FC7 does not work. FC8 works

Hello Angelo.

Thanks for letting us know. Please try this updated component by copying to your "C:\Program Files (x86)\Flowcode V7\Components" folder.

gLCD_T6963C.fcpx
(34.37 KiB) Downloaded 13 times


Hopefully it will solve the problem in v7.

Let us know how you get on.
by Benj
Mon Jan 20, 2020 5:09 pm
Forum: Flowcode V8
Topic: SCADA and PC networkcard
Replies: 6
Views: 234

Re: SCADA and PC networkcard

Great, glad it's working well for you. 5 network cards sounds interesting :wink:

Let us know how you're getting on with talking to the board.