Search found 2018 matches

by LeighM
Thu Dec 03, 2020 11:03 am
Forum: Flowcode V8
Topic: STM32F407ZG I2c ( software only)
Replies: 2
Views: 54

Re: STM32F407ZG I2c ( software only)

Please try the attached update file, and restart Flowcode, to go into ...
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM

Please note that STM hardware I2C will only work in "transaction" mode
Please use the I2C CAL component Transaction..() API
by LeighM
Thu Dec 03, 2020 10:40 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 35
Views: 2310

Re: ESP8266 as target chip

gLCD_SSD1306_i2c
I2C Channel 1
SDA PORTA.5
SCL PORTA.15
by LeighM
Tue Dec 01, 2020 12:58 pm
Forum: Flowcode V8
Topic: STM32F407ZG Uart ( Software Mode)
Replies: 6
Views: 85

Re: STM32F407ZG Uart ( Software Mode)

Could you please try the attached updated file,
to go into directory ...
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\STARM
Thanks
by LeighM
Tue Dec 01, 2020 9:16 am
Forum: Flowcode V8
Topic: STM32F407ZG Uart ( Software Mode)
Replies: 6
Views: 85

Re: STM32F407ZG Uart ( Software Mode)

Could you post your project fcfx file?
by LeighM
Mon Nov 30, 2020 2:33 pm
Forum: Bug Reports
Topic: Bug: round function causes compile error.
Replies: 17
Views: 1351

Re: Bug: round function causes compile error.

Thanks for the spot.
Please try the attached, to go into ...
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC32BIT
by LeighM
Mon Nov 30, 2020 1:12 pm
Forum: Bug Reports
Topic: Bug: round function causes compile error.
Replies: 17
Views: 1351

Re: Bug: round function causes compile error.

Looks like the updated PIC CAL file is now in the update system OK.
Can you check you are up to date?
If you still have an error could you please post a sample program demonstrating the issue that you have?
Thanks
by LeighM
Mon Nov 30, 2020 10:09 am
Forum: Flowcode V8
Topic: error code when programming
Replies: 6
Views: 274

Re: error code when programming

I think the issue is that you will need to use the Software I2C mode with this Gyro component.
by LeighM
Thu Nov 26, 2020 10:07 am
Forum: Flowcode V8
Topic: error code when programming
Replies: 6
Views: 274

Re: error code when programming

Might be worth starting with reading the temperature instead, that should give a more stable output.
Also, there is a "console debugger" component for Raspberry Pi, where you can print out values to a console display.
Just search for debug components to find it.
by LeighM
Tue Nov 24, 2020 10:23 am
Forum: Bug Reports
Topic: STM 32Nucleo
Replies: 22
Views: 273

Re: STM 32Nucleo

Hi Jorgen,
Thanks for your update.

Could you please try just printing something simple on the display, such as "1234567".
then take a photo in orientation 0 and 1
(I don't have one of these displays)

Hopefully we will get the FCDX changes to the auto-update system soon.

Thanks
Leigh
by LeighM
Mon Nov 23, 2020 12:00 pm
Forum: Bug Reports
Topic: STM 32Nucleo
Replies: 22
Views: 273

Re: STM 32Nucleo

Hi Jorgen,

If a previous version of the gLCD component worked OK for you,
could you try rolling back to that version via the update system?
let us know how that goes and it will help us to track down the issue ...

rollback.jpg
rollback.jpg (61.13 KiB) Viewed 216 times
by LeighM
Fri Nov 20, 2020 2:58 pm
Forum: Bug Reports
Topic: STM 32Nucleo
Replies: 22
Views: 273

Re: STM 32Nucleo

Problems with the ILI9341 gLCD?
Can you give more details? Perhaps a photo?
Can you check your SPI settings?
by LeighM
Thu Nov 19, 2020 6:01 pm
Forum: Bug Reports
Topic: STM 32Nucleo
Replies: 22
Views: 273

Re: STM 32Nucleo

Could you try dropping the attached file into
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARM
by LeighM
Thu Nov 19, 2020 10:30 am
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 138

Re: STM32F030F4 ADC conversion

You might have missed my edit to my last post ...
If you want to get max speed out of the device, change your PLL multiplier to x12 (config screen)
by LeighM
Thu Nov 19, 2020 10:13 am
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 138

Re: STM32F030F4 ADC conversion

Could you perhaps convert the Volt byte to a numeric string and output that via UART?
Just to check that it is the ADC that is giving the error, or not.

btw. If you want to get max speed out of the device, change your PLL multiplier to x12 (config screen)
by LeighM
Tue Nov 17, 2020 9:23 am
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 138

Re: STM32F030F4 ADC conversion

Could you also try removing the Enable/Disable from within the loop and use the single sample ...

Code: Select all

RawEnable()
while (1)
{
Volt = RawSampleByte()
SetDutyCycle(Volt)
Delay(100)
}
by LeighM
Fri Nov 13, 2020 10:50 am
Forum: Bug Reports
Topic: FLOWKIT 2
Replies: 7
Views: 204

Re: FLOWKIT 2

Hi David,
Thanks for letting us know.
Leigh
by LeighM
Fri Nov 13, 2020 10:14 am
Forum: Bug Reports
Topic: FLOWKIT 2
Replies: 7
Views: 204

Re: FLOWKIT 2

Hi,
Please try the attached FCD.
Drop this into directory C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARD
Restart Flowcode
Then change your project target to Arduino Uno R3 PDIP Flowkit
Regards,
Leigh
by LeighM
Thu Nov 12, 2020 4:36 pm
Forum: Bug Reports
Topic: FLOWKIT 2
Replies: 7
Views: 204

Re: FLOWKIT 2

Well spotted.
Default for clock should be D9 PB1, data should be D8 PB0.
I don't recall us changing these, but that's not what is in the FCDs.
Which particular Uno target are you using (R3, PDIP, SMD?)
I can then edit an FCD version for you to try.
by LeighM
Tue Nov 03, 2020 11:45 am
Forum: General Programming
Topic: compiler error message
Replies: 6
Views: 209

Re: compiler error message

Could you also post your project.msg.txt file?
Thanks
by LeighM
Mon Oct 26, 2020 4:48 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 265

Re: STM32F030 Timer component

Ah, sorry, didn't spot you are using V7
I think this component was done for V8
Not sure if this is available in V7
I will have a look and check with Ben
by LeighM
Mon Oct 26, 2020 10:34 am
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 265

Re: STM32F030 Timer component

Hi Dionyzoz
You need to use the STM32 Timer component ...
STM32TIMER.png
STM32TIMER.png (9.66 KiB) Viewed 239 times
by LeighM
Thu Oct 22, 2020 9:06 am
Forum: Flowcode V8
Topic: MQTT Basics and FC
Replies: 13
Views: 490

Re: MQTT Basics and FC

by LeighM
Wed Oct 21, 2020 8:00 am
Forum: Flowcode V8
Topic: error code when programming
Replies: 6
Views: 274

Re: error code when programming

Hi Pete,

Could you post/attach the project.msg.txt file?

Have you determined the IP address of the Raspberry Pi and entered this in the project settings dialog screen?
by LeighM
Tue Oct 20, 2020 4:43 pm
Forum: Flowcode V8
Topic: Button press interrupt
Replies: 5
Views: 261

Re: Button press interrupt

Also, the interrupt responds to a digital level change, so some of the voltage transitions might not trigger an interrupt