This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I believe I've found a bug in the controlsuite API for the 2806x family. In <sw/drivers/clk/src/32b/f28x/f2806x/clk.h>, CLK_Osc2Src_e is defined as;
typedef enum
{
CLK_Osc2Src_Internal=(0 << 1), //!< Denotes an internal oscillator 2 source
CLK_Osc2Src_External=(1 << 1) //!< Denotes an external oscillator 2 source
} CLK_Osc2Src_e;
Which should be
typedef enum
{
CLK_Osc2Src_Internal=(1 << 1), //!< Denotes an internal oscillator 2 source
CLK_Osc2Src_External=(0 << 1) //!< Denotes an external oscillator 2 source
} CLK_Osc2Src_e;
For correct behavior (defined in pg. 79 in SPRUH18D).
Can anyone verify whether this is correct? Thanks!
Hi,
I didn't find any clk.h in controlSuite API for F2806x. All the clk.h are for F2802x. Can you mention the actual folder address?
Regards,
Gautam
I'm not completely sure which version of controlsuite I'm using (it's pretty recent though, at most a few weeks old). In my installation the include path is "sw/drivers/clk/src/32b/f28x/f2806x/clk.h". I'm using this in connection to a project with Insta-Spin FWIW.
Sorry mate, there's no such location in my controlSuite. Mine is the updated one too. Anyways, I won't be able to confirm your query but someone else would surely.
Regards,
Gautam
That's... Odd. Is it possible I'm mixing up controlsuite and motorware? (I have both installed)
Well, that explains that. I've updated the thread title accordingly. If anyone with Motorware would care to verify this it would be appreciated!
This does look like a bug. It's confusing because on clock 1 the are reversed, a 0 enables the internal....Let me make sure the UG is correct but I assume it is.
Thank You.
I will file this and it should get fixed for release _10.