Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - eduardovra

Pages: [1]
1
NXPTM M522XX, KINETIS and i.MX RT / GPIO Pins and Pull-ups in MCF52233
« on: April 11, 2008, 07:48:46 PM »
Hi All !

I'm working in a custom board that uses MCF52233 and I'm having trouble to use PORTTA as GPIO input pin.
Look to my code so you could give your opinion:

Code: [Select]
PTAPAR = 0x00;        // First I configure the port for GPIO Mode
DDRTA &=  0x00;        // Then I set the direction as input
MyVar = PORTIN_SETTA;     // So I try to read the pin state

Although it's disconnected electrically, the voltimeter always shows 0 volts in the pins, so I always read 0 from the port's register.
When I connect the 3.3 V supply directly to pins of the port, I can read high logic state from my code. I conclude there's a problem with the processor's pull-up resistors.
I've read the Processor's Reference Manual from Freescale and it says that all pins that are configured as GPIO have default enabled pull-up resistors internally, but it seems don't have.

Any tips ?

Best Regards

Eduardo

2
NXPTM M522XX, KINETIS and i.MX RT / Problems programing flash memory
« on: December 27, 2007, 06:29:28 PM »
Hi Mark
I have a M52233DEMO board and I've got some problems programing the flash memory of the microcontroler in the full mode (Bootloader + BareMin in the same file).
The curious is that it works if a burn them separate.
I'm using CW 5.7.0 for programing and I intend to use CFFlash in the future.

Any tips will be appreciated.

Regards

Eduardo

Pages: [1]