Search found 170 matches

by Lagoda
Tue Apr 27, 2021 10:00 am
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hello Everyone, I think this topic is dead. :cry: There seems to be no solution. :roll: The Product Support is currently focused on Flowcode 9. I would like to note that the WS2812 component macro in Flowcode 9 does not work with this MCU either. In the meantime, I managed to control the LED strip w...
by Lagoda
Wed Mar 24, 2021 3:45 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Ben, Looking again is your POSCMOD config setting correct? Yes, I checked it in with MPLAB X IDE. It might also be worth a sanity check to try halfing the speed in the project options and see if the 1s delays start being calculated correctly. I halved the clock in the project option window (49.15...
by Lagoda
Tue Mar 23, 2021 2:17 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Ben, The bacground debugger config option seems to have an invalid option in the config settings. Yes, this is the default setup of Bacground Debugger in Flowcode for PIC32MX370F512H MCU. I tried other setups of Bacground Debugger, but the original problem is same as before. What crystal frequenc...
by Lagoda
Mon Mar 22, 2021 5:49 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hello Ben,

I would like to know when you can fix it? :|

Lagoda
by Lagoda
Fri Mar 19, 2021 4:02 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Ben, I tried what you asked for. In custom mode, I set the following values and then programmed the MCU: LED_WS2811_Custom.png I measured the following values: T0H=1.14us, T0L=2.44us, T1H=1.55us, T1L=2.11us These measured results do not differ from the values measured with the WS2812B setting. :r...
by Lagoda
Thu Mar 18, 2021 2:34 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Ben,

How can I help make this component work as soon as possible?

Lagoda
by Lagoda
Wed Mar 17, 2021 12:21 am
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Re: Problem with the WS2812B component in PIC32MX370F512H MCU

Hello Ben, I am not using the interrupt currently. But I want to use it later. I attach two simple test programs with which I tested the Delay and Interrupt PIC32MX370_Delay_Test.fcfx and the LED row. PIC32MX370_WS2812B_test.fcfx In the first program, the interrupt timing is correct 2 ms, but the de...
by Lagoda
Tue Mar 16, 2021 8:49 pm
Forum: Bug Reports
Topic: Problem with the WS2812B component in PIC32MX370F512H MCU
Replies: 14
Views: 7028

Problem with the WS2812B component in PIC32MX370F512H MCU

Hi Ben, Unfortunately this component not working correctly. The timing of the bits does not appear to be correct. When I try to change the bit timing in custom mode, I can't set T1L and T0L shorter than 2us. (tested with oscilloscope) The system clock is 98.304 MHz.The periferial clock is same. If I...
by Lagoda
Tue Mar 16, 2021 8:29 am
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5531

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hello,

Sorry I made a mistake, the SCL now 370 kHz. :oops:
The previous SCL setting was good.
Sorry, once again.

Please reset the previous baud rate.
Thanks,
Lagoda
by Lagoda
Mon Mar 15, 2021 10:19 pm
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5531

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hello Ben!

Thank you very much for your help. :D
Both channels seem to work. I tested it with the "Cal I2C" component macro.
Master and Servant are talking to each other. I only checked with an oscilloscope.
The SCL frequency is 370 kHz. Can you set it to 400 kHz?

Best Regards,

Lagoda
by Lagoda
Wed Mar 03, 2021 9:13 pm
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5531

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hello Ben, That would be very good! :) The most important thing for me would be to be able to use the I2C peripherals of the PIC32MX370 MCU. I noticed that channel 2 is not initialized by the component macro. Something happens to channel 1 during initialization, but it can only send START. (I tested...
by Lagoda
Fri Feb 26, 2021 2:54 pm
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5531

Re: Problem with the I2C component in PIC32MX370F512H MCU

Addition to the previous ones: I also tested the I2C Master component with a PIC18F67K40 MCU, in this case only the software channel works too. I also tested the I2C Master component with a PIC24FJ1024GB610 MCU. In this case, the code cannot be compiled if you want to use hardware channel 3. Channel...
by Lagoda
Fri Feb 26, 2021 12:24 pm
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5531

Re: Problem with the I2C component in PIC32MX370F512H MCU

Hello Ben,

Thanks for the reply.
I may have misrepresented the problem.
The I2C internal peripheral does not work in the MCU.
But I tried what you suggested.
The situation has not improved.

Would you check again?
Lagoda
by Lagoda
Thu Feb 25, 2021 12:18 pm
Forum: Bug Reports
Topic: Problem with the I2C component in PIC32MX370F512H MCU
Replies: 11
Views: 5531

Problem with the I2C component in PIC32MX370F512H MCU

Hi, I would like to ask help because the I2C Master component not working with PIC32MX370F512H chip if I use the hardware channel setup. Nothing happen on the I2C signal ports. The software channel is working. ( I note the SCL signal 522 kHz instead of 400 kHz in this case. ) I tried the "I2C Master...
by Lagoda
Mon Apr 27, 2020 1:48 pm
Forum: Bug Reports
Topic: Bug in the "Find and Replace" command
Replies: 1
Views: 1435

Bug in the "Find and Replace" command

Dear Support, I think I found a bug: The "Find and replace" command it will only find a variable behind the decision icon if is in show state in the macro. (A minus sign appears next to the decision icon and the program details visible behind the decision icon ) When it is in the hide state (a plus ...
by Lagoda
Thu Mar 26, 2020 5:56 pm
Forum: Bug Reports
Topic: PIC24FJ64GA102 Remap pins
Replies: 3
Views: 2055

Re: PIC24FJ64GA102 Remap pins

Hi Ben,

Thank you very much for your quick help.
I wish you good health!

Best Regards,

Lagoda
by Lagoda
Thu Mar 26, 2020 3:48 pm
Forum: Bug Reports
Topic: PIC24FJ64GA102 Remap pins
Replies: 3
Views: 2055

PIC24FJ64GA102 Remap pins

Hello Ben,

I would like to use the UART of PIC24FJ64GA102 MCU.
But it is not possible to select Remap pins in the UART Properties window.
Would you be so kind to fix it.

Best Regards,

Lagoda
by Lagoda
Sun Mar 01, 2020 9:25 pm
Forum: Flowcode V8
Topic: Pic32mx230 slow spi clock
Replies: 17
Views: 7405

Re: Pic32mx230 slow spi clock

Hi Ben,

I also experienced this phenomenon.
I am using PIC32MX370F512H MCU.

Would it be possible to shorten the time between sent bytes of the SPI bus ?

Best Regards,

Lagoda
by Lagoda
Fri Oct 18, 2019 10:24 am
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue with rev a002 [Resolved].
Replies: 16
Views: 6595

Re: 18F27K40 Silicon issue.

Hi Martin,

Does your project file compiled into C language contain the TBLRD instruction?

I tested this silicone issue with a very simple program, because was a problem with string operations.
Unfortunately, I have little experience with this silicone bug.

Regards,

Lagoda
by Lagoda
Thu Oct 17, 2019 10:15 pm
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue with rev a002 [Resolved].
Replies: 16
Views: 6595

Re: 18F27K40 Silicon issue.

Hi Martin,

Could you try this C code at the start of the program

Code: Select all

asm ("BSF NVMCON1, 7");
Source:
viewtopic.php?f=76&t=20479
Have you tried it before?
I used this solution for PIC18F67K40 MCU and it worked for me.

Best Regards,

Lagoda
by Lagoda
Fri Oct 04, 2019 6:25 pm
Forum: Bug Reports
Topic: PIC18F67K40 UART "SendString" problem (SOLVED)
Replies: 7
Views: 4467

Re: PIC18F67K40 UART "SendString" problem (SOLVED)

Hi Stefan, Maybe you didn't mean MPLAB X? :) Sorry! With which software did you do the test? Looks very good. If you were thinking of a picture attached to the first post, it is the user interface of a TechTools DV518 Logic Analyzer. https://www.tech-tools.com/DV518-logic-analyzer.htm Regards, Lagoda
by Lagoda
Fri Oct 04, 2019 9:39 am
Forum: Bug Reports
Topic: PIC18F67K40 UART "SendString" problem (SOLVED)
Replies: 7
Views: 4467

Re: PIC18F67K40 UART "SendString" problem (SOLVED)

Hi Stefan, For register level debugging, I use MPLAB X IDE (v5.20) with PICKIT4 debugger. I use v1.45 from XC8 compiler because Flowcode8 also uses this by default. There is also a Clicker 2 with a PIC32MZ on 200Mhz. I also like this board. It would be nice if the card had an external power connecto...