Doubt FLOWCODE AVR
Moderator: Benj
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Doubt FLOWCODE AVR
Hello friends foristas like to know how I use for AVR the microcontroller AT89S51 or AT89S52,AT89S55,already that I have many here to spare and like to uses them,I know that there is no flowcode in support for this types of microcontrollers,however will have no fireworks for i uses it.
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
Do you have any fireworks that you can use to use this microcontrollers WITH FLOWCODE .someone can give me a suggestion?.Thank you all
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Doubt FLOWCODE AVR
Hello,
It looks like that chip has an 8051 core which probably requires a different C compiler than the one built into Flowcode.
I've double checked by looking through the available devices in the current AVR compiler and can't find any reference to those chips.
It looks like that chip has an 8051 core which probably requires a different C compiler than the one built into Flowcode.
I've double checked by looking through the available devices in the current AVR compiler and can't find any reference to those chips.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
Thank you Benj by answer me.is that here in the company we have many this types of microcontrollers atmel old and was thinking and used ,but as i surmised unfortunately will not give .I will try to implement with atmega 8
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
Ola Foristas friends I am using ATMEGA8515 and I would like to know if I can use it with an external eeprom TA24C04.is it possible to use it with feature of input sockets FLOWCODE I2C
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Doubt FLOWCODE AVR
Hello,
Yes the 24C04 looks like a standard I2C devices and should work just fine with the I2C Master component.
This blog topic may help to get you started.
http://www.matrixtsl.com/blog/simplifie ... c-and-spi/
Yes the 24C04 looks like a standard I2C devices and should work just fine with the I2C Master component.
This blog topic may help to get you started.
http://www.matrixtsl.com/blog/simplifie ... c-and-spi/
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
Hello Benj thank you for responding.My doubt in question is that this ATMEGA8515 he does not have this I2C already embedded in hardware.Will it work correctly.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Doubt FLOWCODE AVR
Hello,
The I2C master component has a software mode that should allow any device to output I2C master type signals. Simply set the Channel property to Software and then choose your pins for the SDA and SCL signals.
The I2C master component has a software mode that should allow any device to output I2C master type signals. Simply set the Channel property to Software and then choose your pins for the SDA and SCL signals.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
Thank Benj for their help ,i did the test here in proteus and it worked I2C correctly.
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
Hi Benj now i have another question,i am using ATMEGA8515 and when i use component of the keyboard I fake in flowcode always gives ok ,but when I fake the proteus error ,it seems that is a key fastened straight.For example if you tighten 1 key is activated.
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
When i use any microcontroller PIC works OK.Only the error with AVR microcontroller.
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
This is the diagram in the Proteus.i already replaced the resistors pull up 10k which is in column.Now I put in the lines and nothing worked.
- Attachments
-
- Capturar2.PNG
- (44.6 KiB) Downloaded 6887 times
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
I realized that always comes with a column always in level 0.
- Attachments
-
- testeavr.fcf_avr
- (11 KiB) Downloaded 406 times
-
- Posts: 150
- Joined: Mon Oct 15, 2012 5:19 pm
- Has thanked: 12 times
- Been thanked: 18 times
- Contact:
Re: Doubt FLOWCODE AVR
Hello to everyone after so insistently discovered that in fact the resistors have to be actually PULL LOW IN LINES.
Thanks living and learning
Thanks living and learning
- Attachments
-
- PULL LOW.PNG
- (9.14 KiB) Downloaded 6868 times