Search found 619 matches

by stefan.erni
Wed Oct 28, 2020 8:58 am
Forum: User Components
Topic: w25q128 SPI memory
Replies: 6
Views: 86

Re: w25q128 SPI memory

Hi Martin

I only need a "single file". I have to add data for 7 days. Then I have to read all the data and clear the memory.
Only sometimes does the battery run out or I switch off the device. So I would have to save in the W25 where I have to continue writing data.

regards

Stefan
by stefan.erni
Tue Oct 27, 2020 9:27 am
Forum: User Components
Topic: w25q128 SPI memory
Replies: 6
Views: 86

Re: w25q128 SPI memory

Hi Martin Thank you for sharing. I thought about using this memory instead of the Sd card. With the SD card, FAT takes over the management of the related data and free space. But with this memory I have no idea where to read or write data. Is there a way to manage the memory like in FAT? regards Ste...
by stefan.erni
Mon Oct 26, 2020 10:15 am
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 98

Re: STM32F030 Timer component

Hi Dionyzoz


Yes it is from FC8. And there is an another error. This second error is just with the timer from your STM chip and not with my PIC32MZ timer.

regards

Stefan
by stefan.erni
Fri Oct 23, 2020 3:50 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 98

Re: STM32F030 Timer component

Hi Dionyzoz

Trie this parameter

regards

Stefan
counter.png
counter.png (26.65 KiB) Viewed 91 times
by stefan.erni
Fri Oct 23, 2020 9:43 am
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 19
Views: 139

Re: Fixed frequency timed output

Hi Bob

There is a very praktikel tool in flowcode to generate a signal

https://www.flowcode.co.uk/wiki/index.p ... ator_(DSP)

or if you need a signal on a pin you can use an interrupt for this.

If you explain more we, can help you more....

regards
Stefan
by stefan.erni
Thu Oct 22, 2020 10:54 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 236

Re: Please Help Me!!(PIC18F47Q10_I2C)

ok sorry about the irq. I just saw now how it works.
by stefan.erni
Thu Oct 22, 2020 10:31 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 236

Re: Please Help Me!!(PIC18F47Q10_I2C)

I think you are correct with your channel1 and the pins Maybe there is config problem of the pic. Can you change to softwaremode for the I2C and have a look for the clocksignal with the oscilloscope? Can you also include a Pin or LED in the Irq and test with oscilloscope if there is always an Irq? A...
by stefan.erni
Thu Oct 22, 2020 8:59 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 236

Re: Please Help Me!!(PIC18F47Q10_I2C)

Hi Seokgi You need a clock to send and read I2C Check if the IRQ is working, Remove for a test the 100ms Delay or make a loop in the main for a simple clocktest. An with your oscilloscope, the pin is always hi (not low)? If you never have a clock we have to look at this DS40002043D-page 8 did you se...
by stefan.erni
Thu Oct 22, 2020 8:32 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 236

Re: Please Help Me!!(PIC18F47Q10_I2C)

Hi Seokgi

Is the counting ok in this way?
Do you have pullup resistor for the I2C bus?
With your oscilloscope did you see the clock and data you are sending?
regards
Stefan
Count.PNG
Count.PNG (24.36 KiB) Viewed 228 times
by stefan.erni
Wed Oct 21, 2020 2:40 pm
Forum: Flowcode V8
Topic: FC8 crash during project loading
Replies: 5
Views: 179

Re: FC8 crash during project loading

Hi Steve


To work in softwaremode give some problem in the windows with component with a display like the wii nunchuck.

The good thing is, with the new Nvidia Driver update from today 2020.10.21. Flowcode is working nice again in hardwaremode and on a second screen.

regards

Stefan
by stefan.erni
Wed Oct 21, 2020 9:24 am
Forum: 8-Bit PIC
Topic: ADC ground ref setting
Replies: 11
Views: 235

Re: ADC ground ref setting

Hi Jan

Some small PiC just have VDD and VSS, some big PiC have additional Analog power pin AVDD and AVSS

regards

Stefan
Pic-small.png
Pic-small.png (60.5 KiB) Viewed 118 times
Pic_Big.png
Pic_Big.png (266.53 KiB) Viewed 118 times
by stefan.erni
Wed Oct 21, 2020 8:52 am
Forum: 8-Bit PIC
Topic: ADC ground ref setting
Replies: 11
Views: 235

Re: ADC ground ref setting

Hi Jan Can you post a schema from the hardware? How did you connect the ADC input? The source for ADC input should be a low impedance. You also have to be careful with possible offset voltages. And can you test with about 2Volt on the input? Sometimes there is a surprise when the ADC does not run at...
by stefan.erni
Mon Oct 19, 2020 4:41 pm
Forum: Flowcode V8
Topic: Programming warnings & memory usage
Replies: 7
Views: 149

Re: Programming warnings & memory usage

Hi Ben

Half of the people cannot calculate percentages, that are more than 80%.

I suspect the calculation is wrong.
But you don't have much ram left, with one or two 16Bit more is the limit. A byte need 1Ramplace an integer need 2Ramplace.
Is a 16Pin PIC an option?

regards

Stefan
by stefan.erni
Mon Oct 19, 2020 11:32 am
Forum: Flowcode V8
Topic: Programming warnings & memory usage
Replies: 7
Views: 149

Re: Programming warnings & memory usage

Hi Ben

