Did your board arrive?arkadiusz.makarenko wrote: 16 Apr 2020 20:31... weird I had those set up like this by default.terriblefire wrote: 08 Apr 2020 20:44 Got it.. needed to set these settings in ST Link Utility
settings.JPG
TF CD32 Riser Revision 2 Design Complete
Moderators: terriblefire, Terriblefire Moderator
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
———
"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."
"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."
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
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
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
Thats great I couldn't get the board to boot very far.arkadiusz.makarenko wrote: 16 Apr 2020 21:05Yes, 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.
———
"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."
"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."
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
I managed to configure clocks on this chip in a way that they allow booting to main.terriblefire wrote: 16 Apr 2020 21:12Thats great I couldn't get the board to boot very far.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.
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
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
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.arkadiusz.makarenko wrote: 18 Apr 2020 20:21I 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.
———
"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."
"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."
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
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.
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
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
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. .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.
———
"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."
"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."
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
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.terriblefire wrote: 18 Apr 2020 22:37My 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. .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.
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
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
I honestly dont know. Do we need to change the crystal for something else? ANything in the docs?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?
———
"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."
"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

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
Worth noting...
Can you use the internal 16Mhz?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
———
"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."
"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."
Who is online
Users browsing this forum: ClaudeBot and 1 guest