This new DRP driver reduces the overhead time between DRP-execution-end and next DRP-execution-start.
- Renesas RZ/A2M FreeRTOS software development kit
- Renesas e2studio
- RZ/A2M Evaluation Board: SEMB1402, SBEV-RZ/A2M, RZ/A2M Eva-Lite
- install Renesas e2studio
- inport program from Renesas RZ/A2M FreeRTOS software development kit
- update following files
directry: generate/sc_driver/r_drp/
inc/
r_dk2_if.h : add function ptorotypes to original file
src/
sf_drp.c : this new DRP driver
sf_drp.h : header
r_dk2_if.c : add functions to original file
drp_iodefine.h : modify macros to original file
r_dk2_core.c : same as original file
r_dk2_code.h : same as original file
APIs of this DRP driver:
sf_DK2_Initialize(void)
- Initialize ONLY this driver
- You should also call original R_DK2_Initialise().
int32_t sf_DK2_Load(pconfig, top_tiles, tile_pattern, pload, pint, &paid)
- Loads configuration data in DRP
- You should call this API instead of original R_DK2_Load().
- Arguments are same as original DRP driver API.
- The argument "pload"(callback function at DRP configuration completed)
- and "pint"(callback function at DRP execution completed) are ignored.
int32_t sf_DK2_Start2(id, &pparam, size, pint)
- Starts operation of circuit in DRP
- You should call this API instead of original R_DK2_Start().
- The Argument is different from the original API,
- "pint"(callback function at DRP execution completed) is added.
- The Argument of "sf_DK2_Start2" is different from the original API.
- You can still use original API "R_DK2_Active" and "R_DK2_Inactive" and "R_DK2_Start",
- and "R_DK2_Unload" are available for this new DRP driver's API.
"DRP Driver for RZ/A2M" is under MIT license.