Search found 14581 matches

by Benj
Mon Apr 19, 2021 12:19 pm
Forum: General Programming
Topic: ENC28J60
Replies: 17
Views: 18966

Re: ENC28J60

Hello, The IP address http://192.168.0.100/ is basically just a link to the IP. If you leave the file blank then normally a default file is used usually with the name index.htm. If you want to have a link to the file then you can simply have a piece of html like this. <a href="http://192.168.0.100/"...
by Benj
Thu Apr 15, 2021 10:00 am
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 21655

Re: ECIO40P16 and dsPIC33EP256MU806 chip

Hello, We use the onboard PLL to multiply up the 8MHz input clock frequency up to 140MHz. Unfortunatley you currently have to do this using C code. //Setup configuration for 70MIPs using 8MHz Crystal PLLFBD = 68; // M=70 CLKDIVbits.PLLPOST = 0; // N1=2 CLKDIVbits.PLLPRE = 0; // N2=2 OSCTUN = 0; //Tu...
by Benj
Wed Apr 14, 2021 9:44 am
Forum: Bug Reports
Topic: Property changes requires exit to be effective
Replies: 1
Views: 3569

Re: Property changes requires exit to be effective

Hello Fernando,

Please can you post a project that demonstrates these problems and I will investigate for you. The changes on both of those properties should be immediate and not require a reload of the project.
by Benj
Wed Apr 14, 2021 9:43 am
Forum: Feature Requests
Topic: Support for PIC18F55K42
Replies: 7
Views: 4841

Re: Support for PIC18F55K42

Hello,

Yes if you copied one of the existing K42 FCDX files and changed the pins and other sections to match the device then that should work. I'm a bit wary of adding more K42 device support at the moment as I know there are problems with these devices which we are slowly wading through.
by Benj
Mon Apr 12, 2021 12:25 pm
Forum: Flowcode V8
Topic: 18F14K22 Timer question
Replies: 10
Views: 6985

Re: 18F14K22 Timer question

Hello,

I've had a look for you and that is a puzzler, hmm. I'm not aware of anything that might cause this and looking I can't spot anything obvious.

I'll think on it.
by Benj
Mon Apr 12, 2021 12:11 pm
Forum: Bug Reports
Topic: SSD1322 Init Doesn't Work
Replies: 13
Views: 6948

Re: SSD1322 Init Doesn't Work

Hello, I've had another look at the code compared to what you posted and it all seems to look ok. However it appears the clear function is not working for some reason. Do you know the pixel dimensions of your display? It might be worth trying to increase the pixel height in the component properties ...
by Benj
Wed Mar 24, 2021 2:43 pm
Forum: User Components
Topic: New led string to play with. SK6812 - rgbw
Replies: 19
Views: 16521

Re: New led string to play with. SK6812 - rgbw

Hi Chad.

I looked at the datasheet on the driver ic sk6812 and there were only three colour channels. Is the white led part of the same led package or a separate package? Do you have a datasheet for the white led?
by Benj
Wed Mar 24, 2021 11:05 am
Forum: Bug Reports
Topic: SSD1322 Init Doesn't Work
Replies: 13
Views: 6948

Re: SSD1322 Init Doesn't Work

Hello,

Please can you try the new component file I've pushed to the update system.

Hopefully this will clear the display and if that works then I know how to fix the pixel functions too.

Let me know how you get on.
by Benj
Tue Mar 23, 2021 9:30 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7820

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Lagoda, I'm doing some more investigation for you now. I may end up buying one of the ICs so I can test here. Are you programming the IC directly with say a PICkit or do you have a bootloader loaded on the IC? Just wondering if we can trust the config values being assigned by Flowcode. It might a...
by Benj
Tue Mar 23, 2021 9:10 pm
Forum: Bug Reports
Topic: SSD1322 Init Doesn't Work
Replies: 13
Views: 6948

Re: SSD1322 Init Doesn't Work

Hello,

Here's the component source, please let me know if you find anything. It looks like maybe the initialise is ok but the clear is not working correctly. Maybe to do with the GotoXY function.
glcd_SSD1322.fcfx
(132.61 KiB) Downloaded 218 times
by Benj
Tue Mar 23, 2021 12:07 pm
Forum: User Components
Topic: New led string to play with. SK6812 - rgbw
Replies: 19
Views: 16521

Re: New led string to play with. SK6812 - rgbw

Hi Chad,

It looks like it should be compatible.

