Search found 67 matches

by Bruno
Fri Nov 11, 2022 8:13 pm
Forum: Flowcode V8
Topic: SPI module as a slave
Replies: 2
Views: 8200

Re: SPI module as a slave

Hi Benj Thank you for your support. I checked the frequency of the micro and it is correct: I try to put some delays between the data sending macros, as you suggested. Is there a better way to read the data than I did? I tried to make a connection between two micro in I2C, one as master and one as s...
by Bruno
Tue Nov 08, 2022 1:43 pm
Forum: Flowcode V8
Topic: SPI module as a slave
Replies: 2
Views: 8200

SPI module as a slave

Hello at all I have a question about PIC's spi module. I am using a pic18F46k22 with spi module in slave mode but I have synchronization problems with the bytes I send from the master. I have found an unorthodox way to synchronize received bytes, but sometimes this doesn't happen This is the first t...
by Bruno
Mon May 02, 2022 10:03 am
Forum: Flowcode V8
Topic: PIC18F25K42 problems with SPI
Replies: 7
Views: 12033

Re: PIC18F25K42 problems with SPI

Hi at all I think I have solved the problem of the "Standard" configuration of the SPI module of the Pic 18Fxx42 series, thanks also to Bachman's suggestion. The only problem is the configuration of the prescaler which has a different setting from the other PICs. I forced the default values that are...
by Bruno
Fri Apr 22, 2022 8:23 am
Forum: Flowcode V8
Topic: Configuration nRF24L01
Replies: 9
Views: 4700

Re: Configuration nRF24L01

Hello claudemir
I'm glad you are continuing with your project.
Changing the component consists only of correcting the indication of pipe 0.
good job

best regards
by Bruno
Thu Apr 21, 2022 7:32 am
Forum: Flowcode V8
Topic: PIC18F25K42 problems with SPI
Replies: 7
Views: 12033

Re: PIC18F25K42 problems with SPI

Hi Bachman
Thank you for your suggestion
I would like to understand if it is possible to integrate the C code in the PIC_CAL_SPI :D :D
best regards
by Bruno
Wed Apr 20, 2022 9:34 pm
Forum: Flowcode V8
Topic: PIC18F25K42 problems with SPI
Replies: 7
Views: 12033

Re: PIC18F25K42 problems with SPI

Thanks Martin
I visited the Microchip site, but the K80 series only has eight 12bit ADCs and I need sixteen ADCs.
The others, unfortunately, are not implemented in FC, such as Pic16F18456 or PIC18F25Q43
by Bruno
Wed Apr 20, 2022 3:51 pm
Forum: Flowcode V8
Topic: PIC18F25K42 problems with SPI
Replies: 7
Views: 12033

Re: PIC18F25K42 problems with SPI

