fsp icon indicating copy to clipboard operation
fsp copied to clipboard

RA2L invalid R_GPT0_GTCR_TPCS_Pos

Open alexrayne opened this issue 3 years ago • 1 comments

Hallow! work with FSP2.4.0 make project for ra2l chip found that renesas.h have : #define R_GPT0_GTCR_TPCS_Pos (23UL) /*!< TPCS (Bit 23) */ but documentation manual on chip notes that 26:24 TPCS[2:0] - lay on bit24

alexrayne avatar Apr 26 '21 09:04 alexrayne

The register definitions in renesas.h are a superset of all supported MCUs. This is done for scalability. The same r_gpt driver supports all existing RA MCUs. On some MCUs, such as RA6M4, TPCS starts at bit 23.

We understand this is not ideal for users working directly with the register definitions. We are working to improve this in the future.

kjassmann-renesas avatar Aug 09 '21 21:08 kjassmann-renesas

This issue has been resolved as of FSP v4.1.0.

renesas-austin-hansen avatar Dec 05 '22 14:12 renesas-austin-hansen