HelplessGuy

Members
  • Content Count

    47
  • Joined

  • Last visited

About HelplessGuy

  • Rank
    Frequent Visitor

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi everyone, I want to do a new project and I am looking for the right evaluation board for this. Maybe you can give me an advice, which board. The requirements are: -ADC (2 simultaneous channels with 12 bit, 160kSpS) -FFT (in a PL with 16k values) -seriell bus -enough memory for saving more than 64k values with a length of u16 I think the requirements are not very high, but I do not know what kind of board I should prefer for this. Especially I guess, putting 16k values in a FFT is not that simple. Thanks for all advice! The HelplessGuy
  2. HelplessGuy

    FFT IP

    Hi, I found in Vivado 2018.3 the IP Block FFT. And I'd like to use that one. But it is not clear to me how. Is there a example existing, that I can check and play a little bit with it. greetings,
  3. HelplessGuy

    GPS Pmod

    Hi @jpeyron I did it the same way, but somehow the interrupt is not working.
  4. HelplessGuy

    GPS Pmod

    @jpeyron Thanks for your code. I tried it, but in my case it is not working. Can you maybe send me the hole project?
  5. HelplessGuy

    GPS Pmod

    Hi @D@n for me it seems, that the given functions from digilents pmodgps.h heather are doing already the right stuff that I only have to print the data out. There is a GPS.ping existing for doing the IMHO, but it also seems as if it is not working. greetings,
  6. HelplessGuy

    GPS Pmod

    Hi @D@n @jpeyron thanks for this. But I do not think, that the pointers are the problem at the moment. I think, that there is a mistake in the function. double test; test = GPS_GetTime(&GPSInst); printf("%f\n", test); I tested it also with this. And I also get the value 0.000 back. So we should forget the pointers at the moment and focus, why this function is not delivering any correct value.
  7. HelplessGuy

    GPS Pmod

    Hi @D@n @jpeyronI tested the same with creating a variable char test (without any pointers). I had the same problems. So I think, that there are some mistakes in the functions. Do you have any experiences about that, or working sdk code for reading the satelite time and using the latetude and longitude function
  8. HelplessGuy

    GPS Pmod

    Hi @jpeyron I have tested it without the *. This is not changing anything. Only thing that is happening, that I get a warning that the expected format is char* and not char. The hint of @D@nseems more correct. How is the way to implement this? I do not find any function for this in the PmodGPS.h file
  9. HelplessGuy

    GPS Pmod

    HI @D@n I added the line GPS_changeBaud(&GPSInst, 9600); in the init function but it is not changing anything. What should I change, that it es working? Greetings
  10. HelplessGuy

    GPS Pmod

    Hi @D@n Hi @jpeyron I am using the following code: #include <stdio.h> #include "xparameters.h" #include "sleep.h" #include "XGpio.h" #include "PmodGPS.h" #include "XUartLite.h" #define PERIPHERAL_CLK 100000000 //Clock definition for GPS #define BASEADDRESS_GPS 0x2000000 //from 0x2000000 to 0x3FFFFFF memory for received GPS data #define BASEADDRESS_TEST 0x4000000 //from 0x4000000 to 0x5FFFFFF memory for received GSM data PmodGPS GPSInst; XUartLite UARTInst; XGpio GPIOInst; uint gpssize = 0; char GPS_data[] = "<GPS did not get a ping>"; char* ptr_gps = (char*)(BASEADDRESS_GPS); double* ptr_test = (double*)(BASEADDRESS_TEST); void init(void); void Receive_GPS_Data(void); int main (void) { init(); Receive_GPS_Data(); } void init(void) { /* * Initialize GPS */ GPS_begin(&GPSInst, XPAR_PMODGPS_0_AXI_LITE_GPIO_BASEADDR, XPAR_PMODGPS_0_AXI_LITE_UART_BASEADDR, PERIPHERAL_CLK); GPS_setUpdateRate(&GPSInst, 1000); } void Receive_GPS_Data(void) { GPS_bool status; status = GPS_getSentence(&GPSInst, ptr_gps); if (status == 0) { printf("No Data received!\n"); //return; } printf("get Sentence: %s\n", *ptr_gps); //debug *ptr_test = GPS_getTime(&GPSInst); printf("Satelite Time: %f\n", *ptr_test); //debug printf("\n"); } The return I get is the flowing: So I receive data (you can see it that I do not enter the if) the problem is only, that there is no time. And that the char is looking strange! Hope for some help, greetings!
  11. HelplessGuy

    GPS Pmod

    Hi @jpeyron,all of your examples are using only the GPS_getSentence() function. I want to use now the GPS_GetTime(), GPS_GetLatitude() and the GPS_GetLongitude() functions. the problem is only, that these functions are not working, in the case that I use the following code: GPSPmod Inst; double time_of_gps; int main(void) { GPS_begin(&Inst, XPAR_PMODGPS_0_AXI_LITE_GPIO_BASEADDR, XPAR_PMODGPS_0_AXI_LITE_UART_BASEADDR, PERIPHERAL_CLK); GPS_setUpdateRate(&Inst, 1000); time_of_gps = GPS_GetTime(&Inst); return 0; } can you tell me why? and is there code existing, that is working? if I use the GPS_GetSentence() function parallel, this function is delivering a result
  12. HelplessGuy

    GPS Pmod

    Now it is working perfectly! Thanks a lot for all your help!! greetings,
  13. HelplessGuy

    GPS Pmod

    oke, sad. I was trying now your project (with my hardware design) because, the posted project of you is for zedboard and not for zybo. The posted project of you is also having an old IP block. But I also do not get any connection with your SDK code to GPS module
  14. HelplessGuy

    GPS Pmod

    Hi @jpeyron I will test it tomorrow, here in Germany it is 9.15pm. Are you able to run my project? Btw I use the Zybo Z7