Re: I am trying to log into my iCloud to download my information etc. when is asks for my previous devices passcode, it keeps telling me it’s incorrect when I know it’s the right code.
For access to iCloud:
Seems the best method is generally to enter the Apple (ID) Account log-in
(ie: generally an email address but in a few countries it can be a phone number)
and
the Apple (ID) Account password
and
obtain a verification code from a trusted computer or device (ie: one that is listed in the Apple (ID) Account.)
_____________________________________________
Re: "when is asks for my previous devices passcode,
it keeps telling me it’s incorrect when I know it’s the right code".
It is likely that putting in the smashed iPhone's passcode can no longer allow access to it's saved log-in details for iCloud. So it would seem to be "incorrect" for gaining access, even if it is the passcode that once worked.
______________
Re: Please help:
Ways to: Sign in and use iCloud.com - Apple Support
or
See what to do: If you can't connect or sign in to iCloud - Apple Support
If you have forgotten your Apple (ID) Login and forgotten the Apple (ID) password or can't get a verification code without that particular but "trusted" / smashed device:
(Eg: Scroll to: "If you have a new Apple device" in the article below:)
If you forgot your Apple Account password - Apple Support
or
More info: If you have difficulty getting a verification code:
See: Get a verification code and sign in with two-factor authentication - Apple Support
_________________________________________________________________________________________________
If all else fails:
See: How to use account recovery when you can’t reset your Apple Account password - Apple Support
___________________________________________________________
If needed: You can contact Apple Account Support or iCloud Support:
(There is a "Get Support" link (online chat, phone, eMail etc) at the bottom of their webpages (links below):
Apple Account - Official Apple Support or iCloud - Official Apple Support