S32SD3.5 - Help needed to add uart component to "iseled_freemaster_s32k144" example

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

S32SD3.5 - Help needed to add uart component to "iseled_freemaster_s32k144" example

2,453件の閲覧回数
frankmuenzner7421
Contributor II


Hello NXP community family,

i need your help, its existentially for me - i didnt want to go in detail.

Yesterday i one of the blackes in my life, i had solved the project ( this project) bofore with S32DS Arm 2018 R1.
As new with S32DS it cost me much time to setup the tools and bring my program to work as expected.
I was really happy , but later at night my PC crashed with data loss. And as satresserd and stupi i was i have no backup.
Luckily i get one day before a new fresh Laptop.


So i installed S32DS 3.5 and must learn that the setup is totally different .

As i hade only 12 hours to get the complete setup running,
So if someone could help me to add an uart port to the "iseled_freemaster_s32k144" example. ( it need IseLed library installed )
Last time i lost 30 h because of nmisconfuration, ressouce conflicts and missunderstanding.

Time which i did'nt have as the project should be finished yesterday.


So if someone of the NXP community could help me it would help much.


It's necessary to get the uart functionality working on Mcu side in conjunction with IseLed library.

Background:
On the PC side is a Programm which control the program flow on mcu, the mcu run subfunctions for iseled tests and send the measured data
to the PC application for the dataprocessing and has the ability to save the measurements.
Sorry that i ask so much for support, i woulnt do it, buts existentially


Best regards,
Frank

4 返答(返信)

2,303件の閲覧回数
frankmuenzner7421
Contributor II

Many Thank you for your answer - in Project explorer i dont fid the components - can you send me plöease a screenshot. my screen loocks like this: 2023-08-13 18_43_01-S32K144Projekte - S32 Design Studio for S32 Platform.png

0 件の賞賛
返信

2,303件の閲覧回数
frankmuenzner7421
Contributor II
Sorry one addiotional question - could it be that you spoke about S32DS for Arm - no problem i have installed also...
0 件の賞賛
返信

2,313件の閲覧回数
ramprakash08
Contributor IV

I understand your situation and I'm here to help. To add a UART component to the 'iseled_freemaster_s32k144' example, you can follow these steps:

  1. Open the project in S32 Design Studio.
  2. Go to the 'Components' tab in the 'Project Explorer' window.
  3. Right-click on the 'Components' folder and select 'Add Component'.
  4. In the 'Component Library' window that opens, navigate to 'Drivers -> UART'.
  5. Select the UART driver and click 'OK'.
  6. The UART component should now be added to your project.

After adding the UART component, you will need to configure it. Here's how:

  1. Double-click on the UART component in the 'Components' tab to open its configuration window.
  2. Set the desired baud rate, data bits, parity, and stop bits according to your requirements.
  3. Click 'OK' to save the configuration.

Once the UART component is added and configured, you can use it in your code. Here's an example of how to send data using the UART:

 #include 'uart.h'
void send_data(uint8_t* data, uint32_t length) { UART_SendData(UART0, data, length); }

And here's how to receive data:

 #include 'uart.h'
void receive_data(uint8_t* buffer, uint32_t length) { UART_ReceiveData(UART0, buffer, length); }

I hope this helps. If you have any further questions, please don't hesitate to ask.

Best regards,

2,274件の閲覧回数
frankmuenzner7421
Contributor II

Sorry i didnt get data out - dont know why

could someone please look to project files?

 

0 件の賞賛
返信