jazz 209 Posted July 29, 2013 Share Posted July 29, 2013 My logic analyzer, based on MSP430F550x, conected to PC by USB, have sampling frequency (using DMA) MCLK/2 (24 MHz / 2 = 12 MHz). http://forum.43oh.com/topic/3909-msp430f550x-based-logic-analyzer/ I expect that much higher resolution is possible with Stellaris Launchpad. Quote Link to post Share on other sites
igor 163 Posted July 31, 2013 Share Posted July 31, 2013 The logic sniffer app says so. I did not change the code. I used the available window in the provided software. So you suggest that I should change the code. I'll look into it. I thought changing the sampling time will change the period. The inner loop has no built-in period adjustment - just a bunch of reads and writes in a tight loop. Would be easy to insert some delay. If you increase buffersize a lot will probably run out of RAM (only 32KB RAM). Quote Link to post Share on other sites
Pradeepa 1 Posted August 5, 2013 Share Posted August 5, 2013 My logic analyzer, based on MSP430F550x, conected to PC by USB, have sampling frequency (using DMA) MCLK/2 (24 MHz / 2 = 12 MHz). http://forum.43oh.com/topic/3909-msp430f550x-based-logic-analyzer/ I expect that much higher resolution is possible with Stellaris Launchpad. Resolution is not the biggest worry for me. But the capture time. What is the capture time of your design? Quote Link to post Share on other sites
Pradeepa 1 Posted August 5, 2013 Share Posted August 5, 2013 The inner loop has no built-in period adjustment - just a bunch of reads and writes in a tight loop. Would be easy to insert some delay. If you increase buffersize a lot will probably run out of RAM (only 32KB RAM). Thank you. I'll check that. Quote Link to post Share on other sites
jazz 209 Posted August 5, 2013 Share Posted August 5, 2013 Resolution is not the biggest worry for me. But the capture time. What is the capture time of your design? MSP430F550x is limited with 6 KB RAM (1 bit for 8 chanels -> 1 byte) Quote Link to post Share on other sites
agaelema 39 Posted September 22, 2013 Share Posted September 22, 2013 I'm trying to compile the code but I get these messages: - #20 identifier "GPIO_PA0_U0RX" is undefined - #20 identifier "GPIO_PA1_U0TX" is undefined I installed the StellarisWare, how do I fix this error? Quote Link to post Share on other sites
Lyon 3 Posted September 22, 2013 Share Posted September 22, 2013 Hi, In CCS, go to compiler's Predefined Symbols pane and add the followings: PART_TM4C123GH6PGE or the exact name of your part TARGET_IS_BLIZZARD_RA1 ccs="ccs" L. Quote Link to post Share on other sites
agaelema 39 Posted September 22, 2013 Share Posted September 22, 2013 I tried to fix the error but new errors appeared. In the CCS I followed this sequence: Project > Properties > CCS Build > ARM Compiler > Advanced Options > Predefined Symbols > Pre-Defined NAMES (insert here "PART_LM4F120H5QR"). This is right? I'm using the Stellaris Launchpad, not Tiva. The CCS Before the changes: The CCS After the changes: Thanks. Quote Link to post Share on other sites
Lyon 3 Posted September 22, 2013 Share Posted September 22, 2013 Hi, You need also to add this line at the beginning of the file: #include "driverlib/rom_map.h" This will allow you to call functions from ROM - also lowering the code size. Try this first and we will se for the remaining errors (stack) - try also to increase its size, but from CCS, not from linker or startup file (unfortunately there are three places to modify the stack...) L. Quote Link to post Share on other sites
agaelema 39 Posted September 22, 2013 Share Posted September 22, 2013 Hi @@Lyon, i tried to put the other include but nothing happens. The same errors. can you upload your project to me? Quote Link to post Share on other sites
agaelema 39 Posted September 23, 2013 Share Posted September 23, 2013 I tried solve the problem changing Stellarisware by Tivaware without put the "pre-defined name" The two initial errors was resolved, but appeared on new error: Description Resource Path Location Type #1965 cannot open source file "inc/lm4f120h5qr.h" main.c /sllogiclogger line 29 C/C++ Problem When I try exclude this "include" appear 90 new errors like: Description Resource Path Location Type #20 identifier "bool" is undefined main.c /sllogiclogger line 147, external location: C:\TivaWare_C_Series\driverlib\gpio.h C/C++ Problem Description Resource Path Location Type #20 identifier "int32_t" is undefined main.c /sllogiclogger line 151, external location: C:\TivaWare_C_Series\driverlib\gpio.h C/C++ Problem I'm having many problems to execute codes from internet that use the "Stellaris Ware" and "Tiva Ware". Quote Link to post Share on other sites
Bingo600 0 Posted September 23, 2013 Share Posted September 23, 2013 Did you try to include stdint.h I don't use CCS , but would expect it also have a stdint.h The net suggests to include stdbool.h , for the bool definition Both ought to be system defs meaning : #include <stdint.h> , and not #include "stdint.h" /Bingo Quote Link to post Share on other sites
agaelema 39 Posted September 23, 2013 Share Posted September 23, 2013 @@Bingo600, I tried this but not worked, the same error Quote Link to post Share on other sites
Bingo600 0 Posted September 24, 2013 Share Posted September 24, 2013 @agaelema Strange ... And you made sure that the includes i mentioned was included before the "Cpu include" /Bingo Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.