Have a go and let us know how you get on.
by Benj
Tue Mar 23, 2021 12:03 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7820

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Lagoda, As your delays are off that indicates things aren't setup correctly and the MCU likely isn't running at the speed you think it is. The first thing to focus on is getting the delays correct. Some advice here on testing and things to investigate. https://www.matrixtsl.com/wiki/index.php?tit...
by Benj
Tue Mar 23, 2021 11:57 am
Forum: 8-Bit PIC
Topic: convert two Int to one Float
Replies: 7
Views: 10208

Re: convert two Int to one Float

Hello,

In your case it would look like this.

Code: Select all

Temp.AsInt[0] = FCV_INT0;
Temp.AsInt[1] = FCV_INT1;
FCV_FVAR = Temp.AsFloat;
by Benj
Mon Mar 22, 2021 12:04 pm
Forum: Flowcode V8
Topic: Program no longer works after V8 update
Replies: 4
Views: 6064

Re: Program no longer works after V8 update

Hello, We recently fixed a long running bug with the reference voltage setting on the Arduino Uno / 328 / 328P devices. Before the settings the user selected was getting switched and potentially corrupted whereas now it should be correct. Check your ADC component property settings relating to the AD...
by Benj
Mon Mar 22, 2021 12:03 pm
Forum: Bug Reports
Topic: Analog input Arduino Nano is not working
Replies: 3
Views: 11921

Re: Analog input Arduino Nano is not working

Hello, We recently fixed a long running bug with the reference voltage setting on the Arduino Uno / 328 / 328P devices. Before the settings the user selected was getting switched and potentially corrupted whereas now it should be correct. Check your ADC component property settings relating to the AD...
by Benj
Fri Mar 19, 2021 10:48 am
Forum: 8-Bit PIC
Topic: convert two Int to one Float
Replies: 7
Views: 10208

Re: convert two Int to one Float

Hi George,

This topic should help.
viewtopic.php?f=28&t=12561&p=49907

In your case the union could instead look like this.

Code: Select all

typedef union
{
  MX_FLOAT AsFloat;
  MX_UINT16  AsInt[2];
} MX_UnionFloat;
by Benj
Fri Mar 19, 2021 10:34 am
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7820

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Lagoda,

Thanks for the files.

How about changing the LED type property to custom and then reducing the T0H timing, maybe to 0.1 and see how that works.

I'll investigate the delays being wrong here on the hardware I have available.
by Benj
Tue Mar 16, 2021 11:38 pm
Forum: General Programming
Topic: Build to C code
Replies: 3
Views: 4209

Re: Build to C code

Hello,

I can't solve the FAT problem for you but the RS232 and I2C components can be used for free by using the hidden CAL version of the component. It's not as polished but it might enable you to proceed.
CAL.jpg
CAL.jpg (14.9 KiB) Viewed 4151 times
by Benj
Tue Mar 16, 2021 10:22 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7820

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Lagoda, Do you have any high speed interrupts running that could be causing timing issues? Interesting the delays are out, these should be fairly tight. What is your T0H timing currently set to? This is the one you need to bring down if possible, the other all look to be in tolerance. Can you pos...
by Benj
Tue Mar 16, 2021 5:47 pm
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 28440

Re: PIC18F47Q10 ADC not working

Hello,

Very sorry for the delay, it should be there for you now for the Q10 devices.
by Benj
Tue Mar 16, 2021 12:10 pm
Forum: General Programming
Topic: Build to C code
Replies: 3
Views: 4209

Re: Build to C code

Hello,

Yes it looks like your project is missing components. Which version are you using and can you use the 30-day trial.

If you load the project into v9 then you can re-start the free 30-day trial and get access to everything.
by Benj
Tue Mar 16, 2021 12:08 pm
Forum: Flowcode V8
Topic: Replacing a Component
Replies: 4
Views: 2212

Re: Replacing a Component

Sorry link here.
https://matrixtsl.com/mmforums/viewtopi ... 201#p90201

Glad you've gotten somewhere with it now.
by Benj
Tue Mar 16, 2021 12:07 pm
Forum: 8-Bit PIC
Topic: Getting Error when using UART on 16F1825
Replies: 2
Views: 3341

Re: Getting Error when using UART on 16F1825

Hi George,

I've just tried it here and it's working ok for me.

Have you applied the fixes listed here?
https://matrixtsl.com/mmforums/viewtopi ... 63&t=19743

If you have and you're still getting the problem then please can you attach your .fcfx project file and your .msg.txt error log file.
by Benj
Tue Mar 16, 2021 11:50 am
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 6022

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hi Lagoda,

No problem I've rolled it back for you. Thanks for letting me know.
by Benj
Tue Mar 16, 2021 12:32 am
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 6022

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hello,

Excellent that's great progress. I've now pushed another change to hopefully better work out the baud rate.

Let me know how you get on.