Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: roomtek

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,751

    I used Eagle for PCB design and then Fusion 360...

    I used Eagle for PCB design and then Fusion 360 for the 3d models
  2. Replies
    8
    Views
    1,751

    Interesting post. I think I read up on the...

    Interesting post. I think I read up on the MAX1551. I will post more in the technical support forum for any other issues. I will probably need something that can give me just 3.3v from the battery,...
  3. Replies
    8
    Views
    1,751

    Yes. Once I get some kind of certification from...

    Yes. Once I get some kind of certification from ibiquity, then I may be able to sell it as a whole product. The hardware and schematics will be open source

    I also plan to make a portable version...
  4. Replies
    8
    Views
    1,751

    [queued] Teensy Powered - HD Radio

    Hello,

    I am working on an almost complete digital radio (HD Radio). I have the hardware design already completed, but now working on the HD radio functionality aspect of the project. As you may or...
  5. There may not be any conflicts. I was just...

    There may not be any conflicts. I was just assuming that you may want to use other pins on the ports C and D. if other peripherals work, then you are good to go.

    Let me know if you need any codes...
  6. You might want to do an orequal, since you are...

    You might want to do an orequal, since you are using other devices on the same ports



    uint16_t colour = 0xFFFF;
    GPIOC_PDOR |= colour & 0xFF; // set lower byte
    GPIOD_PDOR |= colour >> 8; ...
  7. Replies
    1
    Views
    402

    It depends on what SD library you are using. ...

    It depends on what SD library you are using.


    For SDFat library, i do this, to write the current date time upon WAV file creation:



    static void dateTime(uint16_t *date, uint16_t *time)...
  8. Replies
    16
    Views
    3,445

    You can interleave much simpler inline...

    You can interleave much simpler



    inline void mxLR(byte *dst, const int16_t *srcL, const int16_t *srcR)
    {
    byte cnt = 128;
    int16_t *d = (int16_t *)dst;
    const int16_t *l = srcL;...
  9. I dont have any benchmarks for 8bit vs 16bit, but...

    I dont have any benchmarks for 8bit vs 16bit, but I guess it would be like double the time for 16 bit in most cases.

    For 16 bit mode, the speedup is usually because we dont have to set the data...
  10. For 8 bit mode, you can use the port d 0-7. ...

    For 8 bit mode, you can use the port d 0-7.

    Depending on the COLMOD (RGB565 or RGB888) you want to use, you would just need to split up the bytes of data you wish to send, and toggle WR.


    ...
  11. I am using PWM to drive the LCD backlight: ...

    I am using PWM to drive the LCD backlight:




    #define __BACKLIGHTPIN 10

    uint8_t bacltpwm = 0;

    uint8_t S6D04D1::setBacklight(byte value)
  12. this is how I would initialize: void...

    this is how I would initialize:



    void S6D04D1::begin()
    {
    pinMode(__BACKLIGHTPIN, OUTPUT);
    setBacklight(0);
    PORTS_AS_GPIO();
    IO_OUTPUT();
  13. inline void LCDSettingTableWrite(struct...

    inline void LCDSettingTableWrite(struct setting_table *table)
    {
    LCD_Write_COM(table->command);
    if ((table->parameters) > 0)
    {
    for (int i = 0; i <...
  14. this is the settings table: #define...

    this is the settings table:




    #define S6D04D1_TFTWIDTH 240
    #define S6D04D1_TFTHEIGHT 432

    #define PWRCTL 0xF3
    #define VCMCTL 0xF4
  15. Replies
    9
    Views
    1,169

    OK. I am not getting 600 fps, but I am above 100...

    OK. I am not getting 600 fps, but I am above 100 fps for all screen draws. I am using a different display, in 16bit mode, so I set GPIO (I am using the whole PORT D for the data lines) once per...
  16. Replies
    9
    Views
    1,169

    Are you trying to achieve more than 600 fps on...

    Are you trying to achieve more than 600 fps on the lcd? I have had issues optimizing setting the IO and toggling WR too fast. It starts to corrupt the data that is sent, and I had to add some 'nop'...
  17. This is where i got mine LinkToPage...

    This is where i got mine LinkToPage

    It came with a adapter PCB, so I could wire it directly.

    I could share parts of the software, but I would not be releasing the whole project online.
  18. Recommending a Parallel Display for your next project

    Hi Folks,

    I would just want to recommend this display for any projects you might have upcoming. It is based on the S6D04D1 driver. and has a resolution of 432 x 200. The best part is that it is an...
  19. I do not get any clicks. Clicks happened for me...

    I do not get any clicks. Clicks happened for me when I was sending the wrong TX size. Without seeing your code, it is hard to tell...
  20. basically the teensy needs to tell the PC that it...

    basically the teensy needs to tell the PC that it has a larger packet size to send.

    These were my modifications:

    In usb_audio.cpp:


    unsigned int usb_audio_transmit_callback(void)
    {...
  21. Nice project. have you considered using an IPS...

    Nice project. have you considered using an IPS display for it? The viewing angles on that ILI9341 are really poor.
  22. Is the serial Monitor open? Only one application...

    Is the serial Monitor open? Only one application can access a COM port at a time. SO close any Arduino Serial monitor accessing the same com port
  23. Replies
    12
    Views
    1,828

    Maybe you need some AudioMemory(12); ...

    Maybe you need some



    AudioMemory(12);



    at the begining of setup()
  24. Replies
    5
    Views
    905

    Redundancy maybe. All 3.3v pins are all connected...

    Redundancy maybe. All 3.3v pins are all connected to each other, and not coming from separate voltage regulators.
  25. Thread: Whine Noise

    by roomtek
    Replies
    9
    Views
    1,054

    I also have a radio using a Teensy 3.6. I noticed...

    I also have a radio using a Teensy 3.6. I noticed that there is some EMI coming from the Teensy or the connecting wires at specific frequencies. Also, the frequencies where I get noise changes when I...
  26. Strangely, after I sent this comment, I do not...

    Strangely, after I sent this comment, I do not see the device appear anymore... So AudioOutputUSB may be broken.
  27. Yes. In fact after I get the callback, I set the...

    Yes. In fact after I get the callback, I set the new MCLK and set the new sample rate to my I2S Ics and the audio resumes on the PC:





    void audioformat_change() // change sample rate...
  28. 11805 works great now. I added my own callback,...

    11805
    works great now. I added my own callback, and now I get the changes in my code :D


    Thanks Again!!
  29. it wierd, but this is the culprit: if...

    it wierd, but this is the culprit:


    if ((tmp != 44100) || (tmp != 48000))
    return 0;


    I am not sure why it fails there, but the I printed the value of tmp: and see it changing:

    TEmp...
  30. Yes, I got the errors and added the defines. I...

    Yes, I got the errors and added the defines.

    I am checking the value in loop() but it never changes.


    if (sampling_frequency != usb_audio_sampling_frequency)
    {
    sampling_frequency =...
  31. THis is Awesome! I am about to test this right...

    THis is Awesome! I am about to test this right away.

    Quick question, in:


    int usb_audio_set_feature(void *stp, uint8_t *buf)
    {
    struct setup_struct setup = *((struct setup_struct *)stp);...
  32. Just for anyone curious, I now get perfect audio....

    Just for anyone curious, I now get perfect audio. These were my modifications:

    In usb_audio.cpp:


    unsigned int usb_audio_transmit_callback(void)
    {
    uint32_t avail, num, target = 48, offset,...
  33. Thanks a lot!!!!! Yes it seemed a little...

    Thanks a lot!!!!!

    Yes it seemed a little confusing... but finally I got it:

    in usb_desc.h


    #define AUDIO_TX_SIZE 180
    was changed to
  34. I did this: // Called from the USB interrupt...

    I did this:


    // Called from the USB interrupt when ready to transmit another
    // isochronous packet. If we place data into the transmit buffer,
    // the return is the number of bytes. Otherwise,...
  35. Raising this up again, because I am trying the...

    Raising this up again, because I am trying the same thing with USB audio. I have modified all the references to 44100 clock to 48000, and I have all of the audio library objects working at this new...
  36. Replies
    11
    Views
    1,062

    PCB - printed circuit board (The green thing the...

    PCB - printed circuit board (The green thing the Teensy pins are soldered to.)

    BGA - ball grid array. (The package which the Teensy 3.5's MK64 chip uses).
  37. Replies
    11
    Views
    1,062

    PTD10 does not exist on teensy. I had the same...

    PTD10 does not exist on teensy. I had the same issue, and ended up creating my own teensy PCB.
  38. Replies
    1
    Views
    580

    This page contains the following errors: error...

    This page contains the following errors:

    error on line 71 at column 41: xmlParseEntityRef: no name
    Below is a rendering of the page up to the first error.

    11412
  39. Replies
    1
    Views
    488

    Change Audio Device Configuration

    Hello,

    is it possible to change the USB Audio Device Name, so that is does not Appear as "Teensy" "Teensy MIDI/Audio", but as a custom name/id:

    I see that on STM32 MCU the fields can be defined...
  40. You can also consider the ili9481 displays I am...

    You can also consider the ili9481 displays I am able to control the display with a Teensy 3.5 in 16 bit mode at 65k colors(RGB565). with very fast screen updates.

    ...
  41. Replies
    0
    Views
    612

    Issues with ILI9341_t3DMA Library

    I have an issue using the ILI9341_t3DMA library with the Teensy 3.5. Sometimes after some minutes of working properly, the display rotates or flips.

    https://www.youtube.com/watch?v=_Gy7PHgmYq4
    ...
  42. Replies
    2
    Views
    798

    Thanks for the info!. It works as intended.

    Thanks for the info!. It works as intended.
  43. Replies
    2
    Views
    798

    Teensy 3.2 I2S BCLK true value.

    Hello,

    I am working on a radio project with the Teensy 3.2, and have successfully been able to connect my radio chip (Si4735) to the teensy via I2C and I am passing the audio to the Teensy via...
Results 1 to 43 of 43