Search found 101 matches
- Sat Sep 01, 2018 9:15 am
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
Re: ECIO40P16 and AT24C32 eeprom
pull-ups is now added but no luck. still not working. I have GND on PIN 4 VCC on PIN 8 (5v) SCL on PIN 6 with pull-up resistor of 4.7k to 5v (to ECIO40P16 Port RB6) SDA on PIN 5 with pull-up resistor of 4.7k to 5v (to ECIO40P16 Port RB7) A0-A2 and WP are not connected. they should then be GND intern...
- Fri Aug 31, 2018 4:21 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
Re: ECIO40P16 and AT24C32 eeprom
I will try to add pull-up resistors on SDA and SCL this weekend and let's see if it helps
- Fri Aug 31, 2018 4:13 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
Re: ECIO40P16 and AT24C32 eeprom
Yes, I use B6 and B7 A0 A1 A2 and WP are not connected to GND because it is stated in the manual that they are If left unconnected, WP is internally pulled down to GND. And When the pins are not hardwired, the default A2, A1, and A0 are zero. But I Have not pull-up resistors on SDA and SCL. I can no...
- Fri Aug 31, 2018 1:38 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
Re: ECIO40P16 and AT24C32 eeprom
so what do I do now? I need help because the eeprom component does not work.
- Fri Aug 31, 2018 1:13 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
Re: ECIO40P16 and AT24C32 eeprom
Yes, I know about this but this does not help me anything Hi, The pin-out, and usable pins are shown in the Flowcode View->Chip window Information about ECIO40P16 can be found here ... http://www.matrixtsl.com/webshop/40-pin-dspic-33-ecio.html https://www.matrixtsl.com/resources/files/datasheets/ECI...
- Fri Aug 31, 2018 11:37 am
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
Re: ECIO40P16 and AT24C32 eeprom
According to the chip pinout on the dsPIC33EP256MU806 chip, PIN 31 and 33 is SDA2 and SCL2
and PIN 43 and 44 is ASDA1 and ASCL1
Which Pinout Ports are this on ECIO40P16?. I can not find them
http://ww1.microchip.com/downloads/en/D ... 70616g.pdf
and PIN 43 and 44 is ASDA1 and ASCL1
Which Pinout Ports are this on ECIO40P16?. I can not find them
http://ww1.microchip.com/downloads/en/D ... 70616g.pdf
- Fri Aug 31, 2018 11:12 am
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
Re: ECIO40P16 and AT24C32 eeprom
I have now updated the eeprom components with them from this post but it still does not work https://www.matrixtsl.com/mmforums/viewtopic.php?f=64&t=19707&p=86063&hilit=I2C+Spy#p86063 Remap is now gone and SDA and SCL can now be selected correctly Software mode is on but it still does not work. in t...
- Fri Aug 31, 2018 10:32 am
- Forum: Flowcode V7
- Topic: ECIO40P16 and AT24C32 eeprom
- Replies: 17
- Views: 10033
ECIO40P16 and AT24C32 eeprom
I can not make it read or write to external eeprom. Slight strange behavior on the ReMap selections in flowcode 7.3.0.5. When I put SDL and SCL Remap Pin, it does not change SDA and SCL. I have to put SDA and SCL to the correct Pin myself. but it does not work anyway This is not the case with other ...
- Thu Aug 30, 2018 1:18 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and Internal CAN truble
- Replies: 16
- Views: 9012
Re: ECIO40P16 and Internal CAN truble
Hi Benj, have you had time to look at it?
- Tue Aug 28, 2018 11:59 am
- Forum: Flowcode V7
- Topic: ECIO40P16 and Internal CAN truble
- Replies: 16
- Views: 9012
Re: ECIO40P16 and Internal CAN truble
More testing shows that it is Internal 2 that is not working.
If I only switch on Internal 1 and 2 from CAN1 and CAN2 then it's always internal 2 that does not work
If I only switch on Internal 1 and 2 from CAN1 and CAN2 then it's always internal 2 that does not work
- Tue Aug 28, 2018 11:53 am
- Forum: Flowcode V7
- Topic: ECIO40P16 and Internal CAN truble
- Replies: 16
- Views: 9012
Re: ECIO40P16 and Internal CAN truble
Thank you benj the c command worked well :-) C1CTRL1 = 0x0000; C2CTRL1 = 0x0000; It's not D7 and D6 that's the problem. It is CAN component. D7 and D6 work fine if I switch from CAN1 to CAN2 (Software only) just me who writes and explains a little wrong. I try again With this configuration, only CAN...
- Tue Aug 28, 2018 8:50 am
- Forum: Flowcode V7
- Topic: ECIO40P16 and Internal CAN truble
- Replies: 16
- Views: 9012
Re: ECIO40P16 and Internal CAN truble
another problem: When I set component can1 (internal-1) bus rate to 1000 it works ok on bus rate 500. but when i add can2 (internal-2) bus rate 1000, bus2 does not work properly. Yes it seems that it works at 500 rate but gives out the wrong data (I get ID 0 and DLC 0 and no data) When I switch the ...
- Mon Aug 27, 2018 2:47 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and Internal CAN truble
- Replies: 16
- Views: 9012
Re: ECIO40P16 and Internal CAN truble
I can confirm now this is the same problem as I have. But there is someone who can take the time to explain to me how I fix this I found this but do not know if it is the same. But could anyone explain this a little better. What file and what should I change? I need to go Bus Rate 500 Hi, Same as wi...
- Sun Aug 26, 2018 10:32 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and Internal CAN truble
- Replies: 16
- Views: 9012
Re: ECIO40P16 and Internal CAN truble
I found this but do not know if it is the same. But could anyone explain this a little better. What file and what should I change? I need to go Bus Rate 500 Hi, Same as with FC6, Using standard setting the CAN transmits at half the required speed. To make it work on the bench I changed Register CxCT...
- Sun Aug 26, 2018 9:44 pm
- Forum: Flowcode V7
- Topic: ECIO40P16 and Internal CAN truble
- Replies: 16
- Views: 9012
ECIO40P16 and Internal CAN truble
Hi, I need some help, I can not communicate with a TJA 1050 CAN Controller with internal CAN1 and CAN2 I'm used to using Arduino and external SPI module and it worked well but I want to try an ECIO40P16 because it has 2 Internal ECAN. I use the CAN (Internal, MCP2515) component in Flowcode 7 CAN1 TX...
- Mon Aug 06, 2018 8:50 pm
- Forum: Flowcode V7
- Topic: Can Flowcode 7 or 8 programs M2 from Macchina?
- Replies: 3
- Views: 2995
- Fri Aug 03, 2018 4:06 pm
- Forum: Flowcode V7
- Topic: Can Flowcode 7 or 8 programs M2 from Macchina?
- Replies: 3
- Views: 2995
Can Flowcode 7 or 8 programs M2 from Macchina?
Can Flowcode 7 or 8 programs M2 from Macchina?
https://www.cnx-software.com/2017/03/10 ... wdfunding/
https://www.cnx-software.com/2017/03/10 ... wdfunding/
- Mon Feb 26, 2018 1:06 pm
- Forum: General Programming
- Topic: CAN bus and SD card over the same SPI channel
- Replies: 3
- Views: 2979
Re: CAN bus and SD card over the same SPI channel
The hardware I use is: Arduino Mega 2560 R3 Can Module is MCP2515 and TJA1050, 20mhz and baud 500 Flowcode 7 I have never used an SD card reader before so this will be new to me, but I have ordered 20 pcs of this one https://www.ebay.com/itm/5-x-Micro-SD-SDHC-Card-TF-Card-Reader-Adapter-SPI-Driver-M...
- Fri Feb 23, 2018 8:27 pm
- Forum: General Programming
- Topic: CAN bus and SD card over the same SPI channel
- Replies: 3
- Views: 2979
Re: CAN bus and SD card over the same SPI channel
Is there nobody who knows anything about this?
- Wed Feb 21, 2018 10:31 pm
- Forum: General Programming
- Topic: CAN bus and SD card over the same SPI channel
- Replies: 3
- Views: 2979
CAN bus and SD card over the same SPI channel
Hi, I want a CAN bus card and an SD card reader on the same SPI bus. is this possible? I want to save about 32000 CAN messages in a file on an SD card and send them over the CAN bus. so it must be able to read the SD card and send the message one by one at the same time. So I will: read a message fr...
- Sat Jan 13, 2018 2:34 pm
- Forum: Feature requests
- Topic: Blynk Components
- Replies: 2
- Views: 5517
Blynk Components
It had been amazing with Blynk components in flowcode.
Is this something you plan or work on in the future?
http://www.blynk.cc/
Is this something you plan or work on in the future?
http://www.blynk.cc/
- Tue Mar 28, 2017 12:02 pm
- Forum: Flowcode V6
- Topic: Can I use this in Flowcode?
- Replies: 1
- Views: 3205
Can I use this in Flowcode?
I would like to expand with more inputs and found this.
http://mayhewlabs.com/products/arduino-mux-shield
Can I use this in Flowcode?
If not. is there are other options that do the same job and that works with Flowcode?
Thanks
Kenneth
http://mayhewlabs.com/products/arduino-mux-shield
Can I use this in Flowcode?
If not. is there are other options that do the same job and that works with Flowcode?
Thanks
Kenneth
- Thu Feb 09, 2017 12:02 am
- Forum: General Programming
- Topic: Is there someone who is good at calculation here?
- Replies: 2
- Views: 3409
Re: Is there someone who is good at calculation here?
Hi Martin sorry for some sent replies and I thank you for your suggestion. But this only works if you know RPM2.
I found a different way to solve it so my question is no longer relevant But thanks anyway
Kenneth
I found a different way to solve it so my question is no longer relevant But thanks anyway
Kenneth
- Thu Jan 19, 2017 3:22 pm
- Forum: General Programming
- Topic: Is there someone who is good at calculation here?
- Replies: 2
- Views: 3409
Is there someone who is good at calculation here?
jaja you do not have to be good. just a little better than me and it does not take much to be :-) I have a calculation I can not figure it out. RPM1 125 (byte) RPM2 15 (byte) RPM (Int) RPM = ((RPM1 * 160) + (RPM2 / 1.6)) - 20009 RPM is then 0 (0,375) How can I do this in reverse? if RPM is 0 how do ...
- Mon Dec 19, 2016 5:42 pm
- Forum: Flowcode V6
- Topic: Calculatino problems
- Replies: 3
- Views: 4052
Re: Calculatino problems
Thanks but I solved it by using Floating point and a str instead of Init
Var 1 = 1 (byte)
Var 2 = 144 (byte)
Var3 is Floating point
var4_str[4]
calculation is then:
Var3 = (Var2 / 400) + (Var1 * 100 * 400 * 0.0016)
Var4_str = FloatToString$ (Var3)
Then Var_str is 1.00 just as i want
Thanks
Var 1 = 1 (byte)
Var 2 = 144 (byte)
Var3 is Floating point
var4_str[4]
calculation is then:
Var3 = (Var2 / 400) + (Var1 * 100 * 400 * 0.0016)
Var4_str = FloatToString$ (Var3)
Then Var_str is 1.00 just as i want
Thanks