UART Build on P1025 Tower System

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART Build on P1025 Tower System

ソリューションへジャンプ
8,095件の閲覧回数
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?

ラベル(1)
1 解決策
7,643件の閲覧回数
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

元の投稿で解決策を見る

0 件の賞賛
返信
21 返答(返信)
298件の閲覧回数
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 件の賞賛
返信