UART Build on P1025 Tower System

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART Build on P1025 Tower System

Jump to solution
7,590 Views
drs
Contributor II

I am putting together a build to use the UART on the TWR-P1025 Tower System Module. I am using freescale example code, but I am getting an error:

The build fails because the following is undefined:
__CCSRBAR

This is defined as extern in twrp1025.h.

Can anyone please help me to get this defined?

Labels (1)
1 Solution
7,138 Views
marius_grigoras
NXP Employee
NXP Employee

Hi David,

You'll need to update next files:

PA\PA_Support\Serial\Common\UART.h  -- here please add next line in UARTBaudRate enum struct:

kBaud768000 = 768000

And also replace in next file next value macro kBaud115200 with the one preconfigured above kBaud768000

More exactly this will be after update:

#define UART_CONSOLE_BAUD_RATEkBaud768000

PA\PA_Support\ewl\EWL_C\include\pa\uart_console_config.h

Now, will need to re-build your UART project and ewl libs.

For UART project just use the P1025TWR serial project presented above and just rebuild it.

For ewl libs please take a look in next chapter 22.3.3 How to Rebuild the EWL Libraries from PA\Help\PDF\Power Arch Build Tools Reference.pdf .

Please let me know any results,

Marius

View solution in original post

0 Kudos
Reply
21 Replies
283 Views
drs
Contributor II

I have to read in a serial data stream at a baud rate of 524288 (64k bytes per second). The engineer who is designing the hardware has suggested that I configure the baud rate to be 768000.

regards,

Dave

0 Kudos
Reply