Hello all,
I'm having a very frustrating issue:
Take one LaunchXL-RM42 and one HALCOGEN.
Create a default project in halcogen for this microcontroller and use the HET, for example. (http://processors.wiki.ti.com/images/2/26/Hercules_LaunchPad_Proj0.pdf should fit the bill)
What I discovered is that the real speed at which the microcontroller is running is 10 times smaller than the speed halcoged expects it to. ( one sets the led to blink at 1 second and it does at 10 seconds)
Halcogen expects 100MHz (16MHz external osc). The external oscillator on the hercules launchpad seems to be 16MHz , yet, using the defaults in hacogen, I get gibberish.
Initially I started with this: http://focus.ti.com/docs/training/catalog/events/event.jhtml?sku=OLT212021
I only get gibberish from the MCU ( I never even expected to actually have it do the loopback). I used a scope to see what was happening (what i got from the scope) and indeed, for a 115200 baud from halcogen, i got something closer to 9600 on the scope, but on top of that, the character I sent was not the same as the one i intended to send.( e.g. I tried to sent an 'a' using the MCU but on the scope it did not look even remote to an 'a' sent using a FT232 uart from a computer (bitwise). It was still an uart character, but not the same composition of ones and zeros (did not bother to identify them since it was pretty obvious it was sci-fi(not even reverted polarity))).
Did anyone get this sort of odd behavior? Is it a knows issue? Or did I mess up something regarding the clocks in HalCoGen and I forgot about it?
Is the Osc for the launchpad 16MHz?
Mine has T160=H74 written on it. I'm betting that it is not 1.6 MHz.
Did I stumble onto something, or am I the most unlucky MCU fan on this forum?