This PIC has very little ram maybe you can switch to one with 256 byte
Here a link to the 8pin 8bit PIC.

https://www.microchip.com/ParamChartSea ... nchID=1001

regards
stefan
PIC8.png
PIC8.png (112.69 KiB) Viewed 75 times
by stefan.erni
Mon Oct 19, 2020 11:14 am
Forum: Bug Reports
Topic: Empty #define statement
Replies: 4
Views: 40

Re: Empty #define statement

Hi Steve

Thanks a lot. It solved the compiling problem.

In one of my program I had also this panel and I never understand why there are pins, and for what are this pins? a component?

In the 2D panel or 3D panel there are no components. I deleted all......

regards

Stefan
st7789_panel.fcfx
(9.44 KiB) Not downloaded yet
by stefan.erni
Mon Oct 19, 2020 8:54 am
Forum: Bug Reports
Topic: Empty #define statement
Replies: 4
Views: 40

Re: Empty #define statement

Hi Martin

I deleted all your macros and all your code and changed the chip to a PIC, but still this error!
There is a strange thing (for me) What is this panel with Pins in your Program even I deleted all?

regards

Stefan
Panel.PNG
Panel.PNG (46.13 KiB) Viewed 36 times
by stefan.erni
Mon Oct 19, 2020 8:11 am
Forum: 8-Bit PIC
Topic: ADC ground ref setting
Replies: 11
Views: 235

Re: ADC ground ref setting

Hi Jan

I'm not sure if Flowcode supports the selection for the Vref negative (ground) pin for the ADC.
You must first initialize the converter with FC and then change the bit.

regards

Stefan
by stefan.erni
Mon Oct 19, 2020 7:27 am
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 154

Re: Bringing up a new chip 18f24k50 Having some problems.

Hi Chad

try this setting, so your PIC is running on 48Mhz and a note: there is a similar PIC 18F25k50 with more ram for the same price.

regards

Stefan
Config.png
Config.png (277.56 KiB) Viewed 138 times
by stefan.erni
Fri Oct 16, 2020 1:37 pm
Forum: Bug Reports
Topic: MPU9250 results are not stable
Replies: 5
Views: 186

Re: MPU9250 results are not stable

Hi Ben I connected your Interfaceboard to my hardware and read the temperatur from the MPU9250 . It is stable and correct all the time. With my board (PIC32MZ and MPU9250) is reading the temperatur not stable. With a demoboard PIC32MZ and a demoboard MPU9250 is reading the temperatur not stable. But...
by stefan.erni
Thu Oct 15, 2020 10:59 am
Forum: Bug Reports
Topic: MPU9250 results are not stable
Replies: 5
Views: 186

Re: MPU9250 results are not stable

Hi Ben I used the Interface Board from you. That is a great help. With the csv writer it's very comfortable to save data. https://www.matrixtsl.com/mmforums/viewtopic.php?f=26&t=22354 The result from the demoboard MPU9250 looks much better with your board. But it is still not perfect. I will now loo...
by stefan.erni
Thu Oct 15, 2020 9:10 am
Forum: Programming Tips & Tricks
Topic: Interface board for Flowcode V8 and above. Now added RTC
Replies: 32
Views: 1074

Re: Interface board for Flowcode V8 and above. Now added RTC

Hi Martin, Hi Ben Wonderful board! I used the example from the MPU9250 and connected a small demo board from the MPU9250 to the interface board and it worked right away. Now I want to connect my own hardware. I guess it's pretty easy. Is there a circuit diagram of the interface board? regards Stefan
by stefan.erni
Tue Oct 13, 2020 4:36 pm
Forum: 8-Bit PIC
Topic: ADC ground ref setting
Replies: 11
Views: 235

Re: ADC ground ref setting

Hi Jan

I guess you have to set the ADC Negative Voltage Reference Configuration bit to 1.

regards

Stefan
AD-refpin.PNG
AD-refpin.PNG (129.55 KiB) Viewed 224 times
AD-refpin2.PNG
AD-refpin2.PNG (245.24 KiB) Viewed 224 times
by stefan.erni
Fri Oct 02, 2020 1:09 pm
Forum: Flowcode V8
Topic: FC8 crash during project loading
Replies: 5
Views: 179

Re: FC8 crash during project loading

Hi Steve If I work with single monitor every thing is working fine. I can doc and undoc the 3d systempanel and 2D dashboard and put that anywhere on the screen. When I use second Monitor and move 3d systempanel or 2D dashboard on the second monitor it's crash. happens immediately or at the latest wh...
by stefan.erni
Fri Oct 02, 2020 10:04 am
Forum: Flowcode V8
Topic: FC8 crash during project loading
Replies: 5
Views: 179

Re: FC8 crash during project loading

Hi Ben

If I change graphics engine to software it's working again.

I had this problem on another computer a long time ago.

regards

Stefan
Problem_2020-10-02_10-57-45.png
Problem_2020-10-02_10-57-45.png (25 KiB) Viewed 176 times
by stefan.erni
Fri Oct 02, 2020 9:49 am
Forum: Flowcode V8
Topic: FC8 crash during project loading
Replies: 5
Views: 179

FC8 crash during project loading

Hi Ben Flowcode 8 was working fine for a long long time. This morning it crash. After stop the program with ctl-alt-del I can start it again. But if I load a flowcode project, it crash again. So I try to create a new project and after I choose a chip, it crash again I removed the FC8 and install it ...