Thank you for providing more context. To display a bitmap image stored in an array using the IPU and LDB, you need to configure the IPU to read from the memory location where the array is stored. Here's a general outline of the steps you need to follow:
- Configure the LDB to display the output from the IPU.
- Set up the IPU input channel with the appropriate parameters (e.g., resolution, format) for your bitmap image.
- Configure the IPU to read from the memory location of your bitmap array.
- Trigger the IPU to start processing the image and send it to the LDB.
To answer your specific question, you need to configure the IPU's input channel buffer address registers to point to the memory location of your bitmap array. The exact register names and configuration details may vary depending on the IPU model and the embedded system you are working with. However, you can typically find the buffer address registers in the IPU's Channel Parameter Memory (CPMEM).
For example, if you are working with the i.MX6 IPU, you would configure the CPMEM's buffer address registers as follows:
// Assuming 'bitmap_array' is the name of your array containing the bitmap image uint32_t bitmap_array_address = (uint32_t)&bitmap_array;
// Configure the IPU's input channel buffer address registers IPU_CPMEM_SetBufferAddr(ipu_channel, IPU_INPUT_BUFFER, bitmap_array_address);
Please consult the reference manual or documentation for your specific IPU model and embedded system to find the exact register names and configuration details.
If you need further assistance or have more questions, please don't hesitate