/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / CircleOS IRDA Lib

Username:     
Password:     
             

Forum

# 1   2007-10-19 09:41:47 CircleOS IRDA Lib

georgesimatec
New member
Registered: 2007-10-19
Posts: 2

CircleOS IRDA Lib

Hi,

It will be nice to have some CircleOS functions to use the serial port and the IRDA option.


                Best regards


                            Georges

Last edited by georgesimatec (2007-10-19 09:42:27)

Offline

 

# 2   2007-10-20 04:44:42 CircleOS IRDA Lib

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: CircleOS IRDA Lib

The problem is that IrDA device is NOT soldered on the standard CircleOS (the footprint is empty...).
Now, adding a new interface in the CircleOS is not complex: you can develop the two functions IRDA_Init() and IRDA_Handler(), and the linked IRDA_putchar/IRDA_getchar. If the code is not too big, Raisonance will add them to the OS.
At the moment, the overall code size of the CircleOS is around 22KB. We would prefer to stay under the 24KB limit. But the existing code could be reduced (some parts are useless, and others could be factorize).

Offline

 

# 3   2007-10-20 08:18:07 CircleOS IRDA Lib

georgestheking
New member
Registered: 2007-10-18
Posts: 5

Re: CircleOS IRDA Lib

Hi Francis,

I do not completly agree with you.

Basic function for sending and getting character is important.

But the principal meaning of IRDA is to exchange data between STM32 Primer.

So I am waiting also for something like :

configure_message()
send_message()
get_message()
Message_available()


                 Best regards

                           Georges

Last edited by georgestheking (2007-10-20 08:23:27)

Offline

 

# 4   2007-10-20 09:24:49 CircleOS IRDA Lib

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: CircleOS IRDA Lib

You are right... exchanging would be nice. We didn't solder the IRDA device to keep a low price, but it's probably a mistake.
I have in mind that -at least- an application could be used to exchange the other applications....
FYI, with the next release of the CircleOS (V1.6), it would be possible to redirect the IRQ to the applications. Therefore, the  communciation could be managed by interrupt.

Offline

 

# 5   2007-10-22 08:43:12 CircleOS IRDA Lib

georgestheking
New member
Registered: 2007-10-18
Posts: 5

Re: CircleOS IRDA Lib

Francis,

I am ready to let a few Kbyte of memory to circle OS to have a full communication library.

I am ready to let 32 K for circleOS to have a complete lib I will use for my application.

Communication is usefull for all application.


                     Georges

Offline

 

# 6   2007-10-22 09:28:16 CircleOS IRDA Lib

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: CircleOS IRDA Lib

Georges,

My idea would be to have a standalone application to manage the communication. Once the application launched, the communication would be available, even for other applicaitons. It requires the following:
1. The CircleOS should allow the redirection of the IRQ (ok for the V1.6),
2. The CircleOS should provide a minimal "memory allocator" (for the RAM). At the moment, 16KB are reserved fopr the current application, but it could be easily reduced to 12KB, and the CircleOS could manages the static allocation of 4KB (to be shared between the resident applications). I assume that a "resident application" would be a dynamically installable driver. 
At your side could you develop the "communication Application"?

Offline

 

# 7   2007-10-23 18:54:24 CircleOS IRDA Lib

georgestheking
New member
Registered: 2007-10-18
Posts: 5

Re: CircleOS IRDA Lib

Hi,

I am a beginner C programmer !!
So, I am not the right man to devellop Primer extension.

           Best regards


                      Georges

Offline

 

# 8   2007-11-26 11:07:49 CircleOS IRDA Lib

georgestheking
New member
Registered: 2007-10-18
Posts: 5

Re: CircleOS IRDA Lib

About the IRDA.

It will be great to have it as standard on the next revision of the STM32 Primer.

A way to echange program between two devices will be very nice.

A good way to boost the sales also.


                 Best regards


                           Georges

Offline

 

# 9   2007-11-26 12:37:39 CircleOS IRDA Lib

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: CircleOS IRDA Lib

I agree. The next Primer would have both the IrDA as standard, and a simple  "universal" interconnection connector (for CAN, I2C, etc...). Conclusion: it should be a little bit more expensive too.

Offline

 

# 10   2011-05-09 19:39:33 CircleOS IRDA Lib

Jarek
New member
Registered: 2011-03-22
Posts: 1

Re: CircleOS IRDA Lib

Hi All. I'm looking for some document about I2C functions (for example: Configuration_I2C(), Set_Tansmision_Speed(), Confirm_Connection(), Read_DATA(), etc.) for STM32 Primer2.
Is it  something like that?

Thank You for a help in advance.
Jaro

Offline

 

# 11   2011-05-10 08:19:40 CircleOS IRDA Lib

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: CircleOS IRDA Lib

Hi,

Take a look at this example, which uses I2C on extension connector to manage an external EEPROM :
http://www.stm32circle.com/projects/project.php?id=102

Offline

 

Board footer