nRF54L15 AAR unknown output DMA job list structure

I'm trying to use AAR peripheral, but I don't know the structure of output DMA job list, as it's not defined in the datasheet. I was trying to use one job pointing to flat buffer with different attributes, but I keep getting PrematureOutptrEnd error after triggering TASKS_START. Could you please provide a proper output job list structure for this peripheral?

Regards,

Michal

Parents
  • The data sheet indeed doesn't show how the structure of the job list should look like, but after a bit of trial and error after looking at how other peripherals' job lists look like, this structure seems to work:

    1. 32-bit pointer to a uint16_t array.

    2. 32-bit entry having the lower 24 bits set to the length of the array in bytes and the higher 8 bits set to 0x11.

    The OUT.PTR field should point to an array of these structures, ending with one item filled with zeros. Typically one struct item is sufficient, followed by the zeroed one.

    Both the array of structures as well as the 16-bit array must be placed in RAM.

Reply
  • The data sheet indeed doesn't show how the structure of the job list should look like, but after a bit of trial and error after looking at how other peripherals' job lists look like, this structure seems to work:

    1. 32-bit pointer to a uint16_t array.

    2. 32-bit entry having the lower 24 bits set to the length of the array in bytes and the higher 8 bits set to 0x11.

    The OUT.PTR field should point to an array of these structures, ending with one item filled with zeros. Typically one struct item is sufficient, followed by the zeroed one.

    Both the array of structures as well as the 16-bit array must be placed in RAM.

Children
No Data
Related