TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 16 Apr 2020 20:31
terriblefire wrote: 08 Apr 2020 20:44 Got it.. needed to set these settings in ST Link Utility

settings.JPG
... weird I had those set up like this by default.
Did your board arrive?
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 16 Apr 2020 20:51
arkadiusz.makarenko wrote: 16 Apr 2020 20:31

... weird I had those set up like this by default.
Did your board arrive?
Yes, It did. I sent you PM.

I have issues with USB FS init config at the moment. HS seems to init all right.
I will have a look at this this weekend.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 16 Apr 2020 21:05
terriblefire wrote: 16 Apr 2020 20:51

Did your board arrive?
Yes, It did. I sent you PM.

I have issues with USB FS init config at the moment. HS seems to init all right.
I will have a look at this this weekend.
Thats great I couldn't get the board to boot very far.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 16 Apr 2020 21:12
arkadiusz.makarenko wrote: 16 Apr 2020 21:05

Yes, It did. I sent you PM.

I have issues with USB FS init config at the moment. HS seems to init all right.
I will have a look at this this weekend.
Thats great I couldn't get the board to boot very far.
I managed to configure clocks on this chip in a way that they allow booting to main.
Those at this point only for USB and arm itself, need to have a look what else needs to be set up.
Clock resolver not always do the great job unfortunately.

But still something is not 100% right.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 18 Apr 2020 20:21
terriblefire wrote: 16 Apr 2020 21:12

Thats great I couldn't get the board to boot very far.
I managed to configure clocks on this chip in a way that they allow booting to main.
Those at this point only for USB and arm itself, need to have a look what else needs to be set up.
Clock resolver not always do the great job unfortunately.

But still something is not 100% right.
Yeah even with the board on the bench, erased CPLD i still have an issue but i cannot say what, It cant be the rest of the circuit as there isnt anything attached.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

I managed to set up USB FS to a point when it can detect something, and then it goes to HardFault for no reason with freshly generated project.
Error is either undefined instruction or something else quite weird. Faults are not consistent either.
My bet would be on initial configuration of this chip, but can't exactly point what.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 18 Apr 2020 22:26 I managed to set up USB FS to a point when it can detect something, and then it goes to HardFault for no reason with freshly generated project.
Error is either undefined instruction or something else quite weird. Faults are not consistent either.
My bet would be on initial configuration of this chip, but can't exactly point what.
My bet would be power, clocks or config. I cant see what i could have screwed up on the circuit but i'm happy to fix anything we see is screwed. .
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 18 Apr 2020 22:37
arkadiusz.makarenko wrote: 18 Apr 2020 22:26 I managed to set up USB FS to a point when it can detect something, and then it goes to HardFault for no reason with freshly generated project.
Error is either undefined instruction or something else quite weird. Faults are not consistent either.
My bet would be on initial configuration of this chip, but can't exactly point what.
My bet would be power, clocks or config. I cant see what i could have screwed up on the circuit but i'm happy to fix anything we see is screwed. .
I can see the same issues on HID2AMI with f722, so circuit most likely is all right. I didn't install cpld, I am on bare boards just now.
I don't have oscilloscope, is everything all right with 8Mhz oscillator?

EDIT.
My MPU crashes on different points. Sometimes even get to HID descriptors, so very far in USB enumeration, and I can see that USB pipes are set. So it even managed to read some data from USB.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 18 Apr 2020 23:45 I can see the same issues on HID2AMI with f722, so circuit most likely is all right. I didn't install cpld, I am on bare boards just now.
I don't have oscilloscope, is everything all right with 8Mhz oscillator?
I honestly dont know. Do we need to change the crystal for something else? ANything in the docs?
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Worth noting...
Clock, reset and supply management
– 1.7 V to 3.6 V application supply and I/Os
– POR, PDR, PVD and BOR
– Dedicated USB power
– 4-to-26 MHz crystal oscillator
Internal 16 MHz factory-trimmed RC (1%
accuracy)

– 32 kHz oscillator for RTC with calibration
– Internal 32 kHz RC with calibration
Can you use the internal 16Mhz?
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."

Return to “TF CD32 Riser”

Who is online

Users browsing this forum: ClaudeBot and 1 guest