I have recently discovered that the chip that I got with the Dev board is a lpc2138/01 and so it has a few extra features, namely fractional baudrate generators, and supposed Fast IO.
This seems to be a problem, i have successfully been able to get the fractional baudrate generator working, however I cant do the most trivial things with the IOs such as toggle an LED.
mwoo769:
This seems to be a problem, i have successfully been able to get the fractional baudrate generator working, however I cant do the most trivial things with the IOs such as toggle an LED.
Make sure you have set the System Control and Status Flag register (SCS) correctly to use FastIO. Refer to Ch. 4 ‘System Control Block’ in the User Manual for LPC213x. You may also need to check that the FastIO port mask (i.e. FIOxMASK) value is set correctly. Refer to Ch. 8 for details.