This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TM4C1290NCPDT:需要[SDK]支持

Guru**** 1839620 points
Other Parts Discussed in Thread: EK-TM4C1294XL
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1381436/tm4c1290ncpdt-sdk-support-need

器件型号:TM4C1290NCPDT
Thread 中讨论的其他器件:EK-TM4C1294XL

工具与软件:

嗨、团队:

 我的客户在一些 IND EE 项目中使用 TM4C1290、现在客户开始使用 A&T 测试工具来测试  TM4C1290。

 在检查 M4的 SDK 后、 是否有 TM4C1490的串行端口接收中断示例? SDK 中的两个示例都可以调用阻塞接收函数。

请在此处查看。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

     请参阅 C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\uart_echo 中的示例。 在本例中、接收端使用中断模式将数据回显到发送器。  

    //*****************************************************************************
    //
    // The UART interrupt handler.
    //
    //*****************************************************************************
    void
    UARTIntHandler(void)
    {
        uint32_t ui32Status;
    
        //
        // Get the interrrupt status.
        //
        ui32Status = MAP_UARTIntStatus(UART0_BASE, true);
    
        //
        // Clear the asserted interrupts.
        //
        MAP_UARTIntClear(UART0_BASE, ui32Status);
    
        //
        // Loop while there are characters in the receive FIFO.
        //
        while(MAP_UARTCharsAvail(UART0_BASE))
        {
            //
            // Read the next character from the UART and write it back to the UART.
            //
            MAP_UARTCharPutNonBlocking(UART0_BASE,
                                       MAP_UARTCharGetNonBlocking(UART0_BASE));
    
            //
            // Blink the LED to show a character transfer is occuring.
            //
            MAP_GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_0, GPIO_PIN_0);
    
            //
            // Delay for 1 millisecond.  Each SysCtlDelay is about 3 clocks.
            //
            SysCtlDelay(g_ui32SysClock / (1000 * 3));
    
            //
            // Turn off the LED
            //
            MAP_GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_0, 0);
        }
    }

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tsal:

     现在、我的客户还将  TM4C1290 用于两个 CAN 通信以进行内部 自检。 正在使用 CAN0和 CAN1、但报告以下错误。

    您能否帮助查看以下代码来帮助我们修复此错误?

     e2e.ti.com/.../test_5F00_can.c

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!   

      C:\ti\TivaWare_C_Series-2.2.0.295\examples\peripherals\can 中提供了 CAN 示例。 我建议客户从 simple_tx.c 作为网络上的一个 CAN 控制器、从 simple_rx.c 作为网络上的另一个控制器。 若要测试这些示例、必须构建 CAN 网络、这意味着在网络上使用适当的端接电阻器为每个 CAN 控制器实现了 CAN 收发器。