Part Number:MCU-PLUS-SDK-AM243X
Hi expert,
I am using Am243x and AM64x on my product,when I use Fast Serial Interface (FSI),I can`t find any case using it on rtos environment. my issue is how can I make two device work together at rtos environment.
1. I tested ,if run nortos code which include handshake code and then run rtos code using fsi, it work. but run rtos only ,fsi devices not work.
2. read all registers ,I found register 0x23500070( FSIRX0_RX_VIS_1 Register ) with value 0xf0 at well work case. but this register only show RX_CORE_STS bit (R) ,other bits isreserved. how can I let the register show 0xf0? handshake or other ways.
Nancy Wang:
请参考以下回复,在RTOS下应用与NORTOS是一样的。
The FreeRTOS handshake implementation is the same as the NORTOS one. Please check the fsi_loopback_interrupt.c in FSI example fsi_loopback_interrupt_am243x-evm_r5fss0-0_nortos_ti-arm-clang for FSI loopback (TX -> RX) implementation details. If you want use the same example with FreeRTOS, you can refer to the differences between main.c of empty_am243x-evm_r5fss0-0_nortos_ti-arm-clang and empty_am243x-evm_r5fss0-0_freertos_ti-arm-clang. Basically the only differences are the task creation and deletion: xTaskCreateStatic, vTaskStartScheduler and vTaskDelete.