Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[threadx] Timer interrupts on Cortex-R5
  • From: Jonathan Pallant <jonathan.pallant@xxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 23 Jul 2024 07:52:18 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ferrous-systems.com; dmarc=pass action=none header.from=ferrous-systems.com; dkim=pass header.d=ferrous-systems.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YcQ7c84O9ZFPFgXQDFUJbYQRSNQvpjJ/td/tCITMsO8=; b=JcS2cUpldu3YehFUzh3OzT46V0VomOH7GUow67aKqqBJ1/JSJRTzLLa+bRKVPxkNmpRdfYVGiTmrp3R5AYPXy/2fsGjgUtLXQU0ky+r7YoYC64ISYSkoshnieUWnuoqOSXSMCO2Az/JlIK8879s6IZ45Vs5Nq+wFgxASu5WNv5ss9bLdy+9xLn99qVyEpXMsK4Bhqv+vconRBzffegUUb1G4GKRNu1A1yqPH+oFfa3jhzxTP1qHtFyxGSHErJEgifsro4Cqf+YSWeWXUC6scK0w4Y45YeapZaTYZwg5lcPS5YUG183G2RF49zwwhSUybxb9HAVLPZmNaZm5DgThdOw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=h7lqcTER+1No6FplVeMhNlxX92TyR4UnaVjKGgAF8Qd6Jj7+/BKWw30gwRd7q1mx8jPTHQdE4z/CF5FsMSZ+Bql7uPSozOLCdjZlPWFen/8nYVMdZsjFkyJZHrEcbugQa947p/lK/Xn5zKwacjoD1dOh+pb4Efoy8OSpF4K240NJUNDNvs0MxaBaXgwPhOm3Fib8A3qnpUTrkAscKFp0DfrHM/QP+UQUyU6zSKf1PqgLVTpjoz/AFYsM9fikJ92A4SafJNjqB6FwmJG+tXkvyrqU2uYUEJHbvagr5T8DTLpGH14wnLkeTWW8c9aeidimJa9gto+LZPliZYn4uRnZfQ==
  • Delivered-to: threadx@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/threadx/>
  • List-help: <mailto:threadx-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/threadx>, <mailto:threadx-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/threadx>, <mailto:threadx-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHa3NRwWU7BmAkAdUm3jhYJra8xVQ==
  • Thread-topic: Timer interrupts on Cortex-R5

I am attempting to build a sample application that will run on Arm Cortex-R5, using ThreadX. I have modified the example application in 6.4.1 under ports/cortex_r5/gnu/example_build and I have it running in QEMU on a versatileab virtual machine.

 

However, when my tasks enter a sleep, they never return. Inspecting the  ‘_tx_initialize_low_level’ function provided with the example, it appears to say ‘/* Setup Timer for periodic interrupts */‘ and then not actually set up a timer. I wonder if this is because there is no default timer on Arm Cortex-R5 systems and it is instead a SoC specific choice – unlike on Arm Cortex-M.

 

Does anyone have an example of configuring a timer, such as the Arm SP804 dual-timer available on the Arm Versatile Application Board (which QEMU emulates)? Or a working example of ThreadX on a Cortex-R5 system?

 

Kind regards,

 

Jonathan

 

-- 

Jonathan Pallant
Senior Embedded Systems Engineer
t. 01480 460933

m. +49 151 2845 8745

Ferrous Systems UK Limited

201a Victoria St.
LONDON
SW1E 5NE

 

 

 


Back to the top