Search found 387 matches

by LeighM
Tue Mar 26, 2024 6:26 pm
Forum: Bug Reports
Topic: GPS not send LAT_LONG
Replies: 27
Views: 190

Re: GPS not send LAT_LONG

As chipfryer27 says, I would suspect the issues are due to weak received signal strength. Time reception does not require sight of multiple satellites, position does. Can you run the setup outside, or near a window?
by LeighM
Sun Mar 24, 2024 9:50 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 380

Re: RS485 example

output of the Tx terminal of the pic within Proteus, activity is seen but what the virtual terminal reads does not correspond to the values ​​that Flowcode is sending.
A baud rate issue?
Is the PIC clock setup ok?
by LeighM
Sat Mar 09, 2024 10:10 am
Forum: General
Topic: Any Pin Interrupt
Replies: 6
Views: 151

Re: Any Pin Interrupt

Use the Flowcode Interrupt icon
Add it once at the start of your main program.
It has properties where you set the input pin to be used, and the macro to call when the interrupt occurs.
by LeighM
Sat Feb 17, 2024 11:06 am
Forum: Bug Reports
Topic: STM32Fxxx wrong pins in FC10
Replies: 2
Views: 117

Re: STM32Fxxx wrong pins in FC10

Hi, The Flowcode STM32F development board targets have a board pin view for simplicity, e.g. for Arduino shields etc., rather than full chip view. (Table 5 for 32F746Discovery) If you need access to the full chip pins, then swap the Flowcode target from 32F446Nucleo64 to 32F446RE Unfortunately, 32F7...
by LeighM
Sat Feb 10, 2024 3:40 pm
Forum: Bug Reports
Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
Replies: 14
Views: 385

Re: Pi PICO No Hardware I2C on Channel 1 or Channel 2

Create a byte Buffer[8]
Call Transaction_Initialise (with the device address as a parameter)
Setup the Buffer data (Buffer[0] = register address, Buffer[1] = data)
Call Transaction_Write(Buffer, 2)
Are all other macros listed are redundant, other than any Transaction_xxx macros ?
For the Pico, yes
by LeighM
Sat Feb 10, 2024 1:27 pm
Forum: Bug Reports
Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
Replies: 14
Views: 385

Re: Pi PICO No Hardware I2C on Channel 1 or Channel 2

Hi, The issue is that on Pico (and other families, such as STM32, ESP32, Raspberry Pi) the I2C does not work at the low level "Start, Byte, Stop" (as it does on PIC etc) You need to use the Transaction API that use data buffers. ps. You can also use the Transaction API with PIC, the CAL does the low...
by LeighM
Fri Feb 09, 2024 5:14 pm
Forum: Bug Reports
Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
Replies: 14
Views: 385

Re: Pi PICO No Hardware I2C on Channel 1 or Channel 2

I sure have :D
I might get chance to dig one out over the weekend.
by LeighM
Fri Feb 09, 2024 10:15 am
Forum: Bug Reports
Topic: Pi PICO SPI and I2C pin options in components
Replies: 4
Views: 167

Re: Pi PICO SPI and I2C pin options in components

Good spot :D
Here's a couple of updates that the Matrix team can drop into the repo to save the good lads some time :D
Raspberry_Pi_Pico.fcdx
(41.01 KiB) Downloaded 13 times
Raspberry_Pi_RP2040.fcdx
(46.03 KiB) Downloaded 12 times
by LeighM
Sun Jan 28, 2024 10:56 am
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 2827

Re: STM32F401 UART

Hi Alan,
I think I've replicated your hardware UART RX interrupt issue,
so I've made some changes to the UART RX interrupt code.
Please could you try this with your earlier UART RX interrupt test ...
32F401RC.fcdx
(47.03 KiB) Downloaded 38 times
If this works for you, the Matrix team can validate and update the official versions.
by LeighM
Sat Jan 27, 2024 2:37 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 2827

Re: STM32F401 UART

OK. You will need to remove the previous UART RX interrupt icons.