> > The PIN registers are actually RD/WR registers, and not RD only as specified > in the documentation. If you write to the PIN register, it sets the pins, as > specified in the bits. i.e. if you write 0xFFFF0000 to a PIN register it will > set the top 16 GPIO pins high, and the bottom 16 low. > > Regards > Anton Erasmus > > [Rest Snipped] > -- > A J Erasmus Thanks for the informations, I have read this functions but the data sheet said is not a legal way of using: GPIO Pin Value Register (IOPIN - 0xE0028000) This register provides the value of the GPIO pins. This value reflects any outside world influence on the pins. Note: for test purposes, writing to this register stores the value in the output register, bypassing the need to use both the IOSET and IOCLR registers. This feature is of little or no use in an application because it is not possible to write to individual bytes in this register. Maybe I have an old version of LPC2106 data sheet. But as you write it would be a usefull thing to write this register not just read. Again back to the problem of RAM and Flash size: I think most of the developpers using LPC21xx devices also would like to use RTOS. Beacuse in most of the problems which requires an 32 bit uc there are paralel things to do, and therefore we need threads (In most of the cases, where there is no need of threads a simple 8bit controller with price under $4 could do the job). And if I need threads I would like to use a complex operating system like eCos not just a kernel. The main advantage of the comlex operating system that, I can add additional packages (with a mouse click) like standard C IO, or Math functions, TCP/IP stack, File system, ... , to my application, and do not need to write it. This way makes the development shorter and easyer ( even in the garage :-) ). And the source code also become much more hardware independent. For a good RTOS applications (probably with remote boot support) I would need a minimum of 128k Flash, and 64k of RAM, of course I would be very happy if I had 256/512k Flash and 64/128k RAM. I thing more memory is not required, because in that cases the developper should use external RAM/Flash and Linux, and WinCE. Balázs
Message
Re: LPC23xx ethernet
2005-03-17 by balazs_scherer
Attachments
- No local attachments were found for this message.