Hi Martin
Thanks for your reply, although I was hoping you would give better news !!!! :( :(
I need fifteen 12bit ADCs and unfortunately there aren't many with these features.
For now, I'll use the software SPI, then I'll try to figure out how to configure the hardware

best regards
by Bruno
Wed Apr 20, 2022 1:42 pm
Forum: Flowcode V8
Topic: PIC18F25K42 problems with SPI
Replies: 7
Views: 12033

PIC18F25K42 problems with SPI

Hi at all I have a configuration problem with the SPI module of the PIC18F25K42 that I have chosen because it has the ADC with 12bit resolution. The SPI, if configured as a hardware module does not work and blocks the cycle, if configured as software it works well. I2C also has the same problems. Is...
by Bruno
Mon Mar 21, 2022 10:18 am
Forum: Flowcode V8
Topic: Configuration nRF24L01
Replies: 9
Views: 4700

Re: Configuration nRF24L01

Hello everybody As I said, I have done a test on the nRF24L01 module as a transceiver and I am attaching the files in case anyone is interested. I used two different pipes for transmitting and receiving, but I think the same one can be used for both transmitting and receiving. I am also attaching th...
by Bruno
Fri Mar 18, 2022 1:05 pm
Forum: Flowcode V8
Topic: Configuration nRF24L01
Replies: 9
Views: 4700

Re: Configuration nRF24L01

Hi claudemir I did a test to verify the correct functioning in bidirectional mode and, with the component I made myself, it works. The Problem is that for the bidirectional mode, you have to use two different pipes, one to transmit and one to receive. Unfortunately with the FC7 component, it does no...
by Bruno
Wed Mar 16, 2022 8:44 am
Forum: Flowcode V8
Topic: Configuration nRF24L01
Replies: 9
Views: 4700

Re: Configuration nRF24L01

Ciao claudemir Ti rispondo in lingua italiana così potrai tradurre facilmente con google. Io non ho mai usato il modulo in modalità bidirezionale, ma ho usato quattro moduli trasmettitori e uno ricevitore, credo però che basti settare il modulo in modalità TX per inviare dati e poi successivamente i...
by Bruno
Tue Mar 08, 2022 2:45 pm
Forum: Flowcode V8
Topic: Configuration nRF24L01
Replies: 9
Views: 4700

Re: Configuration nRF24L01

I forgot the photo ........... :D :D
by Bruno
Tue Mar 08, 2022 2:43 pm
Forum: Flowcode V8
Topic: Configuration nRF24L01
Replies: 9
Views: 4700

Re: Configuration nRF24L01

Hi at all
I think I have solved the problem of selecting the pipes.
I made a new component that allows you to do this.
I share it for those who have the same need as me.
I am also attaching an example, tx and rx mode and the photo I used as the component image.
Best regards.
by Bruno
Sun Feb 27, 2022 3:48 pm
Forum: Flowcode V8
Topic: Configuration nRF24L01
Replies: 9
Views: 4700

Configuration nRF24L01

Hi at all
In a new project, I need to use 4 nRF24L01 modules as transmitters and one as receiver.
Unfortunately in the FC8 component, there is no possibility to select the Pipe, (there are 6 of them)
How can I do? Who can help me?
Thank you very much
by Bruno
Mon Feb 14, 2022 2:37 pm
Forum: Flowcode V8
Topic: PIC16LF18426 does not work correctly
Replies: 6
Views: 3123

Re: PIC16LF18426 does not work correctly

OK, thank you
by Bruno
Mon Feb 14, 2022 12:41 pm
Forum: Flowcode V8
Topic: PIC16LF18426 does not work correctly
Replies: 6
Views: 3123

Re: PIC16LF18426 does not work correctly

Hi Martin I have tested your modification, and the interrupt problem is solved. On the other hand, as far as the ADC is concerned, it didn't work due to my configuration error, so I solved it. :oops: I have tested your CAL_ADC.c file and it is not working correctly. I point out that the micro in que...
by Bruno
Fri Feb 11, 2022 10:09 pm
Forum: Flowcode V8
Topic: PIC16LF18426 does not work correctly
Replies: 6
Views: 3123

Re: PIC16LF18426 does not work correctly

Hi Martin
Thank you for your help
Next Monday I'll take a test and let you know.
Have a nice week end
by Bruno
Fri Feb 11, 2022 12:36 pm
Forum: Flowcode V8
Topic: PIC16LF18426 does not work correctly
Replies: 6
Views: 3123

PIC16LF18426 does not work correctly

Hi Martin and everyone In one of my projects, I changed the micro for memory capacity problems: from PIC16LF18325 to PIC16LF18426. Unfortunately, the RXINT0 UART interrupt no longer works and even the ADC is not working The compiler gives me the following error: https://www.matrixtsl.com Avvio del c...
by Bruno
Tue Feb 08, 2022 1:50 pm
Forum: Flowcode V8
Topic: Problems with SPI on PIC18F26K40
Replies: 0
Views: 50582

Problems with SPI on PIC18F26K40

Hi everyone I had a problem with configuring the SPI of the micro PIC18F26K40. I used pins other than defaul's. FC8 gives the possibility to remap the pins but it probably does not configure the SSPxCLKPPS registry correctly. I think the problem also exists for I2C I added a C instruction as reporte...
by Bruno
Thu Feb 03, 2022 2:29 pm
Forum: Flowcode V8
Topic: Problems with BMP280
Replies: 4
Views: 2456

Re: Problems with BMP280

Hi Martin
I have updated the component, version 8 but, it gives me the message:
"not genuine".
However, the component works correctly
Thank you.
by Bruno
Thu Feb 03, 2022 12:07 pm
Forum: Flowcode V8
Topic: Problems with BMP280
Replies: 4
Views: 2456

Re: Problems with BMP280

Hi Martin
Thanks for your time

best regards
by Bruno
Thu Feb 03, 2022 10:18 am
Forum: Flowcode V8
Topic: Problems with BMP280
Replies: 4
Views: 2456

Problems with BMP280

Hi Benj and everyone I made a project with the BMP280 sensor and it works perfectly, but this morning I received the notification that a new version of the component was available. I downloaded it and restarted the program, but the sensor is no longer present among the components. I re-installed ver...
by Bruno
Wed Oct 06, 2021 9:36 pm
Forum: Flowcode V8
Topic: Remap Function
Replies: 3
Views: 4254

Re: Remap Function

Hi medelec
Thanks for your suggestion, I also had variable overflow problems,
in fact I used a Long variable, even though I wrote Int. :) :)

regards
by Bruno
Wed Oct 06, 2021 1:12 pm
Forum: Flowcode V8
Topic: Remap Function
Replies: 3
Views: 4254

Remap Function

Hello at all I usually use a macro to remap outputs of different types of sensors. I saw that a "Map function" component was created in FC9. I want to share this macro and the assembled component, for everyone who still has FC8 like me.. It works with both Int and float variables Suggestions for imp...
by Bruno
Fri Sep 10, 2021 11:53 am
Forum: User Components
Topic: New led string to play with. SK6812 - rgbw
Replies: 19
Views: 13401

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

Hi Benj
Great!!
thanks as always for your availability