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
Search found 654 matches
- Mon Oct 19, 2020 8:54 am
- Forum: Bug Reports
- Topic: Empty #define statement
- Replies: 4
- Views: 3403
- Mon Oct 19, 2020 8:11 am
- Forum: 8-Bit PIC
- Topic: ADC ground ref setting
- Replies: 11
- Views: 6465
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
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
- 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: 5482
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
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
- Fri Oct 16, 2020 1:37 pm
- Forum: Bug Reports
- Topic: MPU9250 results are not stable
- Replies: 5
- Views: 4085
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...
- Thu Oct 15, 2020 10:59 am
- Forum: Bug Reports
- Topic: MPU9250 results are not stable
- Replies: 5
- Views: 4085
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...
- Thu Oct 15, 2020 9:10 am
- Forum: Programming Tips & Tricks
- Topic: Interface board for Flowcode V8 and above. Now added RTC
- Replies: 33
- Views: 20545
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
- Tue Oct 13, 2020 4:36 pm
- Forum: 8-Bit PIC
- Topic: ADC ground ref setting
- Replies: 11
- Views: 6465
Re: ADC ground ref setting
Hi Jan
I guess you have to set the ADC Negative Voltage Reference Configuration bit to 1.
regards
Stefan
I guess you have to set the ADC Negative Voltage Reference Configuration bit to 1.
regards
Stefan
- Fri Oct 02, 2020 1:09 pm
- Forum: Flowcode V8
- Topic: FC8 crash during project loading
- Replies: 5
- Views: 2521
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...
- Fri Oct 02, 2020 10:04 am
- Forum: Flowcode V8
- Topic: FC8 crash during project loading
- Replies: 5
- Views: 2521
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
If I change graphics engine to software it's working again.
I had this problem on another computer a long time ago.
regards
Stefan
- Fri Oct 02, 2020 9:49 am
- Forum: Flowcode V8
- Topic: FC8 crash during project loading
- Replies: 5
- Views: 2521
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 ...
- Thu Oct 01, 2020 10:54 am
- Forum: Programming Tips & Tricks
- Topic: Interface board for Flowcode V8 and above. Now added RTC
- Replies: 33
- Views: 20545
Re: Interface board for Flowcode V8 and above
Hi Martin
Thats a good news thanks a lot.
I have placed an order.
one more little question.
Do you know the difference between:
Embedded Interface Board I2C SPI PWM ADC DAC Servo (WIFI Slave)
Embedded Interface Board I2C SPI UART PWM ADC DAC Servo (USB Slave)
regards
Stefan
Thats a good news thanks a lot.
I have placed an order.
one more little question.
Do you know the difference between:
Embedded Interface Board I2C SPI PWM ADC DAC Servo (WIFI Slave)
Embedded Interface Board I2C SPI UART PWM ADC DAC Servo (USB Slave)
regards
Stefan
- Mon Sep 28, 2020 4:38 pm
- Forum: Flowcode V8
- Topic: Uart!
- Replies: 15
- Views: 5512
Re: Uart!
Hi Jorgen, Hi Martin This "\r\n" is practicel to send to a terminalprogram. It makes you a new line. Most terminalprogram can also make a log file. So you will have there a new line too. With a little more character you can easy log an .CSV file. (a simple excelfile) There is an another way to send ...
- Thu Sep 24, 2020 9:53 am
- Forum: Flowcode V8
- Topic: Uart!
- Replies: 15
- Views: 5512
Re: Uart!
Hi Martin, Hi Jorgen For some command for the uart I add this "\r\n" on the end. So the terminalprogram shows a new line for each command. And the most terminalprogram add it automatic. In the receiving part of my FC progamm I used it for a control. To use the interrupt I choose the pin from the PIC...
- Mon Sep 21, 2020 9:24 am
- Forum: Flowcode V7
- Topic: Help with SLEEP and WAKE UP PIC16F648A
- Replies: 10
- Views: 7725
Re: Help with SLEEP and WAKE UP PIC16F648A
Hi Enrique Yes, after the PIC sleeps hi wake up on this place. I suspect your PIC is crashing because of the delay in the interrupt It's not a good idea to use a delay in an interrupt. Better do you something there like turn on a led for test( turn it off the before you let the PIC sleep) or just re...
- Fri Sep 18, 2020 9:07 am
- Forum: Flowcode V7
- Topic: CONNECT 2 SENSOR I2C_MASTER AT THE SAME PIC
- Replies: 6
- Views: 5645
Re: CONNECT 2 SENSOR I2C_MASTER AT THE SAME PIC
Hi electron You are on the right way. To choose a pic, there is an online tool. There you can select: 8Bit Pic and 3pcs i2c and you will not found even one. If you reduce to 2pcs i2C you will found a lot. or if you select: 16Bit and 3pcs i2c, you will found a lot There is a thing about the tool. It ...
- Mon Sep 14, 2020 3:37 pm
- Forum: User Components
- Topic: DFPlayer mp3 player
- Replies: 12
- Views: 6452
Re: DFPlayer mp3 player
Hi Martin
I found something about noise reduce for the DF player
regards
Stefan
Note: For simple use ,the upper diagram is ready,But if you find the noise is quite loud, then you could attach an 1K resistor to the TX pin
https://wiki.dfrobot.com/DFPlayer_Mini_ ... on_Diagram
I found something about noise reduce for the DF player
regards
Stefan
Note: For simple use ,the upper diagram is ready,But if you find the noise is quite loud, then you could attach an 1K resistor to the TX pin
https://wiki.dfrobot.com/DFPlayer_Mini_ ... on_Diagram
- Mon Sep 14, 2020 2:23 pm
- Forum: Flowcode V8
- Topic: Analog input not working on PIC32MZ2048ecg100
- Replies: 28
- Views: 14446
Re: Analog input not working on PIC32MZ2048ecg100
Hi Ben
Microchip stopped with the PIC32MZ ECG serie
Status: Not Recommended for new designs
The new one is the PIC32MZ EFx serie.
So changed the post to the new serie and new problem and solution
https://www.matrixtsl.com/mmforums/view ... 26#p102826
Microchip stopped with the PIC32MZ ECG serie
Status: Not Recommended for new designs
The new one is the PIC32MZ EFx serie.
So changed the post to the new serie and new problem and solution
https://www.matrixtsl.com/mmforums/view ... 26#p102826
- Mon Sep 14, 2020 2:16 pm
- Forum: Flowcode V8
- Topic: Analog input not working on PIC32MZ EFx Device
- Replies: 4
- Views: 2410
Re: Analog input not working on PIC32MZ EFx Device
Hi Ben You are right. It's possible to use the AN Input on an ADCDATA register. but... Not all AN are possible and it's not ADCDATA0 it's ADCDATA7. I trie to explain.. The Pic has 49 AN Pin (Analog Pin) and 6 ADC (Analog Digital Converter) ADC0...ADC4 are fix for AN0...AN4 with an alternate AN Input...
- Fri Sep 11, 2020 11:47 am
- Forum: Bug Reports
- Topic: MPU9250 results are not stable
- Replies: 5
- Views: 4085
Re: MPU9250 results are not stable
Hi Ben
One of the bad signal is the temparatur. it's jumping.
One of the bad signal is the temparatur. it's jumping.
- Wed Sep 09, 2020 3:26 pm
- Forum: Flowcode V8
- Topic: Analog input not working on PIC32MZ EFx Device
- Replies: 4
- Views: 2410
Re: Analog input not working on PIC32MZ EFx Device
Hi Ben The PIC is an PIC32MZ2048EFH100. I think AN0 - AN4 are connected to ADC0...ADC4 AN5 - AN44 are connected to ADC7 there is no ADC5 or ADC6 and I'm not sure if all the result can go to ADCDATA0 I wrote a c code for the ADC0...ADC4 converter and it's working for (AN0...AN4) but the for AN5 ...AN...
- Tue Sep 08, 2020 3:24 pm
- Forum: Flowcode V8
- Topic: Analog input not working on PIC32MZ EFx Device
- Replies: 4
- Views: 2410
Analog input not working on PIC32MZ EFx Device
Hi Ben In the PIC32MZ EF device are a lot of AD converter. The bad thing is if I read AN0,AN1,AN2 I have on all the tree converter just the signal from AN0 I had a look in the PIC32BIT_CAL_ADC.c and for me looks like there is a wrong line. iRetVal = ADCDATA0;// but the PIC32MZ EF has ADCDATA0 to ADC...
- Tue Sep 08, 2020 8:42 am
- Forum: Flowcode V8
- Topic: PIC24FJ256GA406 SPI Channel4 Different
- Replies: 2
- Views: 1446
Re: PIC24FJ256GA406 SPI Channel4 Different
Hi Seokgi
You can use the SPI in softwaremode. In this mode you can change the pin mosi and miso.
Can you post the schema of the hardware (part from the SPI) and maybe your software.
a little tip:
On the hardware, on a free place 4 whole to cross .....
regards
Stefan
You can use the SPI in softwaremode. In this mode you can change the pin mosi and miso.
Can you post the schema of the hardware (part from the SPI) and maybe your software.
a little tip:
On the hardware, on a free place 4 whole to cross .....
regards
Stefan
- Fri Sep 04, 2020 4:07 pm
- Forum: Flowcode V8
- Topic: I2C OLED Displaying Problem
- Replies: 5
- Views: 2160
Re: I2C OLED Displaying Problem
Hi Abhi
I'm not realy shure......
In the first calculation
try to Set set_length to 5
In the second calculation
remove /1023
Maybe it's changes something
regards
Stefan
I'm not realy shure......
In the first calculation
try to Set set_length to 5
In the second calculation
remove /1023
Maybe it's changes something
regards
Stefan
- Fri Sep 04, 2020 3:56 pm
- Forum: Flowcode V8
- Topic: Analog input not working on PIC32MZ2048ecg100
- Replies: 28
- Views: 14446
Re: Analog input not working on PIC32MZ2048ecg100
Hi Ben I changed the board. Now I'm using a PIC32MZ2048efh100 In the simulation all the 5 analog channel are working fine. In the hardware is just the AN0 working. The bad thing is that the value from AN0 is showing on all the 5Channel in the display. I suspect flowcode does not switch to the correc...
- Fri Sep 04, 2020 1:46 pm
- Forum: Bug Reports
- Topic: MPU9250 results are not stable
- Replies: 5
- Views: 4085
Re: MPU9250 results are not stable
Hi Ben I wrote a smal program to save all data from the MPU to an excel file (Temp;Accelerometer x,y,z; Compas x,y,z; Giro x,y,z) I get 100 value with the maximum X-axis (from the accelerometer) I turned the hardware and get 100 value with the maximum Y-axis I turned the hardware and get 100 value w...