Deductions & credits

Hi, I'm divorced and am on my ex-husband's family medical insurance. It's a HDHP and I'm interested in funding my own HSA. Can I do this? What's the maximum that I could contribute given that it's a family plan? I don't know if he contributes to his own HSA plan but would I need to split the contribution amount with him or could I contribute the maximum for a family (with a catch up as I'm older)? Thanks for any help on this.