cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring LTDC with TrustZone enabled

antonello-one
Visitor

Hello,

I'm trying to write an application with TrustZone enabled that uses the LTDC peripheral.

My application:

  • boots into secure world
  • configures the LTDC peripheral and its interrupt, as well as the relevant GPIO pins, as non-secure
  • switches to the non-secure world.

In the non-secure world, I configure the LTDC, passing a buffer placed in non-secure SRAM and start drawing. However, the screen stays black.

I'm able to access the LTDC registers from the non-secure world, so it seems that the permission settings for the MCU are correct. My guess is that for some reason the LTDC peripheral itself does not have permission to access the SRAM, am I missing some other settings?

0 REPLIES 0